-
-
Notifications
You must be signed in to change notification settings - Fork 230
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
the acq_name of channel group changed after applying .filter() function #430
Comments
Similarly, after calling |
Either you wait until next release or you can already try the development branch like this: Your code could then look like this: mf4_reader = MDF("test.mf4")
# channels_namelist is a list of channel name
mf4_reader_filtered = mf4_reader.filter(channels_namelist)
print(mf4_reader.header.comment)
for idx, gitem in enumerate(mf4_reader_filtered.groups):
cg = gitem["channel_group"]
acq_name = cg.acq_name
print(idx, cg.acq_name, sep="=>") |
Thank you for your answer sincerely!:tada: |
Python version
Code
MDF version
4.10
Code snippet
Description
If we comment line2:
mf4_reader.filter(channels_namelist)
, the output is normal. Otherwise, the output of acq_name are abnormal and most of them are empty.The text was updated successfully, but these errors were encountered: