Comments (10)
Thanks for reporting this. Is ${DistortionCorrectionFieldOutput}
the only case at the end of the script in this situation -- i.e., in which the imcp
is changing the name of the file, and the name of the desired NIFTI (without extension) conflicts with an existing directory name?
from hcppipelines.
Yes, sir, that's the only conflict.
I added ".nii.gz" to get things running again for a deadline, but I can submit a pull request with a more elegant fix later this week if that would be helpful.
from hcppipelines.
Well, Tim and I aren't big fans of the no extension FSL behavior anyway. It is perfectly fine to have Folders and files with the same name but different extensions...
from hcppipelines.
I would be inclined to use a convention of always specifying the file extension, even to FSL tools where it may not be necessary. It may also be a good idea for the pipelines setup script to set FSLOUTPUTTYPE to avoid possible surprises from oddball setups.
from hcppipelines.
I'm not a fan of that, as (1) it clutters up the code a lot, and (2) if someone wanted to use FSLOUTPUTTYPE to save as .nii rather than .nii.gz, why should we stop them?
from hcppipelines.
If someone changes the fsl output type, every wb_command using an fsl volume output will immediately break. Trying to support this in the HCP scripts would be a nightmare.
Specifying the real filename, and not just a part of it, is more obvious to me, isn't really much "clutter" at all, and apparently would have avoided this error.
from hcppipelines.
In case you aren't aware: there are only two options for FSL output type that workbench can currently read at all, .nii.gz and .nii - workbench does not support analyze or nifti pair (and there does not appear to be any good reason to add support). Workbench requires that you specify the whole filename (which includes the extension), so when the scripts say .nii.gz, but FSL generates .nii, you will get "file not found". Trying to support uncompressed .nii in the pipelines would not only massively waste disk space, but will further clutter the scripts by requiring something like ".$volext" on the end of every volume file that comes from fsl when used with wb_command, instead of ".nii.gz".
from hcppipelines.
I would be happy with .nii.gz only for the HCP Pipelines.
from hcppipelines.
The point is more that the pipelines currently only support .nii.gz for any internal volume files, so it would be good to make sure FSL doesn't produce something else during the pipelines.
I have some other edits in progress on the setup script in relation to something else, so I'll add this.
from hcppipelines.
Resolved with 8e53e15
from hcppipelines.
Related Issues (20)
- draw ROIs around vertices with MNI152 coordinates HOT 2
- typo in PreFreeSurfer HOT 1
- FSL imrm issues HOT 18
- Convert longitudinal FS to new I/O interface library HOT 4
- Bugs in PR 259 HOT 19
- PreFreeSurfer Batch script error HOT 8
- eddy_openmp is deprecated in FSL 6.0.6 HOT 1
- Post tICA Cleanup MIGP Failures HOT 18
- Question about empirical transmit field bias correction of T1w/T2w myelin maps HOT 7
- wildcard problem HOT 5
- ICAFixProcessing Batch error HOT 1
- MSM configuration file seems outdated! HOT 1
- Suggestion to actually change the TR in the fsf file HOT 1
- Question about standard_mesh_atlas HOT 1
- Some key value conflicting warning about the postfreesurfer HOT 3
- GE HeathCare B0 Fieldmaps processing HOT 30
- Yash Please Restore These Lines to their Original Paths HOT 2
- mris_apply_reg error: Option --lta unknown HOT 5
- Error running the GenericfMRIVolumeProcessingPipeline.sh script HOT 3
- Question for cortical surface atlas label HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hcppipelines.