Skip to content

Commit

Permalink
#2358 remove repeated line
Browse files Browse the repository at this point in the history
  • Loading branch information
Scottmar93 committed Jan 8, 2023
1 parent 5fcc60b commit 8ef4aa1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pybamm/experiments/experiment.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit 8ef4aa1

Please sign in to comment.