Giter Club home page Giter Club logo

Comments (9)

lg391 avatar lg391 commented on August 23, 2024 1

hi @ml-evs, yes the error is:
raise NotImplementedError("Unknown parameter offset or technique dtype.")
NotImplementedError: Unknown parameter offset or technique dtype.
I can try to add a small data file later. seems like an issue that has happened previously when eclab has updated to 11.50 for example

from yadg.

ml-evs avatar ml-evs commented on August 23, 2024

Hi @lg391, are you able to share any specific errors, or even better, a small data file that breaks it? (you should be able to simply drag it into the comment box here)

from yadg.

ml-evs avatar ml-evs commented on August 23, 2024

Thanks, happy to help debug if you can share a file, and thanks for the report

from yadg.

PeterKraus avatar PeterKraus commented on August 23, 2024

Hi @lg391, any chance you could share an mpr file (and ideally also a mpt file generated from it) which causes such crashes?

from yadg.

axnj2 avatar axnj2 commented on August 23, 2024

Hi @lg391, any chance you could share an mpr file (and ideally also a mpt file generated from it) which causes such crashes?

Hello, I happen to have a very similar issue and a file that fails. (I'm just not certain of the EC-Lab version since this file was send to me by a colleague).

This is supposed to be a file from an EIS I wasn't sure from the documentation if this project explicitly supports this yet.

LFP-237-form_C01.mpr.zip

From what I've been able to figure out it fails both in process_settings() when trying to extract "technique parameters" and completely in process_data()(I gave up trying to skip failed steps when the data didn't seam to be extracted).

(all of this in the file mpr.pyof course).

minimal code :

import yadg
data = yadg.extractors.extract(filetype="eclab.mpr", path="LFP-237-form_C01.mpr")
print(data)

from yadg.

PeterKraus avatar PeterKraus commented on August 23, 2024

Yes, this file looks strange. It seems to be a GCPL file, not EIS. When I open it with EC-Lab v11.52, I cannot export it to mpt - only the first 800 or so rows are dumped.

If you could confirm with your colleague this file was generated with EC-Lab 11.60 or newer, and ideally also supply a mpt file (text export), that would be wonderful.

I have a very hacked-together version of yadg that can parse the above file, but I'm not quite sure it's right... If you're feeling very brave, try building yadg using the branch in the PR below.

from yadg.

axnj2 avatar axnj2 commented on August 23, 2024

I've found the settings file which indicates these files where generated with EC-Lab v11.46 so that file might not be entirely relevant to this issue how do you want to proceed @PeterKraus ?

On my side I've managed (on a windows machine) to export the files to mpt with the EC-Lab demo version 11.60. So I'm going to continue with those it should work better.

LFP-237-IMP.mps.zip

from yadg.

axnj2 avatar axnj2 commented on August 23, 2024

So the first file was in fact not and EIS experiment but a "Galvanostatic Cycling with Potential Limitation" as written in the mpt file bellow.

LFP_237_form_C01.mpt.zip

from yadg.

PeterKraus avatar PeterKraus commented on August 23, 2024

OK, this is an EC-Lab 11.46 file which has a format we previously didn't know about. I'll rename the PR and merge in due course. It's unrelated to EC-Lab 11.60.

As an aside, this mpr file can only be exported to mpt properly using EC-Lab older than 11.52 (and likely also 11.50) - if you attempt to export this mpr file with a newer EC-Lab, you only get around 800 lines, instead of the 11400 or so that you should be getting.

from yadg.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.