From 92f0c0cdc0a89a8ab5070e4869ba6720b5069520 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 3 Dec 2024 17:59:16 +0000 Subject: [PATCH] style: pre-commit fixes --- examples/data/cycler_data/custom_instrument_1.yml | 1 - .../notebooks/getting_started/importing_cycler_data.ipynb | 6 ++++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/examples/data/cycler_data/custom_instrument_1.yml b/examples/data/cycler_data/custom_instrument_1.yml index 8b7e9545..89e53dad 100644 --- a/examples/data/cycler_data/custom_instrument_1.yml +++ b/examples/data/cycler_data/custom_instrument_1.yml @@ -53,4 +53,3 @@ raw_limits: stable_current_soft: 4.0 stable_voltage_hard: 2.0 stable_voltage_soft: 4.0 - diff --git a/examples/notebooks/getting_started/importing_cycler_data.ipynb b/examples/notebooks/getting_started/importing_cycler_data.ipynb index b5a8ee06..73a783c6 100644 --- a/examples/notebooks/getting_started/importing_cycler_data.ipynb +++ b/examples/notebooks/getting_started/importing_cycler_data.ipynb @@ -47,7 +47,9 @@ "source": [ "filedir = pathlib.Path(\"../../data/cycler_data\")\n", "instrument_file = filedir / \"custom_instrument_1.yml\"\n", - "c = cellpy.get(filedir / \"custom_data.csv\", instrument=\"custom\", instrument_file=instrument_file)" + "c = cellpy.get(\n", + " filedir / \"custom_data.csv\", instrument=\"custom\", instrument_file=instrument_file\n", + ")" ] }, { @@ -107,7 +109,7 @@ "# To save the data uncomment the following lines when running in local machine\n", "\"\"\" np.savetxt('time.csv', time, delimiter=\",\")\n", "np.savetxt('current.csv', current, delimiter=\",\")\n", - "np.savetxt('voltage.csv', voltage, delimiter=\",\") \"\"\"\n" + "np.savetxt('voltage.csv', voltage, delimiter=\",\") \"\"\"" ] } ],