Skip to content

Improved handling of plurals in custom unit parser

This PR improves the handling of plural unit names in gwpy.detector.units.parse_unit, so that multiple plural components in a compound name get handled individually. The upshot is that something like meters/second now gets parsed as m/s.

Merge request reports