-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Description
Currently, adding concept sets is quite hacky:
from eds_scikit.biology import ConceptsSet
protein_blood = ConceptsSet("Protein_Blood_Quantitative")
protein_urine = ConceptsSet("Protein_Urine_Quantitative")
protein = ConceptsSet(
name="Protein_Quantitative",
concept_codes=protein_blood.concept_codes + protein_urine.concept_codes,
)It would be handier to have the following:
protein = protein_blood + protein_urineThe concept_name could be generic like "addition_1" since it doesn't seem to be used except in the bioclean table.
We would need to add to ConceptSet:
__add____sub____eq__
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels