Making heuristic functions a simple set of if elif else statements #44
Labels
BrainHack
This issue is suggested for BrainHack participants!
Enhancement
New feature or request
Refactoring
Improve nonfunctional attributes
Milestone
Detailed Description
At the moment, heuristic files contain a bunch of code that shouldn't be changed by the user (e.g. from here).
It would be better to move that code outside of the heur file, so that the only content of those scripts is a simple definition that reads an input, goes through a bunch of
if
statements to set up the labels necessary for the name of the file, and returns those labels.Context / Motivation
This would simplify the heuristic files on one hand, and help the integration of phys2bids in other BIDSificators programs such as BIDScoin (as in #199).
Possible Implementation
if..elif..else
code into the functionuse_heuristics
.The text was updated successfully, but these errors were encountered: