Skip to content

Commit

Permalink
Merge pull request #204 from pni-lab/94-wrong-input_dir-in-example-sc…
Browse files Browse the repository at this point in the history
…ripts

Fix wrong input_dir specifications
  • Loading branch information
spisakt authored Jan 17, 2025
2 parents 8ad36f3 + 5904a9b commit ea7cdbf
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion examples/bet_bids_func_subworkflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def bet_wf(wf, **kwargs):

if __name__ == '__main__':
ROOT_DIR = os.path.dirname(os.getcwd())
input_dir = os.path.join(ROOT_DIR, 'data_in/bids') # path where the bids data is located
input_dir = os.path.join(ROOT_DIR, 'data_in/pumi-unittest') # path where the bids data is located
output_dir = os.path.join(ROOT_DIR,
'data_out') # path where the folder 'BET' will be created for the results of this script
working_dir = os.path.join(ROOT_DIR,
Expand Down
2 changes: 1 addition & 1 deletion examples/bet_bids_subworkflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

if __name__ == '__main__':
ROOT_DIR = os.path.dirname(os.getcwd())
input_dir = os.path.join(ROOT_DIR, 'data_in/bids') # path where the bids data is located
input_dir = os.path.join(ROOT_DIR, 'data_in/pumi-unittest') # path where the bids data is located
output_dir = os.path.join(ROOT_DIR,
'data_out') # path where the folder 'BET' will be created for the results of this script
working_dir = os.path.join(ROOT_DIR,
Expand Down
2 changes: 1 addition & 1 deletion examples/defacing_ex_bids.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

ROOT_DIR = os.path.dirname(os.getcwd())

input_dir = os.path.join(ROOT_DIR, 'data_in/bids') # path where the bids data is located
input_dir = os.path.join(ROOT_DIR, 'data_in/pumi-unittest') # path where the bids data is located
output_dir = os.path.join(ROOT_DIR,
'data_out') # path where the folder 'BET' will be created for the results of this script
working_dir = os.path.join(ROOT_DIR,
Expand Down
2 changes: 1 addition & 1 deletion examples/despiking_bids_ex.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

ROOT_DIR = os.path.dirname(os.getcwd())

input_dir = os.path.join(ROOT_DIR, 'data_in/bids') # path where the bids data is located
input_dir = os.path.join(ROOT_DIR, 'data_in/pumi-unittest') # path where the bids data is located
output_dir = os.path.join(ROOT_DIR,
'data_out') # path where the folder 'BET' will be created for the results of this script
working_dir = os.path.join(ROOT_DIR,
Expand Down
2 changes: 1 addition & 1 deletion examples/ex_bids_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from nipype import Function

# experiment specific parameters:
input_dir = 'data_in/bids' # place where the bids data is located
input_dir = 'data_in/pumi-unittest' # place where the bids data is located
output_dir = 'data_out' # place where the folder 'BET' will be created for the results of this script
working_dir = 'data_out' # place where the folder 'bet_iter_wf' will be created for the workflow

Expand Down
2 changes: 1 addition & 1 deletion examples/ex_compcor.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

ROOT_DIR = os.path.dirname(os.getcwd())

input_dir = os.path.join(ROOT_DIR, 'data_in/bids') # path where the bids data is located
input_dir = os.path.join(ROOT_DIR, 'data_in/pumi-unittest') # path where the bids data is located
output_dir = os.path.join(ROOT_DIR, 'data_out') # path for the folder with the results of this script
working_dir = os.path.join(ROOT_DIR, 'data_out') # path for the workflow folder

Expand Down
2 changes: 1 addition & 1 deletion examples/ex_func_proc.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

ROOT_DIR = os.path.dirname(os.getcwd())

input_dir = os.path.join(ROOT_DIR, 'data_in/bids') # path where the bids data is located
input_dir = os.path.join(ROOT_DIR, 'data_in/pumi-unittest') # path where the bids data is located
output_dir = os.path.join(ROOT_DIR, 'data_out') # path for the folder with the results of this script
working_dir = os.path.join(ROOT_DIR, 'data_out') # path for the workflow folder

Expand Down
2 changes: 1 addition & 1 deletion examples/ex_func_to_anat_bids.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

# experiment specific parameters:
ROOT_DIR = os.path.dirname(os.getcwd())
input_dir = os.path.join(ROOT_DIR, 'data_in/bids') # place where the bids data is located
input_dir = os.path.join(ROOT_DIR, 'data_in/pumi-unittest') # place where the bids data is located
output_dir = os.path.join(ROOT_DIR, 'data_out') # place where the folder will be created for the results of this script
working_dir = os.path.join(ROOT_DIR, 'data_out') # place where the folder will be created for the workflow

Expand Down
2 changes: 1 addition & 1 deletion examples/ex_tmpfilt.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

ROOT_DIR = os.path.dirname(os.getcwd())

input_dir = os.path.join(ROOT_DIR, 'data_in/bids') # path where the bids data is located
input_dir = os.path.join(ROOT_DIR, 'data_in/pumi-unittest') # path where the bids data is located
output_dir = os.path.join(ROOT_DIR, 'data_out') # path for the folder with the results of this script
working_dir = os.path.join(ROOT_DIR, 'data_out') # path for the workflow folder

Expand Down
2 changes: 1 addition & 1 deletion examples/rpn_preproc.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

ROOT_DIR = os.path.dirname(os.getcwd())

input_dir = os.path.join(ROOT_DIR, 'data_in/bids') # path where the bids data is located
input_dir = os.path.join(ROOT_DIR, 'data_in/pumi-unittest') # path where the bids data is located
output_dir = os.path.join(ROOT_DIR, 'data_out') # path for the folder with the results of this script
working_dir = os.path.join(ROOT_DIR, 'data_out') # path for the workflow folder

Expand Down

0 comments on commit ea7cdbf

Please sign in to comment.