You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@attr.s(auto_attribs=True, frozen=True)classCharacteristics:
"""Representation of a ``Characteristics[*]`` cell."""#: Characteristics namename: str#: Characteristics valuevalue: List[FreeTextOrTermRef]
#: Characteristics unitunit: FreeTextOrTermRef
When (a list of) ontology references are present, the value attribute becomes (a list of) OntologyTermRef objects, integrating ontology information with the Characteristics* values. Units are modelled as a separate class attribute.
Issue
When filling a Characteristics* field with a semicolon-separated list of values, one can follow up with a semicolon-separated list of ontology references and a list of units, but in SODAR only the ontology references are properly linked to the respective values. Units are not.
Questions
How can we relate a list of units to these values?
Do we want to solve this in Altamisa or should SODAR link them when rendering samplesheets?
In any case the unit attribute would need to be changed to a List[].
Prelude
We allow semicolon-separated lists of values in
Characteristics
,Parameter Value
, and possiblyFactor Value
fields.When (a list of) ontology references are present, the value attribute becomes (a list of)
OntologyTermRef
objects, integrating ontology information with theCharacteristics*
values. Units are modelled as a separate class attribute.Issue
When filling a
Characteristics*
field with a semicolon-separated list of values, one can follow up with a semicolon-separated list of ontology references and a list of units, but in SODAR only the ontology references are properly linked to the respective values. Units are not.Questions
In any case the unit attribute would need to be changed to a
List[]
.summoning @mikkonie @mkuhring @holtgrewe
The text was updated successfully, but these errors were encountered: