Skip to content

Releases: echemdb/svgdigitizer

0.12.0

29 Feb 13:43
Compare
Choose a tag to compare
Updated CHANGELOG for 0.12.0

0.11.0

10 Oct 21:28
Compare
Choose a tag to compare

Added:

  • Improved the documentation with a large number of usage examples for the CLI, API and SVG annotation.

Fixed:

  • Upgraded dependency on vulnerable version of pillow, see GHSA-j7hp-h8jx-5ppr. This possibly leads to an incompatibilities of svgdigitizer with Macos.

0.10.0

13 Apr 05:51
Compare
Choose a tag to compare

Added:

  • Added CLI command svgdigitzer figure which allows creating a datapackage from a figure with units on the axis.

Changed:

  • Changed structure of the output frictionless datapackage. The metadata are now included as custom key in the resource instead of being a top level key. Moved the "bibliography" key from top level to metadata.source.

Removed:

  • Removed flag --package from the CLI and create datapackages by default.

0.9.1

04 Apr 18:24
Compare
Choose a tag to compare

Added:

  • Digitizing with flag --bibliography creates a "bibliography key, which is an empty string when no citation key is given in metadata["source"]["citation key"] or no BIB file with the given citation key is available.

0.9.0

31 Mar 17:49
Compare
Choose a tag to compare

Added:

  • Added flag --citation to the click command cv, which includes the content of a BIB file as bibtex string in a descriptor in the datapackage. The name to the BIB file must be provided in the metadata in metadata['source']['bib'].

0.8.0

23 Mar 17:20
Compare
Choose a tag to compare

Added:

  • Added module svgdigitizer.svgfigure.SVGFigure to digitize custom figures (which are not CVs.)
  • Added assertions to svgdigitizer.electrochemistry.cv.CV, such that only E or U (I or j) labels are allowed on the x-axis (y-axis).
  • Added scan_rate_labels to svgdigitizer.svgfigure, returning the labels in the SVG with a scan rate.
  • Added possibility to reconstruct a time axis, when a scan rate is provided in the plot, who's units match those of the x-axis.
  • Added keyword measurement_type to svgdigitizer.svgfigure.SVGFigure, which will be added to the metadata.
  • Added keyword force_si_units to svgdigitizer.svgfigure.SVGFigure, which allows transformation of a figure with units into SI units.
  • Added flag --si-units to the cv command in the command line interface.

Changed:

  • Changed svgdigitizer.svgplot.SVGplot.schema to svgdigitizer.svgplot.SVGplot.figure_schema.

Removed:

  • Removed the following methods and properties from svgdigitizer.electrochemistry.cv.CV which were also not transferred to svgdigitizer.svgfigure.SVGFigure: voltage_dimension, current_dimension, _add_voltage_axis, and _add_current_axis.

Fixed:

  • Fixed detection of simultaneous measurement in electrochemistry.cv.CV.

0.7.0

25 Feb 22:00
Compare
Choose a tag to compare

Added:

  • Added custom exception classes to be more specific when errors are found in the input. Also fixes linter warnings with pylint>2.16.

Changed:

  • Upgraded to frictionless 5.5.
  • Changed formatting of JSON metadata files. A newline is now added automatically at the end of the file.
  • Changed output format of JSON (datapackages) to produce indented JSON.

Removed:

  • Removed __main__.py as the entrypoint. As a result, python -m svgdigitizer does not invoke the digitizer anymore. The digitizer can still be invoked with svgdigitizer once installed.

Fixed:

  • Fixed detection of simultaneous measurement in electrochemistry.cv.CV.
  • Fixed the alphabetical order of the dependencies in the environment.yml.
  • Fixed doctesting of the command line interface, by moving the content from __main__.py to entrypoint.py.
  • Fixed handling of unicode characters when writing JSON files. Unicode characters are now written as UTF-8 characters without escaping.

0.6.1

04 Feb 11:17
Compare
Choose a tag to compare

Fixed:

  • Fixed garbage collection of instances with cached properties.
  • Fixed an incompatibility of frictionless & click. (#152)
  • Declared dependency on Python 3.9 when installing from PyPI (we use functools.cache which is not available before.)
  • Restored changelog template.
  • Fixed svgplot.scaling_factors such that scaling factors are now determined for any kind of axis dimension (so far only for axis labeled x or y).
  • Fixed broken links in the documentation.
  • Fixed Github workflow files.
  • Fixed doctests according to module updates.

0.6.0

04 Feb 10:55
Compare
Choose a tag to compare

Added:

  • Added a short documentation to the package svgdigitizer with some very basic usage examples with the CLI and API.
  • Added Python version 3.9 as a requirement to setup.py and environment.yaml.

Removed:

  • Removed class method svgdigitizer.electrochemistry.cv.CV.get_axis_unit.

0.5.0

01 Apr 14:01
Compare
Choose a tag to compare

Added:

  • Added a property schema to svgplot.SVGPlot, describing the data extracted from the plot.
  • Added a property figure_schemato electrochemistry.cv.CV, containing the original figure axis properties.
  • Added a property data_schemato electrochemistry.cv.CV, containing the axis properties of the property electrochemistry.cv.CV.df.
  • Added voltage_dimension and current_dimension to electrochemistry.cv.CV, providing the dimension of the voltage and the current.

Changed:

  • Changed electrochemistry.cv.CV such that it only accepts SVGs where the labels on one axis are either U or E (V, mV, ...) and another axis are I (A, mA, ...) or j (A / cm2, uA / m2, ...).
  • Changed rate to scan_rate in electrochemistry.cv.CV.

Removed:

  • Removed axis_properties and x_label from electrochemistry.cv.CV.