matthiaskoenig / pkdb

Pharmacokinetics database
https://alpha.pk-db.com
30 stars 6 forks source link

No `,` character allowed in units columns #582

Closed matthiaskoenig closed 4 years ago

matthiaskoenig commented 4 years ago

Restrict allowed characters in units columns. These can result in unit conversion issues in pint resulting in server errors. I.e. in the columns units and *_units the restricted characters are [a-z][A-Z][0-9][^*/. ()].

mg / (1.72 * m^1)