-
Notifications
You must be signed in to change notification settings - Fork 2
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
Issue with two censor files? #5
Comments
Any thoughts on this one? |
an issue of bad documentation! the " If I'm reading your example right, I think the files you have in
for the easiest call to tat2:
but you can do some regular expression magic to keep it the way it is:
That's untested but the idea is to replace the last
|
oh and to confuse things more, |
Hello LNCD friends,
I kept running into errors tat-ing when I used two censor files. Basically, it looks like "-censor_rel" wasn't recognizing my second 1D file as a censor.
Here's the basic syntax I'm using:
/home/jamielh/Volumes/Hanson/Resources/lncdtools-master/tat2 /home/jamielh/Volumes/Hanson/Internal_MRI_Projects/Duke_DNS/Neuroimaging/BIDS/${i}/rest1/epiWarped.nii.gz /home/jamielh/Volumes/Hanson/Internal_MRI_Projects/Duke_DNS/Neuroimaging/BIDS/${i}/rest2/epiWarped.nii.gz -mask_rel /home/jamielh/Volumes/Hanson/Internal_MRI_Projects/Duke_DNS/Neuroimaging/BIDS/derivatives/tat/${i}/${i}_3dAutomask.nii.gz -censor_rel /home/jamielh/Volumes/Hanson/Internal_MRI_Projects/Duke_DNS/Neuroimaging/BIDS/derivatives/tat/${i}/rest1_censor.1D /home/jamielh/Volumes/Hanson/Internal_MRI_Projects/Duke_DNS/Neuroimaging/BIDS/derivatives/tat/${i}/rest2_censor.1D -output ${i}_tat_rest_COMBINED.nii.gz
And then I get this error/output:
I tried to: 1) combine my two censor files (each 128 volumes) into one combined file, but then tat2 yells at me for that; 2) use -censor_rel twice (one after another); 3) move arguments around (putting -censor_rel right after the EPI/BOLD volumes)... but nothing looks to succeed.
Things are clearly getting "misaligned" as the second EPI file is being censor with the 1st censor file, and then the script thinks the 2nd censor file is a 3rd EPI volume (and then all goes to hell). BUT I can't seem to figure out if I'm putting the arguments incorrectly on the command line/script? I hunted for some extra/funny spaces between arguments (and that didn't seem to be it... though perhaps I missed them).
Other thoughts for troubleshooting? Any ideas are much appreciated!
Jamie.
The text was updated successfully, but these errors were encountered: