Skip to content

Commit 23fa206

Browse files
committed
Renames segmentation masks
1 parent 3ac0a40 commit 23fa206

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

bin/processes.nf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,13 +104,13 @@ process cellpose_segment{
104104
path(dapi_path)
105105

106106
output:
107-
path("$sample_name-cellpose-mask.tiff", emit: mask_image)
107+
path("$sample_name-cellpose_mask.tiff", emit: mask_image)
108108

109109
script:
110110
def use_gpu = workflow.profile.contains("gpu") ? "--gpu" : ""
111111
"""
112112
python3.8 -u $script_folder/cellpose_segmenter.py $dapi_path $model_name $probability \
113-
$diameter $sample_name-cellpose-mask.tiff $use_gpu > $sample_name-segmentation_log.txt 2>&1
113+
$diameter $sample_name-cellpose_mask.tiff $use_gpu > $sample_name-segmentation_log.txt 2>&1
114114
"""
115115
}
116116

@@ -138,12 +138,12 @@ process mesmer_segment{
138138
val(radius)
139139

140140
output:
141-
path("$sample_name-mesmer-mask.tiff", emit: mask_image)
141+
path("$sample_name-mesmer_mask.tiff", emit: mask_image)
142142

143143
script:
144144
"""
145145
python3.8 -u $script_folder/mesmer_segmenter.py $dapi_path \
146-
$sample_name-mesmer-mask.tiff --maxima_threshold $maxima_threshold\
146+
$sample_name-mesmer_mask.tiff --maxima_threshold $maxima_threshold\
147147
--maxima_smooth $maxima_smooth --interior_threshold $interior_threshold \
148148
--interior_smooth $interior_smooth --small_objects_threshold $small_objects_threshold \
149149
--fill_holes_threshold $fill_holes_threshold --radius $radius \

0 commit comments

Comments
 (0)