Mackenzie/add modalities to quick
- add dsegtissue to hippunfold_quick
- add image_modality dict with suffix (for dseg vs dsegtissue purposes and consistency) and use_derivatives
- if dsegtissue is the modality: add desc to file name, add dataset_description to the temp bids folder as per bids formatting error message, set derivatives flag to the temp bids folder
- dry run is successful
Question: Is there a dseg test file I can use for wet run testing?
if you want to do a wet-run test, you could use, e.g. sub-bbhist:
datalad install https://gin.g-node.org/hippunfold/multihist7
datalad get -d multihist7 multihist7/sub-bbhist/anat/*desc-tissue_dseg.nii.gz
Upon writing this I realize now we may actually need to add a CLI option for specifying the hemisphere, which would only be used when using modality=dsegtissue
if you want to do a wet-run test, you could use, e.g. sub-bbhist:
datalad install https://gin.g-node.org/hippunfold/multihist7 datalad get -d multihist7 multihist7/sub-bbhist/anat/*desc-tissue_dseg.nii.gzUpon writing this I realize now we may actually need to add a CLI option for specifying the hemisphere, which would only be used when using modality=dsegtissue
Ok thanks! I will look into it
I ran a wet run test successfully by adding the --skip-inject-template-labels flag to the hippunfold-quick command. From the slack conversation I believe this change is to be left out of the actual commit based on the test data used - this pr should be good to test!