Skip to content

Commit

Permalink
Merge pull request #45 from toastisme/tof_integrate_prf_guard
Browse files Browse the repository at this point in the history
Add guard to avoid writing prf intensities
  • Loading branch information
toastisme committed Mar 11, 2024
2 parents 9bb345d + 73fe405 commit 22fa15c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/dials/command_line/simple_tof_integrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,8 @@ def valid_intensity(intensity, variance):
)
)

if "intensity.prf.value" not in reflections:
return
with open("prf_" + filename, "w") as g:
for i in range(len(reflections)):
h, k, l = reflections["miller_index"][i]
Expand Down

0 comments on commit 22fa15c

Please sign in to comment.