From 4977f8fba82dee71258ac3742ed7c47162e7d8c1 Mon Sep 17 00:00:00 2001 From: Matthew Evans Date: Fri, 16 May 2025 12:03:07 +0100 Subject: [PATCH 1/3] Add NewareNDA library --- yard/data/extractors/neware-nda.yml | 32 +++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 yard/data/extractors/neware-nda.yml diff --git a/yard/data/extractors/neware-nda.yml b/yard/data/extractors/neware-nda.yml new file mode 100644 index 0000000..e97c969 --- /dev/null +++ b/yard/data/extractors/neware-nda.yml @@ -0,0 +1,32 @@ +--- +id: >- + neware-nda +name: >- + NewareNDA +description: >- + Python module and command line tool for reading and converting Neware nda and ndax battery cycling files. Auxiliary temperature fields are currently supported in both formats. +supported_filetypes: + - id: neware-nda +license: + spdx: BSD-3-Clause +subject: + - electrochemistry + - voltammetry +citations: + - uri: https://github.com/Solid-Energy-Systems/NewareNDA + creators: + - D. Cogswell + title: NewareNDA github repository + type: software +source_repository: https://github.com/Solid-Energy-Systems/NewareNDA +usage: + - method: python + setup: NewareNDA + command: NewareNDA.read({{ input_path }}) + - method: cli + command: NewareNDA-cli {{ input_path }} {{ output_path }} +installation: + - method: pip + packages: + - NewareNDA >= 2025 + requires_python: '>=3.6' From b999ebcc3f0acc6dd5ae88291777d63699cc9c7c Mon Sep 17 00:00:00 2001 From: Matthew Evans Date: Tue, 20 May 2025 10:32:49 +0100 Subject: [PATCH 2/3] Fix source repository link --- yard/data/extractors/neware-nda.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yard/data/extractors/neware-nda.yml b/yard/data/extractors/neware-nda.yml index e97c969..5acdfce 100644 --- a/yard/data/extractors/neware-nda.yml +++ b/yard/data/extractors/neware-nda.yml @@ -13,12 +13,12 @@ subject: - electrochemistry - voltammetry citations: - - uri: https://github.com/Solid-Energy-Systems/NewareNDA + - uri: https://github.com/d-cogswell/NewareNDA creators: - D. Cogswell title: NewareNDA github repository type: software -source_repository: https://github.com/Solid-Energy-Systems/NewareNDA +source_repository: https://github.com/d-cogswell/NewareNDA usage: - method: python setup: NewareNDA From be952ce51263724b982d8b8fb41c5f7b813717fc Mon Sep 17 00:00:00 2001 From: Matthew Evans Date: Tue, 20 May 2025 10:36:19 +0100 Subject: [PATCH 3/3] Linting --- yard/data/extractors/neware-nda.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/yard/data/extractors/neware-nda.yml b/yard/data/extractors/neware-nda.yml index 5acdfce..8851244 100644 --- a/yard/data/extractors/neware-nda.yml +++ b/yard/data/extractors/neware-nda.yml @@ -1,10 +1,12 @@ --- id: >- - neware-nda + neware-nda name: >- - NewareNDA + NewareNDA description: >- - Python module and command line tool for reading and converting Neware nda and ndax battery cycling files. Auxiliary temperature fields are currently supported in both formats. + Python module and command line tool for reading and converting Neware nda and + ndax battery cycling files. Auxiliary temperature fields are currently supported + in both formats. supported_filetypes: - id: neware-nda license: @@ -21,9 +23,9 @@ citations: source_repository: https://github.com/d-cogswell/NewareNDA usage: - method: python - setup: NewareNDA + setup: NewareNDA command: NewareNDA.read({{ input_path }}) - - method: cli + - method: cli command: NewareNDA-cli {{ input_path }} {{ output_path }} installation: - method: pip