From a1fc03119f4d9bc305a7a80a495c3c99daa17274 Mon Sep 17 00:00:00 2001 From: PrinceWalnut Date: Tue, 17 Oct 2023 20:45:58 +0000 Subject: [PATCH] Commit formatting and linting fixes --- src/laue_dials/command_line/predict.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/laue_dials/command_line/predict.py b/src/laue_dials/command_line/predict.py index 0c502c5..49d3eca 100644 --- a/src/laue_dials/command_line/predict.py +++ b/src/laue_dials/command_line/predict.py @@ -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")