Skip to content

Fix iDQ error by discarding Astropy units

Leo P. Singer requested to merge leo-singer/gwcelery:fix-idq-units-bug into master

They have Astropy units of "ct", which cannot be automatically converted to "dimensionless_unscaled".

Fixes this exception:

TypeError
only dimensionless scalar quantities can be converted to Python scalars

See https://sentry.io/organizations/ligo-caltech/issues/1305751501.

Edited by Leo P. Singer

Merge request reports

Loading