open-reaction-database / ord-schema

Schema for the Open Reaction Database
https://open-reaction-database.org
Apache License 2.0
95 stars 26 forks source link

Improve unit conversions and representations #693

Closed connorcoley closed 1 year ago

connorcoley commented 1 year ago

We have a unit parser to help convert strings to messages. For each type of unit, there are multiple possible units (e.g., days, hours, minutes, seconds for time).

Edit: The second use case is addressed by https://github.com/open-reaction-database/ord-schema/blob/main/ord_schema/units.py#L253 already