childmindresearch / niwrap

https://childmindresearch.github.io/niwrap/
9 stars 8 forks source link

3dcalc #176

Closed birajstha closed 1 week ago

birajstha commented 1 week ago

arranged the command line args and added prefix. Tested with CPAC generated command

3dcalc -a /ocean/projects/med220004p/bshresth/projects/rbc-runs/output2/working/pipeline_RBCv0/cpac_pipeline_RBCv0_sub-PA001_ses-V1W1/anat_reorient_0/sub-PA001_ses-V1W1_acq-MPR_rec-Norm_T1w_resample.nii.gz -b /ocean/projects/med220004p/bshresth/projects/rbc-runs/output2/working/pipeline_RBCv0/cpac_pipeline_RBCv0_sub-PA001_ses-V1W1/anat_skullstrip_ants/atropos_wf/copy_xform/09_relabel_wm_mask_xform.nii.gz -expr "a*step(b)" -prefix sub-PA001_ses-V1W1_acq-MPR_rec-Norm_T1w_resample_calc.nii.gz