Skip to content

Commit 3ad6d0d

Browse files
fix: align parameters in bids_batch_process for improved readability
1 parent 42d2e70 commit 3ad6d0d

1 file changed

Lines changed: 9 additions & 11 deletions

File tree

docs/source/usage_batch_conversion.rst

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -330,17 +330,15 @@ record, and the supplied ``processing_options``.
330330
"details": f"{projection} projection along Z; {z_slices} slices -> 1 slice"}
331331
332332
result = om.bids_batch_process(
333-
project_root="my_project",
334-
subject_prefix="ID",
335-
tag_folder_levels=[("TP",)],
336-
image_patterns=("*.ome.tif", "*.tif"),
337-
output_folder_name="omio_z_projection",
338-
output_suffix="_z_projected",
339-
process_func=z_projection_process,
340-
processing_options={
341-
"projection": "max"},
342-
save_options={
343-
"overwrite": False})
333+
project_root = "my_project",
334+
subject_prefix = "ID",
335+
tag_folder_levels = [("TP",)],
336+
image_patterns = ("*.ome.tif", "*.tif"),
337+
output_folder_name = "omio_z_projection",
338+
output_suffix = "_z_projected",
339+
process_func = z_projection_process,
340+
processing_options = {"projection": "max"},
341+
save_options = {"overwrite": False})
344342
345343
The custom processing callable should return either ``(image, metadata)`` or
346344
``(image, metadata, info)``. The optional ``info`` dictionary can add compact

0 commit comments

Comments
 (0)