Recent Releases of svgdigitizer
svgdigitizer - 0.13.0
Added:
- Added arm64 platforms supported by pixi.
- Added testing of arm64 platforms in CI.
* * Added nixOS test builds.
Changed:
- Changed upper version limit of svg.path dependency.
- Changed validation of metadata to echemdb-metadata-schema 0.3.0.
- Changed lower version limit of pybtex and PyMuPDF.
- Increased upper version limit of svg.path.
- Python
Published by DunklesArchipel 7 months ago
svgdigitizer - 0.12.6
Added:
- Added an option in the CLI to create linked SVG file from image directly.
- Added an option in the CLI to add an SVG template to the linked SVG file.
Changed:
- Changed version bound for pybtex from "">=0.24,<0.25" to ">=0.25,<0.26".
- Changed PDF handling from pdf2image to PyMuPDF, allowing to run in pyodide.
Fixed:
- Fixed mimetype of image embedded in SVG.
- Python
Published by DunklesArchipel 8 months ago
svgdigitizer - 0.12.5
Fixed:
- Fixed uploading wheel.
- Python
Published by DunklesArchipel 12 months ago
svgdigitizer - 0.12.4
Added:
- Added wheel upload on new release.
- Python
Published by DunklesArchipel 12 months ago
svgdigitizer - 0.12.3
Added:
- Added tests for validating output datapackages against echemdb's svgdigitizer Data Package schema.
Removed:
- Removed key
data descriptionfrom output Data Package, since the information is included in the keyfigure description.
- Python
Published by DunklesArchipel about 1 year ago
svgdigitizer - 0.12.2
Added:
- Added testing with Python 3.13.
- Python
Published by DunklesArchipel about 1 year ago
svgdigitizer - 0.12.1
Fixed:
- Fixed dependency issue, by re-including
scipyandsvg.path(see feedstock issue). - Fixed breaking tests on GitHub (tests should be more stable now since we switched to pixi for locked versions of dependencies.)
- Python
Published by DunklesArchipel about 1 year ago
svgdigitizer - 0.11.0
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 https://github.com/advisories/GHSA-j7hp-h8jx-5ppr. This possibly leads to an incompatibilities of
svgdigitizerwith Macos.
- Python
Published by DunklesArchipel over 2 years ago
svgdigitizer - 0.10.0
Added:
- Added CLI command
svgdigitzer figurewhich 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
--packagefrom the CLI and create datapackages by default.
- Python
Published by DunklesArchipel almost 3 years ago
svgdigitizer - 0.9.1
Added:
- Digitizing with flag
--bibliographycreates a "bibliography key, which is an empty string when no citation key is given inmetadata["source"]["citation key"]or no BIB file with the given citation key is available.
- Python
Published by DunklesArchipel almost 3 years ago
svgdigitizer - 0.9.0
Added:
- Added flag
--citationto the click commandcv, 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 inmetadata['source']['bib'].
- Python
Published by DunklesArchipel almost 3 years ago
svgdigitizer - 0.8.0
Added:
- Added module
svgdigitizer.svgfigure.SVGFigureto 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_labelstosvgdigitizer.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_typetosvgdigitizer.svgfigure.SVGFigure, which will be added to the metadata. - Added keyword
force_si_unitstosvgdigitizer.svgfigure.SVGFigure, which allows transformation of a figure with units into SI units. - Added flag
--si-unitsto thecvcommand in the command line interface.
Changed:
- Changed
svgdigitizer.svgplot.SVGplot.schematosvgdigitizer.svgplot.SVGplot.figure_schema.
Removed:
- Removed the following methods and properties from
svgdigitizer.electrochemistry.cv.CVwhich were also not transferred tosvgdigitizer.svgfigure.SVGFigure:voltage_dimension,current_dimension,_add_voltage_axis, and_add_current_axis.
Fixed:
- Fixed detection of
simultaneous measurementinelectrochemistry.cv.CV.
- Python
Published by DunklesArchipel almost 3 years ago
svgdigitizer - 0.7.0
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__.pyas the entrypoint. As a result,python -m svgdigitizerdoes not invoke the digitizer anymore. The digitizer can still be invoked withsvgdigitizeronce installed.
Fixed:
- Fixed detection of
simultaneous measurementinelectrochemistry.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__.pytoentrypoint.py. - Fixed handling of unicode characters when writing JSON files. Unicode characters are now written as UTF-8 characters without escaping.
- Python
Published by DunklesArchipel almost 3 years ago
svgdigitizer - 0.6.1
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_factorssuch that scaling factors are now determined for any kind of axis dimension (so far only for axis labeledxory). - Fixed broken links in the documentation.
- Fixed Github workflow files.
- Fixed doctests according to module updates.
- Python
Published by DunklesArchipel about 3 years ago
svgdigitizer - 0.6.0
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.
- Python
Published by DunklesArchipel about 3 years ago
svgdigitizer - 0.5.0
Added:
- Added a property
schematosvgplot.SVGPlot, describing the data extracted from the plot. - Added a property
figure_schematoelectrochemistry.cv.CV, containing the original figure axis properties. - Added a property
data_schematoelectrochemistry.cv.CV, containing the axis properties of the propertyelectrochemistry.cv.CV.df. - Added
voltage_dimensionandcurrent_dimensiontoelectrochemistry.cv.CV, providing the dimension of the voltage and the current.
Changed:
- Changed
electrochemistry.cv.CVsuch that it only accepts SVGs where the labels on one axis are eitherUorE(V, mV, ...) and another axis areI(A, mA, ...) orj(A / cm2, uA / m2, ...). - Changed
ratetoscan_rateinelectrochemistry.cv.CV.
Removed:
- Removed
axis_propertiesandx_labelfromelectrochemistry.cv.CV.
- Python
Published by DunklesArchipel almost 4 years ago
svgdigitizer - 0.4.0
Added:
- Added property
CV.tags,CV.figure_label, andCV.curve_labelwhich are extracted from<text>elements in the SVG. The extracted values are stored inCV.metadata. - Added installation instructions.
- Added automatic symbol and orientation detection of axes.
Changed:
- Changed entry
axesinfigure descriptionanddata descriptiontofieldaccording toFrictionless Table Schema <https://specs.frictionlessdata.io/table-schema>_. - Replaced module
datapackagewithfrictionless.
Removed:
- Removed
data descriptionin datapackage created withdigitize_cv.
Fixed:
- Fixed data package creation in
__main__.digitize_cv, wheredata_descriptionwas removed instead ofdata_description.fields.
- Python
Published by DunklesArchipel almost 4 years ago
svgdigitizer - 0.3.0
Added:
- Added flag
--skewedin the CLI to the commandsdigitzeandcvto enable digitization of skewed plots (non-orthogonal axes). - Added "Edit on GitHub" links to documentation.
Fixed:
- Fixed version number in title of generated documentation.
- Upgraded dependency on vulnerable version of pillow, see https://github.com/advisories/GHSA-8vj2-vxx3-667w.
- Python
Published by DunklesArchipel almost 4 years ago
svgdigitizer - 0.2.0
Added:
- Added the property
svgdigitizer.electrochemistry.cv.CV.simultaneous_measurementwhich is read from a text field in the SVG file.
Changed:
- Changed the property
svgdigitizer.electrochemistry.cv.CV.metadata. It now includes 'data description' which contains the units to the values in the dataframe. - Changed the dimension on the x-axis of CVs from
UtoE(potential).
- Python
Published by saraedum about 4 years ago
svgdigitizer - 0.1.2
Fixed:
- Fixed version number in
setup.pyand thus on PyPI when releasing.
- Python
Published by saraedum about 4 years ago
svgdigitizer - 0.1.1
Fixed:
- Fixed description in
setup.pyto be compatible with PyPI.
- Python
Published by saraedum about 4 years ago