Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pydatalab/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ apps = [
# NMR
"nmrglue ~= 0.10",
# Electrochemistry
"navani >= 0.1.11",
"navani >= 0.1.13",
# Raman
"pybaselines ~= 1.1",
"renishawwire >= 0.1.16",
Expand Down
24 changes: 23 additions & 1 deletion pydatalab/src/pydatalab/apps/echem/blocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,32 @@ class CycleBlock(DataBlock):
This class that contains functions for processing dataframes created by navani
from raw cycler files and plotting them with Bokeh.

Navani documentation: https://be-smith.github.io/navani/

The file formats currently supported are:

- Biologic (.mpr) - requires galvani https://github.com/echemdata/galvani
- Arbin (.res, .xls and .xlsx) - the .res format requires galvani https://github.com/echemdata/galvani
- Neware (.nda, .ndax)
- Ivium (.txt)
- Lanhe/Lande (.xls, .xlsx) - most formats, certain exports may not work depending on the software version or settings
- Preprocessed (.csv) - CSV files with appropriate columns ['Capacity', 'Voltage', 'half cycle', 'full cycle', 'Current', 'state']

"""

blocktype = "cycle"
name = "Electrochemical cycling"
description = "This block can plot data from electrochemical cycling experiments from many different cycler's file formats."
description = """This block can plot data from electrochemical cycling experiments from many different cycler's file formats.
The file formats currently supported are:

- Biologic (.mpr)
- Arbin (.res, .xls and .xlsx)
- Neware (.nda, .ndax)
- Ivium (.txt)
- Lanhe/Lande (.xls, .xlsx)
- Preprocessed (.csv) (previously extracted by navani or other tools)

"""

accepted_file_extensions = (
".mpr",
Expand All @@ -41,6 +62,7 @@ class CycleBlock(DataBlock):
".res",
".nda",
".ndax",
".csv",
)

defaults: dict[str, Any] = {
Expand Down
8 changes: 4 additions & 4 deletions pydatalab/uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.