Skip to content

Commit 93537e0

Browse files
committed
Replaced 'mrcfile.read' with 'mrcfile.open'
1 parent fd3414d commit 93537e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/murfey/workflows/spa/atlas.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
def atlas_jpg_from_mrc(instrument_name: str, visit_name: str, atlas_mrc: Path):
1414
logger.debug(f"Starting workflow to create JPG image of atlas {atlas_mrc}")
15-
with mrcfile.read(atlas_mrc) as mrc:
15+
with mrcfile.open(atlas_mrc) as mrc:
1616
data = mrc.data
1717

1818
machine_config = get_machine_config(instrument_name=instrument_name)[

0 commit comments

Comments
 (0)