determine_enum should be part of templating
This is a BIDS specific process, so should be part of the BIDS template, not part of the processing code.
This is a BIDS specific process, so should be part of the BIDS template, not part of the processing code.