hippunfold icon indicating copy to clipboard operation
hippunfold copied to clipboard

Add dsegtissue to hippunfold-quick

Open mackenziesnyder opened this issue 8 months ago • 3 comments

  • add the dsegtissue modality to hippunfold-quick
  • dsegtissue requires an additional input [--derivatives [PATH ...]]
  • from my understanding, this path variable also needs to be collected from user input with the command line

Solution:

  • create dictionary for modalities
  • make --derivatives mandatory when --modality dsegtissue is specified

mackenziesnyder avatar Apr 23 '25 19:04 mackenziesnyder

Ah the --derivatives flag can just point to the temporary bids folder that you create, so it doesn't need to be a user CLI option.

In the dict for modalities you could have a boolean like use_derivatives, which would be True for dsegtissue and False for T1w and T2w. If its true you would add the --derivatives <bids_dir> to the command.

akhanf avatar Apr 23 '25 19:04 akhanf

an example is in the dry run file:

./hippunfold/run.py test_data/bids_dsegtissue test_out participant -np --modality dsegtissue --derivatives test_data/bids_dsegtissue

akhanf avatar Apr 23 '25 19:04 akhanf

Thank you that makes sense, will do!

mackenziesnyder avatar Apr 23 '25 19:04 mackenziesnyder

Closed with #449

akhanf avatar Jun 12 '25 22:06 akhanf