Skip to content

Commit

Permalink
Merge branch 'main' of github.com:rs-station/laue-dials
Browse files Browse the repository at this point in the history
  • Loading branch information
PrinceWalnut committed Oct 18, 2023
2 parents 1005b4f + a1fc031 commit bfc99ae
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/laue_dials/command_line/predict.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,15 @@ def run(args=None, *, phil=working_phil):
for i in range(len(ids)): # Split DIALS objects into lists
expts_arr.append(ExperimentList([experiments[i]]))
refls_arr.append(reflections.select(reflections["id"] == ids[i]))
inputs = list(zip(repeat(params.wavelengths.lam_min), repeat(params.wavelengths.lam_max), repeat(params.reciprocal_grid.d_min), refls_arr, expts_arr))
inputs = list(
zip(
repeat(params.wavelengths.lam_min),
repeat(params.wavelengths.lam_max),
repeat(params.reciprocal_grid.d_min),
refls_arr,
expts_arr,
)
)

# Predict reflections
logger.info(f"Predicting reflections")
Expand Down

0 comments on commit bfc99ae

Please sign in to comment.