Comments (9)
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.
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.
Thanks, happy to help debug if you can share a file, and thanks for the report
from yadg.
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.
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.
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.py
of course).
minimal code :
import yadg
data = yadg.extractors.extract(filetype="eclab.mpr", path="LFP-237-form_C01.mpr")
print(data)
from yadg.
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.
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.
from yadg.
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.
from yadg.
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)
- nvm
- Harcoded String Handling HOT 4
- loss of <I> column in the converted json from the mpr file in GCPL technique using yadg 4 HOT 5
- Wrong Filename extension in extract subcommand? HOT 1
- Rework GitHub Actions HOT 1
- Implement parsing of `ezchrom.dat` files HOT 3
- Error in parsing `.mpr` files with `CA` technique: HOT 1
- Implement support for `CVA` technique
- Issue with yadg yaml recipe file HOT 5
- `basic.csv`: `/` substitution screws up units HOT 1
- EC-Lab 11.50 files not compatible with yadg HOT 2
- Reading cycle number from GCPL mpr file HOT 7
- Error: Unsipported locale settings HOT 10
- `eclab.mpt`: Parsing of header is prone to crashes.
- `eclab.*`: Better uncertainty estimation for derived quantities
- `eclab.mpt`: add "Analog OUT/V" into columns
- `original_metadata`: Consistent namespacing of metadata HOT 1
- Missing value into parameter map HOT 1
- Stepdefaults.py failling to set default locale and raising an error HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yadg.