Repository navigation
[SYSTEMDS-3991] Prepare PTB-XL ECG dataset for Scuro - #2638
Open
shieru1214 wants to merge 4 commits into
Open
shieru1214 wants to merge 4 commits into
shieru1214 wants to merge 4 commits into
Conversation
Assisted-by: AI
Assisted-by: AI
Assisted-by: AI
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2638 +/- ##
=============================================
+ Coverage 72.18% 76.67% +4.49%
=============================================
Files 2105 458 -1647
Lines 230158 31346 -198812
Branches 38694 0 -38694
=============================================
- Hits 166139 24035 -142104
+ Misses 52813 7311 -45502
+ Partials 11206 0 -11206
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
christinadionysio
left a comment
Contributor
There was a problem hiding this comment.
Thank you @shieru1214, overall this looks good! Please add the wfdb dependency to the python.yml file where the test environment for Scuro is created so the tests can also run in the CI.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This change fixes format checks and error messages in
TimeseriesLoaderand adds tests for them.TimeseriesLoader fixes
matandhdf5from the supported formats because they are not implemented yet, and addcsvto the format check.wfdbonly when needed and gives an installation hint if the package is missing. This does not addfile_format="wfdb"support yet.Tests
I enabled
test_timeseries_loader_loads_all_instancesandtest_timeseries_loader_stats. They now use["x", "y"]as signal names. The data generator writes 10 samples with 2 signals, so the stats test can checkmax_lengthandnum_signals.The new tests check that the missing filename appears in the error, that
mat,hdf5, and unknown formats are rejected, and that selectingyfrom a two-column CSV returns exactly the second column. I also added a test for the installation hint whenwfdbis missing.