khanlab / hippunfold

BIDS App for Hippunfold (automated hippocampal unfolding and subfield segmentation)
https://hippunfold.readthedocs.io
MIT License
47 stars 12 forks source link

Fix session bug #261

Closed akhanf closed 9 months ago

akhanf commented 9 months ago

This fixes an issue when bids datasets have multiple sessions and not all subjects have the same session. Using zip_lists solves that, but it turns out zip lists were not actually being used in the target rule, since the last refactoring of the target rules #63 This ensures zip_lists are used and filters with this expands twice in the get_final_output() function to ensure zip lists are used, filtering the session with the filter_list() function.

Note: should revamp sometime soon to use new snakebids API..