Skip to content

ENH: Make Raven format work for BirdNET Live output, fix #301 - #302

Closed
NickleDave wants to merge 2 commits into
mainfrom
ENH-coerce-raven-low-high-freq-hz-columns-to-float-fix-#301
Closed

NickleDave wants to merge 2 commits into
mainfrom
ENH-coerce-raven-low-high-freq-hz-columns-to-float-fix-#301

Conversation

@NickleDave

Copy link
Copy Markdown
Collaborator

Tell pandera to coerce the "Low Freq (Hz)" and "High Freq (Hz)" columns to float, instead of raising a SchemaError because those columns are int values. See comment on #301 for rationale:
#301 (comment)

Tell `pandera` to `coerce` the "Low Freq (Hz)" and
"High Freq (Hz)" columns to float, instead of raising
a SchemaError because those columns are int values.
See linked issue for detail.
We're getting a bunch of spurious failures because
`pandera` added a `errors.SchemaErrors` plural
for the case where multiple rules of a schema fail.

This is yet another time where it feels like `pandera` is
more trouble than it's worth.
What we want is a nice error message explaining
something is wrong with the annotation file.
What we get is a wall of text that will mean nothing
to most users.
@codecov

codecov Bot commented Oct 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.73%. Comparing base (87c5a4a) to head (af7f7d4).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #302   +/-   ##
=======================================
  Coverage   89.73%   89.73%           
=======================================
  Files          33       33           
  Lines        1412     1412           
=======================================
  Hits         1267     1267           
  Misses        145      145           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@NickleDave

Copy link
Copy Markdown
Collaborator Author

Closing since this was addressed by birdnet-team/birdnet-live-app#266

@NickleDave NickleDave closed this Oct 11, 2026
@NickleDave NickleDave changed the title ENH: Make Raven format work for BirdNet output, fix #301 ENH: Make Raven format work for BirdNET Live output, fix #301 Oct 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant