Check metrics exist before running tree. Possibly calculate metrics from tree #921
Labels
effort: medium
Theoretically <40h total work
enhancement
issues describing possible enhancements to the project
impact: medium
Improves code/documentation functionality for some users
priority: low
issues that are not urgent
Summary
In Decision Tree Modularization (#756), the functions in
selection_nodes.py
were written so that it's possible to dry-run a tree and collect all metrics that would be needed to run the tree. This check is not currently being done. Once the metrics are gathered, it would then be possible to have tedana load a decision tree and only calculate the metrics that are requested by the tree.Additional Detail
Every
selection_node
function has aonly_used_metrics
parameter. If that's true, it will output the metrics it will use (i.e. kappa, rho, etc) but not actually run anything. This dry run would be added to the initialization of the component_selector object.Next Steps
The text was updated successfully, but these errors were encountered: