We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b7a572 commit e8d78a8Copy full SHA for e8d78a8
pybamm/experiments/experiment.py
@@ -422,23 +422,19 @@ def _detect_mistyped_temperatures(self, cond):
422
raise ValueError(f"Temperature not written correctly on step: '{cond}'")
423
424
def _read_and_drop_temperature(self, cond):
425
-
426
matches = re.findall(r"at\s-*\d+\.*\d*\s*oC", cond)
427
428
if len(matches) == 0:
429
430
self._detect_mistyped_temperatures(cond)
431
432
if self.temperature is None:
433
434
pybamm.logger.warning(
435
"Temperature not found on step: "
436
f"'{cond}', using temperature "
437
"from parameter values."
438
)
439
440
else:
441
442
443
f"Temperature not found on step: '{cond}', "
444
f"using global temperature "
0 commit comments