For segment_pnh relative -out paths lead to results in the wrong path
Closed this issue · 0 comments
FeHoff commented
segment_pnh -data inputs/BIDS_raw -out outputs -sub 001 -ses 001 -soft ANTS -params code/params_segment_macaque_ants.json -deriv -pad -nprocs 2
produces the following:
outputs/derivatives/macapype_orig_ants
└── [ 3] sub-001
└── [ 3] ses-001
└── [ 3] anat
└── [ 3] datasink
└── [ 3] outputs
└── [ 3] derivatives
└── [ 3] macapype_orig_ants
└── [ 3] sub-001
└── [ 3] ses-001
└── [ 10] anat
full paths get it right:
segment_pnh -data $(pwd)/inputs/BIDS_raw -out $(pwd)/outputs -sub 001 -ses 001 -soft ANTS -params code/params_segment_macaque_ants.json -deriv -pad -nprocs 2
outputs/derivatives/macapype_orig_ants
└── [ 3] sub-001
└── [ 3] ses-001
└── [ 10] anat
For portable setup of the computational environment, relative paths are essential.
Great tool, keep up the great work!