Skip to content

Commit 56bf65c

Browse files
authored
Reword status messages (#175)
Previously, those status suggested that only the (SBML) model was checked.
1 parent 50f2644 commit 56bf65c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/petab_gui/controllers/mother_controller.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -857,11 +857,15 @@ def check_model(self):
857857

858858
# Log the consistency check result
859859
if not failed:
860-
self.logger.log_message("Model is consistent.", color="green")
860+
self.logger.log_message(
861+
"PEtab problem has no errors.", color="green"
862+
)
861863
for model in self.model.pandas_models.values():
862864
model.reset_invalid_cells()
863865
else:
864-
self.logger.log_message("Model is inconsistent.", color="red")
866+
self.logger.log_message(
867+
"PEtab problem has errors.", color="red"
868+
)
865869
except Exception as e:
866870
msg = f"PEtab linter failed at some point: {filtered_error(e)}"
867871
self.logger.log_message(msg, color="red")

0 commit comments

Comments
 (0)