From dc25a572f6944b7b00594277b1144530cf271c37 Mon Sep 17 00:00:00 2001 From: "Frank T. Bergmann" Date: Mon, 24 Jul 2023 09:58:09 +0200 Subject: [PATCH] - fix an issue when using newer libsbml fixes incompatibility caused by SWIG 4 --- copasi_petab_importer/convert_petab.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/copasi_petab_importer/convert_petab.py b/copasi_petab_importer/convert_petab.py index 79c8908..e5dbb43 100644 --- a/copasi_petab_importer/convert_petab.py +++ b/copasi_petab_importer/convert_petab.py @@ -95,7 +95,7 @@ def transform_model(self, observable_data): id = current.observableId # ignore invalid ids - if not libsbml.SyntaxChecker_isValidSBMLSId(id): + if not libsbml.SyntaxChecker.isValidSBMLSId(id): logger.warning( 'Invalid observableId {0} in observable table'. format(id))