Skip to content

Update read.py#18

Open
TahaAbbasi-Hashemi wants to merge 1 commit into
JimHokanson:masterfrom
TahaAbbasi-Hashemi:master
Open

Update read.py#18
TahaAbbasi-Hashemi wants to merge 1 commit into
JimHokanson:masterfrom
TahaAbbasi-Hashemi:master

Conversation

@TahaAbbasi-Hashemi

Copy link
Copy Markdown

There was a bug where the n_channels is giving the original number of channels not the final number of channels. So if the labchart file was made with 21 channels but you added more later it still says it had 21 channels. This code continues to read the channels until it finds and error with getchannelname. If that cant read a channel then it means we are done there are no more channels to read.

There was a bug where the n_channels is giving the original number of channels not the final number of channels. So if the labchart file was made with 21 channels but you added more later it still says it had 21 channels.
This code continues to read the channels until it finds and error with getchannelname. If that cant read a channel then it means we are done there are no more channels to read.
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