dgbowl / yadg

yadg: yet another datagram
https://dgbowl.github.io/yadg
GNU General Public License v3.0
36 stars 13 forks source link

`eclab`: Error message `ValueError: element '1' for parameter 'I_range' not understood` #180

Closed PeterKraus closed 1 month ago

PeterKraus commented 1 month ago
Hello, will the PR fix the error message `ValueError: element '1' for parameter 'I_range' not understood`? 
I use nedg to read mpr files from BioLogic Potentistats. For my CA measurements it works fine, but for most 
other measurement files I get the mentioned error message. I would be very interested in a fix. I think this 
already is the right PR otherwise I can create a new issue. Thank you.

Originally posted by @carla-terboven in https://github.com/dgbowl/yadg/issues/158#issuecomment-2360616875

PeterKraus commented 1 month ago

Yes, somehow values of I_range between 1-8 are not defined. Oops. That should be a fairly straightforward fix.

PeterKraus commented 1 month ago

@carla-terboven Thanks for bringing the issue up. It's now fixed in the main branch, and I will backport the fix into the 5.1.x and 5.0.x series later today.

carla-terboven commented 1 month ago

Thank you very much!

PeterKraus commented 1 month ago

Should be fixed in the 5.1.3 and 5.0.6 releases. If you come across any other issue, let me know.