Skip to content

Commit 9f45870

Browse files
committed
Forgot to remove suffix when generating job name
1 parent 5f40177 commit 9f45870

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/murfey/workflows/clem/process_raw_tiffs.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ def zocalo_cluster_request(
2424
):
2525
if messenger:
2626
# Construct path to session directory
27-
path_parts = list(tiff_list[0].parts)
27+
path_parts = list(
28+
(tiff_list[0].parent / (tiff_list[0].stem.split("--")[0])).parts
29+
)
2830
# Replace leading "/" in Unix paths
2931
path_parts[0] = "" if path_parts[0] == "/" else path_parts[0]
3032
try:

0 commit comments

Comments
 (0)