File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,6 @@ Command-Line Arguments
35
35
.. argparse ::
36
36
:ref: fmriprep.cli.parser._build_parser
37
37
:prog: fmriprep
38
- :nodefault:
39
38
:nodefaultconst:
40
39
41
40
@@ -45,7 +44,6 @@ The command-line interface of the docker wrapper
45
44
.. argparse ::
46
45
:ref: fmriprep_docker.__main__.get_parser
47
46
:prog: fmriprep-docker
48
- :nodefault:
49
47
:nodefaultconst:
50
48
51
49
Original file line number Diff line number Diff line change @@ -691,7 +691,6 @@ def _fallback_trt(value, parser):
691
691
'--work-dir' ,
692
692
action = 'store' ,
693
693
type = Path ,
694
- default = Path ('work' ).absolute (),
695
694
help = 'Path where intermediate results should be stored' ,
696
695
)
697
696
g_other .add_argument (
@@ -785,6 +784,9 @@ def parse_args(args=None, namespace=None):
785
784
config .execution .log_level = int (max (25 - 5 * opts .verbose_count , logging .DEBUG ))
786
785
config .from_dict (vars (opts ), init = ['nipype' ])
787
786
787
+ if config .execution .work_dir is None :
788
+ config .execution .work_dir = Path ('work' ).absolute ()
789
+
788
790
# Consistency checks
789
791
force_set = set (config .workflow .force )
790
792
ignore_set = set (config .workflow .ignore )
You can’t perform that action at this time.
0 commit comments