8000 Fix/gh 48 export relative paths by mbsantiago · Pull Request #50 · mbsantiago/whombat · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix/gh 48 export relative paths #50

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

Merged
merged 3 commits into from
Feb 5, 2025
Merged

Conversation

mbsantiago
Copy link
Owner

This pull request addresses the issue reported by @namitha-sh (#48) where exported recording paths were not correctly relative to the dataset's audio directory.

While a previous attempt to address this (PR #49) introduced a test to verify relative paths, the test itself contained a flaw. This PR corrects the test implementation and applies the necessary fix to the export method of the dataset API to ensure all exported recording paths are now correctly relative to the dataset's audio directory.

Whombat stores paths relative to the root audio_dir, so we need to first
fix this, and the the `to_aoef` function removes the prefix of the
dataset audio dir.
Copy link
codecov bot commented Feb 5, 2025

Codecov Report

Attention: Patch coverage is 80.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 66.61%. Comparing base (75dfd32) to head (83dd078).
Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
back/src/whombat/routes/datasets.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #50      +/-   ##
==========================================
+ Coverage   66.60%   66.61%   +0.01%     
==========================================
  Files         179      179              
  Lines        8372     8375       +3     
==========================================
+ Hits         5576     5579       +3     
  Misses       2796     2796              

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

@mbsantiago mbsantiago merged commit 8526c2f into main Feb 5, 2025
6 checks passed
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
0