Repository navigation
Test for the last channel of EDF and BDF files in pop_biosig - #18
Merged
Merged
Conversation
Contributor
Author
|
Arno answered on November 29, 2026: 2a, the two small recordings (the sine wave and the "DIG DTRIG" trigger channel) stay tested in sccn/eegprep only, since this repository has used up its LFS budget. Merged after sccn/eeglab#1005. The MATLAB Test runs of this repository were still queued at merge time, as are all its recent runs, master included, so the test was checked locally only (MATLAB R2025b). — orchestrator |
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.
Tests for pull request 1005 of sccn/eeglab (biosig2eeglab: the last channel becomes events only when it holds triggers: sccn/eeglab#1005), which fixes issue 1004 (biosig2eeglab turns a signal in the last channel of an EDF or BDF file into events and removes it: sccn/eeglab#1004).
One new test,
unittesting_binary/pop_biosig/test_pop_biosig_lastchannel.m, added tobinary_pop_biosig_wrapperTest.m. It reads four recordings that are already in the repositories:unittesting_sigprocfunc/openbdf/test_chan_types.bdf, a file with fewer than 100 samples: it is read with its 7 channels (it stopped with "Index in position 2 exceeds array bounds" before);sample_data/test_data/test.edfof EEGLAB: the last channel,EEG O2, stays a data channel (issue 989);BDF/5038.edf, a sleep recording whose last EEG channel starts flat: it stays a data channel;BDF/jo1_3.bdf: the BioSemi Status channel still gives 120 events.With EEGLAB develop (579a27d0d) the new test fails. With the branch of pull request 1005 it passes, and the other tests of
pop_biosig,pop_chaneventandbiosig2eeglabeventpass before and after (MATLAB R2025b).Not in this pull request. Two small public recordings (115 kB together) would test the rule itself: a 50 Hz sine wave in the last channel that must stay data, and a trigger channel named
DIG DTRIGthat must become 12 events. They could not be pushed: GitHub answers "This repository exceeded its LFS budget" for sccn/eeglab_tests. Both cases are tested in sccn/eegprep with values from EEGLAB (tests/fixtures/edf, pull request 868: sccn/eegprep#868). Merge after pull request 1005 of sccn/eeglab, since the test fails without it.— orchestrator