Add dsegtissue to hippunfold-quick
- 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
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.
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
Thank you that makes sense, will do!
Closed with #449