We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 356b8ab commit 29519b8Copy full SHA for 29519b8
1 file changed
src/murfey/server/feedback.py
@@ -1148,16 +1148,18 @@ def _resize_intial_model(
1148
logger.info(
1149
f"Initial model rescaling finished with code {comp_proc.returncode}"
1150
)
1151
+ if comp_proc.returncode:
1152
+ logger.error(
1153
+ f"Resizing initial model {input_path} failed"
1154
+ f"\n {comp_proc.stdout} \n {comp_proc.stderr}"
1155
+ )
1156
+ raise RuntimeError(f"Resizing initial model {input_path} failed")
1157
with mrcfile.open(output_path) as rescaled_mrc:
1158
rescaled_mrc.header.cella = (
1159
downscaled_pixel_size,
1160
1161
1162
- if comp_proc.returncode:
- logger.error(
- f"Resizing initial model {input_path} failed \n {comp_proc.stdout}"
- )
1163
return None
1164
1165
0 commit comments