vetschn / eclabfiles

Processing and converting of data files from BioLogic's EC-Lab.
GNU General Public License v3.0
16 stars 2 forks source link

Error in def _process settings, eclabfiles does not support new ec lab data files #16

Closed muzaffarmaksumov closed 3 months ago

muzaffarmaksumov commented 6 months ago

Hi,

after updating EC Lab, the data are not supported anymore in eclabfiles library. I tried to fix it on my own, but I could not manage it.

Whenever I try to process new EC Lab data, it shows me following error message:

File ~\AppData\Roaming\Python\Python311\site-packages\eclabfiles\mpr.py:504 in _process_settings technique, params_dtype = technique_params_dtypes[data[0x0000]]

KeyError: 48

I checked data structure of old EC Lab data and there are some differences. Could you please help me with this problem and tell me how the library should be changed accordingly?

Thanks a lot in advance. By request I can provide a raw data.

All the best:)

PeterKraus commented 6 months ago

Yes, this is a known issue, see #13. I don't think it'll ever be fixed in eclabfiles. It might be fixed at some point in yadg; actually I plan to have it fixed in yadg-5.1, but help is very much welcome.

PeterKraus commented 3 months ago

This should be fixed in https://github.com/dgbowl/yadg/pull/171, so please try with yadg-5.1, and if the issue is still there, please open an issue in the yadg repo.