Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion modules/cifti_mesh_wf.nf
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ process ciftify{
-v !{params.bids}:/bids \
-v $(pwd):/output \
-v $(pwd)/work:/work \
-v $(pwd)/fmriprep:/fmriprep \
-v $(pwd)/freesurfer:/freesurfer \
Comment on lines +111 to +112
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
-v $(pwd)/fmriprep:/fmriprep \
-v $(pwd)/freesurfer:/freesurfer \

Your invocation file is probably mis-specified here if you need to bind to the root directory of the container!

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make sure that in ciftify that your fmriprep workdir is set to /output

-v !{params.license}:/license \
-v !{params.resources}:/resources \
!{params.ciftify_descriptor} $(pwd)/!{json} \
Expand Down Expand Up @@ -470,7 +472,7 @@ workflow cifti_meshing_wf {

mri2mesh(
fmriprep_anat_wf.out.preproc_t1.map { s, t1 ->
[ s, t1, try_fetch_t2("${params.bids}/${s}/**/*T2w.nii.gz") ]
[ s, t1, try_fetch_t2("${params.bids}/${s}/*/*/*T2w.nii.gz") ]
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok this one is strange cause I tested it w/the double star to recursively check directories. Mind if I test this real quick?

Only asking because I'd prefer ** since it removes dependencies on how the directory under subject is organized

})

// Full fmriprep/ciftify pipeline
Expand Down
2 changes: 1 addition & 1 deletion modules/transformation.nf
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ process format_for_ants {
import numpy as np

# Read in RAS, convert to LPS
coords = np.loadtxt('${coords}', delimiter=',')
coords = np.loadtxt('${coords}', delimiter=' ')
coords[0] = -coords[0]
coords[1] = -coords[1]

Expand Down