-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use single pybids_inputs instead of two #104
base: main
Are you sure you want to change the base?
Conversation
Removes pybids_inputs_dwi. Having two was problematic since the pybids_inputs_dwi wasn't changeable from the CLI options.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! I was also able to get the dry test run working but I had to change the aparcaseg
input parameter in the mgz2nii
rule to point to the right location. However, I can't seem to test the wet run because it says permission denied when I try to write at the freesurfer's location.
interesting -- what data are you running it on? It would be good to have a small (single-subject) wet-run dataset to dig into that, perhaps could post an open access one to GIN? |
Hmm I was just using the dummy test data that is shipped along with scattr. I run the following command for the dry run:
where I had to change
to
For the wet run I couldn't find any suitable data from openneuro so I just tried the above command without the |
Ah I see, actually the --freesurfer_dir cli arg is meant for pointing to where the freesurfer subjects dir is, ie where freesurfer has been run on the subject(s), not the freesurfer software dependency (that's in the container). It also write files to the freesurfer folder when it runs the additional freesurfer thalamic subnuclei segmentation (since it runs atop freesurfer recon-all). But for the wet run you would need to have freesurfer already run, as well as the diffusion data preprocessed, and the T1w brain-masked. |
Removes pybids_inputs_dwi.
Having two was problematic since the pybids_inputs_dwi wasn't changeable from the CLI options.
Proposed changes
Find/replace:
pybids_inputs_dwi -> pybids_inputs
inputs_t1 -> inpts
inputs_dwi -> inputs
mask -> dwi_mask
So far only dry-run testing done, but that should be sufficient given the change.
Types of changes
What types of changes does your code introduce? Put an
x
in the boxes that applyChecklist
Put an
x
in the boxes that apply. You can also fill these out after creating the PR. If you are unsure about any of the choices, don't hesitate to ask!poe quality
taskNotes
All PRs will undergo the unit testing before being reviewed. You may be requested to explain or make additional changes before the PR is accepted.