Skip to content

Commit

Permalink
- fix an issue when using newer libsbml
Browse files Browse the repository at this point in the history
fixes incompatibility caused by SWIG 4
  • Loading branch information
fbergmann committed Jul 24, 2023
1 parent badc82e commit dc25a57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion copasi_petab_importer/convert_petab.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit dc25a57

Please sign in to comment.