sys-bio / libOmexMeta

libOmexMeta is a library aimed at providing developer-level support for reading, writing, editing and managing semantic annotations for biosimulation models.
https://sys-bio.github.io/libOmexMeta/
Apache License 2.0
8 stars 6 forks source link

Update example of `to_editor` to current arguments #105

Closed jonrkarr closed 3 years ago

jonrkarr commented 3 years ago

L43 of example in "Simple example of creating a single annotation" section of https://sys-bio.github.io/libOmexMeta/docs-build/singular_annotations/index.html

editor = rdf.to_editor(sbml, "sbml")
CiaranWelsh commented 3 years ago

Interesting - this is actually valid syntax since the second argument is a bool and bool("sbml") evaluates to True - hence no error when building the docs examples. Thanks for pointing it out.

Fixed in fc116ac6a1927ceec5fdbbf640a02fdd8e737a6e