Currently, when parsing quantities, a unit must contain neither spaces nor numbers. But today I wanted to use the legitimate unit "A260 U/mL" and was unable to. My instinct is to allow anything as a unit, but I want to think about it more carefully (since this loosening this restriction could make it easier to have bugs).
Note that this is only an issue for sw serial. sw reaction has separate logic to avoid interpreting concentrations that don't match the quantity regex.
Currently, when parsing quantities, a unit must contain neither spaces nor numbers. But today I wanted to use the legitimate unit "A260 U/mL" and was unable to. My instinct is to allow anything as a unit, but I want to think about it more carefully (since this loosening this restriction could make it easier to have bugs).