We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c02c9da commit c0b7b6fCopy full SHA for c0b7b6f
src/murfey/server/feedback.py
@@ -1161,9 +1161,9 @@ def _resize_intial_model(
1161
env: Dict[str, str],
1162
) -> None:
1163
with mrcfile.open(input_path) as input_mrc:
1164
- input_size_x = input_mrc.nx
1165
- input_size_y = input_mrc.ny
1166
- input_size_z = input_mrc.nz
+ input_size_x = input_mrc.header.nx
+ input_size_y = input_mrc.header.ny
+ input_size_z = input_mrc.header.nz
1167
if executables.get("clip") and not input_size_x == input_size_y == input_size_z:
1168
# If the initial model is not a cube, do some padding
1169
clip_proc = subprocess.run(
0 commit comments