Skip to content

Rosetta 0.1.4

Choose a tag to compare

@Nataniel0212 Nataniel0212 released this 26 Oct 23:20
· 17 commits to main since this release

pip install --upgrade rosetta-eclab

New: older EC-Lab files (data module version 0)

  • Rosetta now reads .mpr files with data module version 0, which older EC-Lab versions wrote. Earlier versions stopped with "data module version 0 is not supported yet". yadg 7.0.1 cannot read these files either.
  • The offsets follow galvani. All 59 public version-0 files decode byte for byte as galvani 0.5.0 decodes them, and the two with an EC-Lab .mpt export match it. galvani's second version-0 layout was checked on a synthetic file.
  • With --reference yadg, a version-0 file gets a note that yadg cannot open it at all.
  • These files carry no technique that Rosetta reads, so the namer works without one.

Fix: power stored as a magnitude

  • Some older files store the power as |Ewe·I|. When that column was hidden, Rosetta named it Ece, which is wrong. It now names it Pwe (relation |Ewe*I|, r² 1.0000, scale 0.001 W per V·mA).

Smaller

  • A file with no data points now says so instead of reporting a record-size error.

No earlier answer changed: the golden check covers 1149 answers with 0 differences. One answer's confidence rose and some "also considered" lists changed. Three tests were added, and a clean install was tested without galvani.