Skip to content

fix: Prevent iterator failure by skipping files that fail to load#8

Merged
mbsantiago merged 1 commit into
mainfrom
fix/no-error-on-iterators
Jul 7, 2025
Merged

fix: Prevent iterator failure by skipping files that fail to load#8
mbsantiago merged 1 commit into
mainfrom
fix/no-error-on-iterators

Conversation

@mbsantiago

Copy link
Copy Markdown
Owner

This PR improves the experience in audioclass when using TF dataset iterators to iterate over recordings. Before, the iteration would fail as soon as a single data loading error was encountered. Here we include the minimal changes needed to ignore those errors and skip the files that could not be loaded.

@mbsantiago mbsantiago merged commit 80b0bcb into main Jul 7, 2025
4 checks passed
@codecov

codecov Bot commented Jul 7, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.01%. Comparing base (8af8bc0) to head (434ec18).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main       #8   +/-   ##
=======================================
  Coverage   91.01%   91.01%           
=======================================
  Files          17       17           
  Lines         590      590           
  Branches       59       59           
=======================================
  Hits          537      537           
  Misses         28       28           
  Partials       25       25           

☔ View full report in Codecov by Sentry.
📢 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.

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