Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support loading db with splits in misc tables #416

Merged
merged 2 commits into from
Feb 2, 2024
Merged

Conversation

hagenw
Copy link
Member

@hagenw hagenw commented Feb 2, 2024

It was possible to assign splits to misc tables before and also to store those databases. But when trzing to load a database with a misc table that has a split assigned, loading failed as the splits objects were loaded after the misc tables were loaded.

This pull request adds a test for loading a database with a misc table that has a split assigned. This tests fails for the current master. The needed fix is then added to the code of audformat.Database.load().

Copy link

codecov bot commented Feb 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (5dcf78e) 100.0% compared to head (1a78d56) 100.0%.

Additional details and impacted files
Files Coverage Δ
audformat/core/database.py 100.0% <100.0%> (ø)

Copy link

@maxschmitt maxschmitt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It all looks good to me.

@hagenw hagenw merged commit 5108c3f into main Feb 2, 2024
10 checks passed
@hagenw hagenw deleted the misc-table-splits branch February 2, 2024 15:13
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.

2 participants