nationalparkservice / QCkit

QCkit provides useful functions for data quality control and manipulation including updating data to DarwinCore standards, unit conversions, and data flagging.
https://nationalparkservice.github.io/QCkit/
The Unlicense
5 stars 5 forks source link

bug fix in get_custom_flags #81

Closed RobLBaker closed 8 months ago

RobLBaker commented 8 months ago

get_custom_flags was counting both A and AE flags when it should have been counting just A flags, leading to %Accepted > 100%. Fixed the regex such that it will now only count A flags (or A followed by anything but an E with the idea that someone could add custom codes to the flags such as A_jenkins if Jenkins flagged the data as accepted).