Skip to content

Commit d41a98b

Browse files
dweindldilpath
andauthored
Apply suggestions from code review
Co-authored-by: Dilan Pathirana <59329744+dilpath@users.noreply.github.com>
1 parent f68e095 commit d41a98b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

petab/v2/lint.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ def run(self, problem: Problem) -> ValidationIssue | None:
261261
if undefined_observables := (used_observables - defined_observables):
262262
return ValidationError(
263263
f"Observable(s) {undefined_observables} are used in the "
264-
"measurement table but are not defined in observable table."
264+
"measurement table but are not defined in the observable table."
265265
)
266266

267267
return None
@@ -288,8 +288,8 @@ def run(self, problem: Problem) -> ValidationIssue | None:
288288
expected = observable_parameters_count[m.observable_id]
289289
except KeyError:
290290
messages.append(
291-
f"Observable {m.observable_id} used in measurement "
292-
f"table is not defined in the observable table."
291+
f"Observable {m.observable_id} is used in the measurement "
292+
f"table but is not defined in the observable table."
293293
)
294294
continue
295295

0 commit comments

Comments
 (0)