kendrick icon indicating copy to clipboard operation
kendrick copied to clipboard

Query models compartments to obtain full list of compartments names

Open SergeStinckwich opened this issue 2 years ago • 0 comments

We need to be able to represent compartment names (this is already done by the class KECompartmentName) but also be able to represent queries on compartments. Queries should be applied to models and returns a full list of compartment names.

On a model with 2 species: model compartmentNamesFromQuery: #S_species should returns a collection of KECompartmentNames like {status->S. species->human}, (status ->S. species->bird}.

Queries can mix attributes and value of attributes like:

  • S_species
  • S_human
  • S_human_patch
  • S_human_1

Should we reify queries as objects keep them as String?

SergeStinckwich avatar Mar 15 '22 06:03 SergeStinckwich