valosekj / bash_basics

Bundle of bash, python and matlab scripts and functions used in routine work
MIT License
2 stars 0 forks source link

Improve workflow with total readout time #1

Open valosekj opened 3 years ago

valosekj commented 3 years ago

Currently, total readout time (necessary for FSL's topup config file) is fetched in separate_b0_and_dwi from the .json metafile of the DWI image. Then it has to be manually passed as an input argument to the prepare_topup_file. The prepare_topup_file script works only with b0 images which do not have .json metafiles, thus the prepare_topup_file itself cannot easily fetch total readout time.

Possible solution would be to combine both scripts into single one.