@@ -159,6 +159,21 @@ Two PNGs are produced: one with the mask overlay (``roimontage.png``) and
159159one without (``desc-{desc}nomask_roimontage.png``).
160160"""
161161 input :
162+ ** (
163+ {
164+ "spim_n4" : bids (
165+ root = work ,
166+ datatype = "seg" ,
167+ stain = "{stain}" ,
168+ level = str (config ["segmentation_level" ]),
169+ desc = "correctedn4" ,
170+ suffix = "SPIM.ome.zarr" ,
171+ ** inputs ["spim" ].wildcards ,
172+ )
173+ }
174+ if _use_n4_bg
175+ else {}
176+ ),
162177 spim = inputs ["spim" ].path ,
163178 mask = bids (
164179 root = root ,
@@ -184,19 +199,6 @@ one without (``desc-{desc}nomask_roimontage.png``).
184199 seg = "{seg}" ,
185200 suffix = "dseg.tsv" ,
186201 ),
187- * * {
188- "spim_n4" : bids (
189- root = work ,
190- datatype = "seg" ,
191- stain = "{stain}" ,
192- level = str (config ["segmentation_level" ]),
193- desc = "correctedn4" ,
194- suffix = "SPIM.ome.zarr" ,
195- ** inputs ["spim" ].wildcards ,
196- )
197- }
198- if _use_n4_bg
199- else {},
200202 output :
201203 png = bids (
202204 root = root ,
@@ -243,6 +245,21 @@ Two PNGs are produced: one with the mask overlay (``vesselroimontage.png``)
243245and one without (``desc-{desc}nomask_vesselroimontage.png``).
244246"""
245247 input :
248+ ** (
249+ {
250+ "spim_n4" : bids (
251+ root = work ,
252+ datatype = "seg" ,
253+ stain = "{stain}" ,
254+ level = str (config ["segmentation_level" ]),
255+ desc = "correctedn4" ,
256+ suffix = "SPIM.ome.zarr" ,
257+ ** inputs ["spim" ].wildcards ,
258+ )
259+ }
260+ if _use_n4_bg
261+ else {}
262+ ),
246263 spim = inputs ["spim" ].path ,
247264 mask = bids (
248265 root = root ,
@@ -268,19 +285,6 @@ and one without (``desc-{desc}nomask_vesselroimontage.png``).
268285 seg = "{seg}" ,
269286 suffix = "dseg.tsv" ,
270287 ),
271- * * {
272- "spim_n4" : bids (
273- root = work ,
274- datatype = "seg" ,
275- stain = "{stain}" ,
276- level = str (config ["segmentation_level" ]),
277- desc = "correctedn4" ,
278- suffix = "SPIM.ome.zarr" ,
279- ** inputs ["spim" ].wildcards ,
280- )
281- }
282- if _use_n4_bg
283- else {},
284288 output :
285289 png = bids (
286290 root = root ,
0 commit comments