From 8ef4aa19538e0a51b8990304a0ab29c2e67bd504 Mon Sep 17 00:00:00 2001 From: Scott Marquis Date: Sun, 8 Jan 2023 19:10:21 +0100 Subject: [PATCH] #2358 remove repeated line --- pybamm/experiments/experiment.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/pybamm/experiments/experiment.py b/pybamm/experiments/experiment.py index 68d09fe740..d8c281f51b 100644 --- a/pybamm/experiments/experiment.py +++ b/pybamm/experiments/experiment.py @@ -424,8 +424,6 @@ def _detect_mistyped_temperatures(self, cond): def _read_and_drop_temperature(self, cond): matches = re.findall(r"at\s-*\d+\.*\d*\s*oC", cond) - if len(matches) == 0 and "oC" in cond: - raise ValueError(f"Temperature not written " f"correctly on step: '{cond}'") if len(matches) == 0: