|
8 | 8 | from bids import BIDSLayout, BIDSLayoutIndexer |
9 | 9 | import glob |
10 | 10 | from platform import system |
11 | | - |
12 | | -# import shutil |
| 11 | +from pathlib import Path |
13 | 12 | import subprocess |
14 | 13 | from typing import Union |
15 | | - |
16 | 14 | from nipype.interfaces.freesurfer import MRICoreg |
17 | 15 | from nipype.interfaces.io import DataSink |
18 | 16 | from nipype.interfaces.base.traits_extension import File as traits_extensionFile |
|
21 | 19 | from niworkflows.utils.bids import collect_data |
22 | 20 | from niworkflows.utils.bids import collect_participants |
23 | 21 | from niworkflows.utils.misc import check_valid_fs_license |
24 | | - |
25 | 22 | from petutils.petutils import collect_anat_and_pet |
26 | 23 | from importlib.metadata import version |
27 | 24 |
|
28 | | - |
29 | | -# Import local modules - handle both script and module execution |
30 | | -import sys |
31 | | -import os |
32 | | -from pathlib import Path |
33 | | - |
34 | 25 | # Determine if we're running as a script (including through debugger) |
35 | 26 | is_script = ( |
36 | 27 | __name__ == "__main__" |
@@ -346,7 +337,7 @@ def init_single_subject_wf( |
346 | 337 | :type bids_data: pathlib.Path, BIDSLayout] |
347 | 338 | :param output_dir: _description_, defaults to None |
348 | 339 | :type output_dir: pathlib.Path, optional |
349 | | - :param preview_pics: _description_, defaults to False |
| 340 | + :param preview_pics: _description_, defaults to False (soon to be deprecated) |
350 | 341 | :type preview_pics: bool, optional |
351 | 342 | :param anat_only: _description_, defaults to False |
352 | 343 | :type anat_only: bool, optional |
@@ -872,7 +863,7 @@ def __init__( |
872 | 863 | skip_bids_validator=False, |
873 | 864 | remove_existing=True, |
874 | 865 | placement="adjacent", |
875 | | - preview_pics=True, |
| 866 | + preview_pics=False, |
876 | 867 | participant_label_exclude=[], |
877 | 868 | session_label=[], |
878 | 869 | session_label_exclude=[], |
|
0 commit comments