@@ -38,7 +38,7 @@ def run(self, upload_only=False):
3838 f'--model={ model_path } ' ,
3939 '--ignore=/(.*desc-confounds_regressors.*)/' ,
4040 f'--derivatives={ str (self .bundle_dir .absolute ())} { str (self .preproc_dir .absolute ())} ' ,
41- f'--smoothing={ self .options ["--smoothing" ]} :Dataset ' ,
41+ f'--smoothing={ self .options ["--smoothing" ]} ' ,
4242 f'--estimator={ self .options ["--estimator" ]} ' ,
4343 f'--n-cpus={ self .options ["--n-cpus" ]} '
4444 ]
@@ -72,6 +72,7 @@ def run(self, upload_only=False):
7272 "https://github.com/neuroscout/neuroscout-cli/issues\n "
7373 "-------------------------------------------------------\n "
7474 )
75+ return retcode
7576
7677 if neurovault != 'disable' :
7778 model = json .load (open (model_path , 'r' ))
@@ -82,6 +83,7 @@ def run(self, upload_only=False):
8283 options = json .load ((out_dir / 'options.json' ).open ('r' ))
8384 estimator = options .get ('--estimator' )
8485 except :
86+ options = None
8587 print ("No saved options found skipping..." )
8688
8789 try :
@@ -118,8 +120,11 @@ def run(self, upload_only=False):
118120 fmriprep_version = fmriprep_version ,
119121 estimator = estimator ,
120122 cli_version = VERSION ,
123+ cli_args = options ,
121124 n_subjects = n_subjects )
122125
123126 # Drop files if no separate install dir, and the user has not said otherwise.
124127 if not self .install_dir and not no_drop :
125- drop (str (self .preproc_dir .absolute ()))
128+ drop (str (self .preproc_dir .absolute ()))
129+
130+ return retcode
0 commit comments