Pheno classification was mistakenly merged and not reverted while it was a WIP.
Aim
Finish up whatever work was left.
Implementation
A new option has been added to the pheno import tool. --inference-config points to a yaml file containing a dict of wildcards to inference configurations. The inference configurations have been given a pydantic class for verification.
When performing classification for a measure, the multiple wildcard configurations get merged, with measure name specifications taking priority over instrument. The skip option has been reimplemented this way into the inference configurations. Inference configurations can also directly specify a measure's type as a string to skip most of the classification work.
Background
Pheno classification was mistakenly merged and not reverted while it was a WIP.
Aim
Finish up whatever work was left.
Implementation
A new option has been added to the pheno import tool.
--inference-config
points to a yaml file containing a dict of wildcards to inference configurations. The inference configurations have been given a pydantic class for verification. When performing classification for a measure, the multiple wildcard configurations get merged, with measure name specifications taking priority over instrument. The skip option has been reimplemented this way into the inference configurations. Inference configurations can also directly specify a measure's type as a string to skip most of the classification work.