hippunfold icon indicating copy to clipboard operation
hippunfold copied to clipboard

Mackenzie/add modalities to quick

Open mackenziesnyder opened this issue 8 months ago • 2 comments

  • 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?

mackenziesnyder avatar Apr 23 '25 20:04 mackenziesnyder

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

akhanf avatar Apr 24 '25 16:04 akhanf

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

Ok thanks! I will look into it

mackenziesnyder avatar Apr 24 '25 17:04 mackenziesnyder

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!

mackenziesnyder avatar Apr 28 '25 14:04 mackenziesnyder