Skip to content

Commit

Permalink
Merge pull request #272 from sbmlteam/fbergmann-patch-1
Browse files Browse the repository at this point in the history
use . to access convertStringToXMLNode
  • Loading branch information
skeating committed Sep 24, 2022
2 parents 6687b73 + 019aa5e commit bd170ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/python/append_to_note.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def addToNotes(doc, id, stringToAdd):
exit(4)
print ("Body before change: ")
print (body.toXMLString())
body.addChild(libsbml.XMLNode_convertStringToXMLNode(stringToAdd))
body.addChild(libsbml.XMLNode.convertStringToXMLNode(stringToAdd))
print ("\nBody after change: ")
print (body.toXMLString())

Expand Down

0 comments on commit bd170ee

Please sign in to comment.