Skip to content

Explicitly cast padding to float

Duncan Macleod requested to merge github/fork/tjma12/float-padding into develop

Created by: tjma12

Both lal.LIGOTimeGPS.__add__() and glue.lal.LIGOTimeGPS.__add__() are incompatible with numpy.int32 datatypes, so padding values had to be cast to float when initializing a DataQualityFlag. This recovers the intended functionality of DataQualityFlag.pad() with self.padding as the intended padding window. It also fixes the bug with DataQualityFlag.populate() and DataQualityDict.populate() using padding windows from veto definers.

Fixes #750 (closed)

Merge request reports