Skip to content

Commit cf24537

Browse files
committed
Secure name
1 parent 7d912ee commit cf24537

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
@@ -27,7 +27,7 @@ def atlas_jpg_from_mrc(instrument_name: str, visit_name: str, atlas_mrc: Path):
2727
core
2828
/ machine_config.processed_directory_name
2929
/ "atlas"
30-
/ f"{sample_id}_{atlas_mrc.stem}_fullres.jpg"
30+
/ secure_filename(f"{sample_id}_{atlas_mrc.stem}_fullres.jpg")
3131
)
3232
atlas_jpg_file.parent.mkdir(parents=True, exist_ok=True)
3333

0 commit comments

Comments
 (0)