-
Notifications
You must be signed in to change notification settings - Fork 1
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
"Error: field '(Q-Qo)' occurs more than once" when reading .mpr file (technique=CA) #14
Comments
Hi @ScottSoren! First off, thank you for your interest in this package! As you have probably seen from the README, I can unfortunately no longer really maintain this package in a meaningful way, as I have no access to the equipment. That being said, I highly encourage you to have a look at At a short glance, it also seems like there is a non-negligible overlap between your very nice Now, concerning the actual problem at hand: It looks like both column ID eclabfiles/src/eclabfiles/mpr.py Line 257 in 025aefd
0x01B2 eclabfiles/src/eclabfiles/mpr.py Line 315 in 025aefd
data_dtype . eclabfiles/src/eclabfiles/mpr.py Line 596 in 025aefd
The hacky, easy fix would be to rename the columns to avoid the collision. Properly taking care of this might require a little more work. Actually, it looks like Thanks and apologies for the inconvenience! |
Hi @vetschn ,
Great to see this package!
I am the main author of an open source project "ixdat" which also includes many python parsers for experimental data formats, including Biologic's .mpt. I'm trying to add a .mpr parser which makes use of
eclabfiles
for parsing the binary file.eclabfiles
works for some files but not others. For details, see this PR: ixdat/ixdat#134Briefly, it seems to work for LSV measurements, but not CA or CVA. It's a different error message, so I'll put CA here and CVA in a separate issue.
The error I get is "Error: field '(Q-Qo)' occurs more than once". I get this same error whether using
data, meta = eclabfiles.process("05_O2dose_COox_04_CA_C01.mpr")
or
df = eclabfiles.to_df("05_O2dose_COox_04_CA_C01.mpr")
The file is here, along with plots of the data (made with
ixdat.Measurement.read("05_O2dose_COox_04_CA_C01.mpt").plot()
as demo'd in "plot_data.py"):https://www.dropbox.com/scl/fo/cl0cnovmik7pjgcls2l9h/h?rlkey=v93snkrt2rq3uf95au26qdi0o&dl=0
Happy for any help or suggestions!
The text was updated successfully, but these errors were encountered: