libsbgnpy 0.6.3__tar.gz → 0.7.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (600) hide show
  1. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/CITATION.cff +4 -4
  2. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/PKG-INFO +4 -2
  3. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/docs/api/index.md +3 -1
  4. libsbgnpy-0.7.0/docs/api/schematron.md +3 -0
  5. libsbgnpy-0.7.0/docs/api/specification.md +3 -0
  6. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/docs/development.md +10 -3
  7. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/docs/extensions.md +2 -0
  8. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/docs/images.md +6 -2
  9. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/docs/index.md +16 -13
  10. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/docs/io.md +6 -2
  11. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/docs/maps.md +8 -5
  12. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/docs/render.md +1 -1
  13. libsbgnpy-0.7.0/docs/specifications.md +171 -0
  14. libsbgnpy-0.7.0/docs/validation.md +175 -0
  15. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/examples/README.md +1 -1
  16. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/examples/clone_marker.py +2 -0
  17. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/examples/ethanol.py +2 -0
  18. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/examples/extension.py +6 -1
  19. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/examples/labels.py +2 -0
  20. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/examples/notes.py +6 -1
  21. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/examples/render.py +6 -1
  22. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/examples/validate.py +13 -7
  23. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/examples/write.py +12 -2
  24. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/pyproject.toml +27 -2
  25. libsbgnpy-0.7.0/release-notes/0.6.4.md +29 -0
  26. libsbgnpy-0.7.0/release-notes/0.6.5.md +31 -0
  27. libsbgnpy-0.7.0/release-notes/0.7.0.md +28 -0
  28. libsbgnpy-0.7.0/scripts/generate_bindings.py +238 -0
  29. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/scripts/llms_txt.py +1 -1
  30. libsbgnpy-0.7.0/scripts/specification_docs.py +165 -0
  31. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/src/libsbgnpy/__init__.py +22 -3
  32. libsbgnpy-0.7.0/src/libsbgnpy/image.py +164 -0
  33. libsbgnpy-0.7.0/src/libsbgnpy/io.py +591 -0
  34. libsbgnpy-0.7.0/src/libsbgnpy/py.typed +0 -0
  35. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/src/libsbgnpy/render.py +2 -11
  36. libsbgnpy-0.7.0/src/libsbgnpy/sbgn.py +904 -0
  37. libsbgnpy-0.7.0/src/libsbgnpy/schema/LICENSE-libsbgn.txt +27 -0
  38. libsbgnpy-0.7.0/src/libsbgnpy/schema/README.md +59 -0
  39. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/src/libsbgnpy/schema/SBGN.xsd +7 -0
  40. libsbgnpy-0.7.0/src/libsbgnpy/schema/sbgn_af.sch +275 -0
  41. libsbgnpy-0.7.0/src/libsbgnpy/schema/sbgn_er.sch +289 -0
  42. libsbgnpy-0.7.0/src/libsbgnpy/schema/sbgn_pd.sch +635 -0
  43. libsbgnpy-0.7.0/src/libsbgnpy/schematron.py +195 -0
  44. libsbgnpy-0.7.0/src/libsbgnpy/specification.py +494 -0
  45. libsbgnpy-0.7.0/src/libsbgnpy/validator.py +90 -0
  46. libsbgnpy-0.7.0/tests/data/schematron/AF/af10101-fail.sbgn +34 -0
  47. libsbgnpy-0.7.0/tests/data/schematron/AF/af10101-pass.sbgn +35 -0
  48. libsbgnpy-0.7.0/tests/data/schematron/AF/af10102-fail-1.sbgn +17 -0
  49. libsbgnpy-0.7.0/tests/data/schematron/AF/af10102-fail-2.sbgn +17 -0
  50. libsbgnpy-0.7.0/tests/data/schematron/AF/af10102-fail-3.sbgn +17 -0
  51. libsbgnpy-0.7.0/tests/data/schematron/AF/af10102-fail-4.sbgn +17 -0
  52. libsbgnpy-0.7.0/tests/data/schematron/AF/af10102-pass.sbgn +17 -0
  53. libsbgnpy-0.7.0/tests/data/schematron/AF/af10103-fail.sbgn +35 -0
  54. libsbgnpy-0.7.0/tests/data/schematron/AF/af10103-pass.sbgn +35 -0
  55. libsbgnpy-0.7.0/tests/data/schematron/AF/af10104-fail.sbgn +34 -0
  56. libsbgnpy-0.7.0/tests/data/schematron/AF/af10104-pass.sbgn +35 -0
  57. libsbgnpy-0.7.0/tests/data/schematron/AF/af10109-fail.sbgn +35 -0
  58. libsbgnpy-0.7.0/tests/data/schematron/AF/af10109-pass.sbgn +35 -0
  59. libsbgnpy-0.7.0/tests/data/schematron/AF/af10110-fail.sbgn +34 -0
  60. libsbgnpy-0.7.0/tests/data/schematron/AF/af10111-fail.sbgn +42 -0
  61. libsbgnpy-0.7.0/tests/data/schematron/AF/af10111-pass.sbgn +26 -0
  62. libsbgnpy-0.7.0/tests/data/schematron/AF/af10112-fail.sbgn +25 -0
  63. libsbgnpy-0.7.0/tests/data/schematron/AF/af10113-fail.sbgn +17 -0
  64. libsbgnpy-0.7.0/tests/data/schematron/ER/er10103-fail.sbgn +29 -0
  65. libsbgnpy-0.7.0/tests/data/schematron/ER/er10103-pass.sbgn +25 -0
  66. libsbgnpy-0.7.0/tests/data/schematron/ER/er10104-fail.sbgn +31 -0
  67. libsbgnpy-0.7.0/tests/data/schematron/ER/er10104-pass.sbgn +27 -0
  68. libsbgnpy-0.7.0/tests/data/schematron/ER/er10106-fail-1.sbgn +26 -0
  69. libsbgnpy-0.7.0/tests/data/schematron/ER/er10106-fail-2.sbgn +26 -0
  70. libsbgnpy-0.7.0/tests/data/schematron/ER/er10106-fail-3.sbgn +26 -0
  71. libsbgnpy-0.7.0/tests/data/schematron/ER/er10106-fail-4.sbgn +26 -0
  72. libsbgnpy-0.7.0/tests/data/schematron/ER/er10106-fail-5.sbgn +26 -0
  73. libsbgnpy-0.7.0/tests/data/schematron/ER/er10106-fail-6.sbgn +26 -0
  74. libsbgnpy-0.7.0/tests/data/schematron/ER/er10106-pass.sbgn +26 -0
  75. libsbgnpy-0.7.0/tests/data/schematron/ER/er10107-fail-1.sbgn +25 -0
  76. libsbgnpy-0.7.0/tests/data/schematron/ER/er10107-fail-2.sbgn +25 -0
  77. libsbgnpy-0.7.0/tests/data/schematron/ER/er10107-fail-3.sbgn +25 -0
  78. libsbgnpy-0.7.0/tests/data/schematron/ER/er10107-fail-4.sbgn +25 -0
  79. libsbgnpy-0.7.0/tests/data/schematron/ER/er10107-fail-5.sbgn +25 -0
  80. libsbgnpy-0.7.0/tests/data/schematron/ER/er10107-fail-6.sbgn +25 -0
  81. libsbgnpy-0.7.0/tests/data/schematron/ER/er10107-pass.sbgn +26 -0
  82. libsbgnpy-0.7.0/tests/data/schematron/ER/er10108-fail-1.sbgn +43 -0
  83. libsbgnpy-0.7.0/tests/data/schematron/ER/er10108-fail-2.sbgn +43 -0
  84. libsbgnpy-0.7.0/tests/data/schematron/ER/er10108-pass.sbgn +35 -0
  85. libsbgnpy-0.7.0/tests/data/schematron/ER/er10109-fail.sbgn +40 -0
  86. libsbgnpy-0.7.0/tests/data/schematron/ER/er10109-pass.sbgn +40 -0
  87. libsbgnpy-0.7.0/tests/data/schematron/ER/er10111-fail.sbgn +53 -0
  88. libsbgnpy-0.7.0/tests/data/schematron/ER/er10111-pass.sbgn +27 -0
  89. libsbgnpy-0.7.0/tests/data/schematron/ER/er20001-fail.sbgn +55 -0
  90. libsbgnpy-0.7.0/tests/data/schematron/ER/er20001-pass.sbgn +57 -0
  91. libsbgnpy-0.7.0/tests/data/schematron/PD/pd10101-fail.sbgn +27 -0
  92. libsbgnpy-0.7.0/tests/data/schematron/PD/pd10101-pass.sbgn +27 -0
  93. libsbgnpy-0.7.0/tests/data/schematron/PD/pd10102-fail.sbgn +55 -0
  94. libsbgnpy-0.7.0/tests/data/schematron/PD/pd10102-pass.sbgn +55 -0
  95. libsbgnpy-0.7.0/tests/data/schematron/PD/pd10103-fail.sbgn +37 -0
  96. libsbgnpy-0.7.0/tests/data/schematron/PD/pd10103-pass.sbgn +45 -0
  97. libsbgnpy-0.7.0/tests/data/schematron/PD/pd10104-fail.sbgn +55 -0
  98. libsbgnpy-0.7.0/tests/data/schematron/PD/pd10104-pass.sbgn +47 -0
  99. libsbgnpy-0.7.0/tests/data/schematron/PD/pd10105-fail.sbgn +27 -0
  100. libsbgnpy-0.7.0/tests/data/schematron/PD/pd10105-pass.sbgn +27 -0
  101. libsbgnpy-0.7.0/tests/data/schematron/PD/pd10106-fail.sbgn +27 -0
  102. libsbgnpy-0.7.0/tests/data/schematron/PD/pd10106-pass.sbgn +27 -0
  103. libsbgnpy-0.7.0/tests/data/schematron/PD/pd10107-fail.sbgn +37 -0
  104. libsbgnpy-0.7.0/tests/data/schematron/PD/pd10107-pass.sbgn +45 -0
  105. libsbgnpy-0.7.0/tests/data/schematron/PD/pd10108-fail.sbgn +42 -0
  106. libsbgnpy-0.7.0/tests/data/schematron/PD/pd10108-pass.sbgn +35 -0
  107. libsbgnpy-0.7.0/tests/data/schematron/PD/pd10109-fail-1.sbgn +51 -0
  108. libsbgnpy-0.7.0/tests/data/schematron/PD/pd10109-fail-2.sbgn +51 -0
  109. libsbgnpy-0.7.0/tests/data/schematron/PD/pd10109-fail-3.sbgn +51 -0
  110. libsbgnpy-0.7.0/tests/data/schematron/PD/pd10109-fail-4.sbgn +51 -0
  111. libsbgnpy-0.7.0/tests/data/schematron/PD/pd10109-fail-5.sbgn +51 -0
  112. libsbgnpy-0.7.0/tests/data/schematron/PD/pd10109-pass.sbgn +35 -0
  113. libsbgnpy-0.7.0/tests/data/schematron/PD/pd10110-fail-1.sbgn +35 -0
  114. libsbgnpy-0.7.0/tests/data/schematron/PD/pd10110-fail-2.sbgn +35 -0
  115. libsbgnpy-0.7.0/tests/data/schematron/PD/pd10110-fail-3.sbgn +35 -0
  116. libsbgnpy-0.7.0/tests/data/schematron/PD/pd10110-fail-4.sbgn +35 -0
  117. libsbgnpy-0.7.0/tests/data/schematron/PD/pd10110-fail-5.sbgn +35 -0
  118. libsbgnpy-0.7.0/tests/data/schematron/PD/pd10110-pass.sbgn +35 -0
  119. libsbgnpy-0.7.0/tests/data/schematron/PD/pd10111-fail-2.sbgn +72 -0
  120. libsbgnpy-0.7.0/tests/data/schematron/PD/pd10111-fail.sbgn +72 -0
  121. libsbgnpy-0.7.0/tests/data/schematron/PD/pd10111-pass.sbgn +68 -0
  122. libsbgnpy-0.7.0/tests/data/schematron/PD/pd10112-fail-1.sbgn +28 -0
  123. libsbgnpy-0.7.0/tests/data/schematron/PD/pd10112-fail-2.sbgn +28 -0
  124. libsbgnpy-0.7.0/tests/data/schematron/PD/pd10112-pass.sbgn +28 -0
  125. libsbgnpy-0.7.0/tests/data/schematron/PD/pd10124-fail.sbgn +67 -0
  126. libsbgnpy-0.7.0/tests/data/schematron/PD/pd10124-pass.sbgn +67 -0
  127. libsbgnpy-0.7.0/tests/data/schematron/PD/pd10125-fail.sbgn +35 -0
  128. libsbgnpy-0.7.0/tests/data/schematron/PD/pd10126-fail.sbgn +53 -0
  129. libsbgnpy-0.7.0/tests/data/schematron/PD/pd10126-pass.sbgn +45 -0
  130. libsbgnpy-0.7.0/tests/data/schematron/PD/pd10127-fail.sbgn +21 -0
  131. libsbgnpy-0.7.0/tests/data/schematron/PD/pd10127-pass.sbgn +17 -0
  132. libsbgnpy-0.7.0/tests/data/schematron/PD/pd10128-fail.sbgn +21 -0
  133. libsbgnpy-0.7.0/tests/data/schematron/PD/pd10128-pass.sbgn +17 -0
  134. libsbgnpy-0.7.0/tests/data/schematron/PD/pd10131-fail.sbgn +9 -0
  135. libsbgnpy-0.7.0/tests/data/schematron/PD/pd10131-pass.sbgn +27 -0
  136. libsbgnpy-0.7.0/tests/data/schematron/PD/pd10132-fail.sbgn +10 -0
  137. libsbgnpy-0.7.0/tests/data/schematron/PD/pd10132-pass.sbgn +27 -0
  138. libsbgnpy-0.7.0/tests/data/schematron/PD/pd10140-fail.sbgn +31 -0
  139. libsbgnpy-0.7.0/tests/data/schematron/PD/pd10140-pass.sbgn +27 -0
  140. libsbgnpy-0.7.0/tests/data/schematron/PD/pd10141-fail.sbgn +11 -0
  141. libsbgnpy-0.7.0/tests/data/schematron/PD/pd10141-pass.sbgn +27 -0
  142. libsbgnpy-0.7.0/tests/data/schematron/PD/pd10142-fail.sbgn +35 -0
  143. libsbgnpy-0.7.0/tests/data/schematron/PD/pd10142-pass.sbgn +53 -0
  144. libsbgnpy-0.7.0/tests/test_bindings.py +24 -0
  145. libsbgnpy-0.7.0/tests/test_data.py +64 -0
  146. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/test_examples.py +6 -4
  147. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/test_extension.py +24 -0
  148. libsbgnpy-0.7.0/tests/test_image.py +174 -0
  149. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/test_io.py +103 -0
  150. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/test_notes.py +43 -0
  151. libsbgnpy-0.7.0/tests/test_schematron.py +250 -0
  152. libsbgnpy-0.7.0/tests/test_specification.py +228 -0
  153. libsbgnpy-0.7.0/tests/test_specification_docs.py +23 -0
  154. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/test_validator.py +29 -0
  155. libsbgnpy-0.7.0/tox.ini +24 -0
  156. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/zensical.toml +6 -0
  157. libsbgnpy-0.6.3/.bumpversion.toml +0 -24
  158. libsbgnpy-0.6.3/.github/CODEOWNERS +0 -1
  159. libsbgnpy-0.6.3/.github/dependabot.yml +0 -29
  160. libsbgnpy-0.6.3/.github/pull_request_template.md +0 -12
  161. libsbgnpy-0.6.3/.github/rulesets/apply.sh +0 -43
  162. libsbgnpy-0.6.3/.github/rulesets/develop.json +0 -61
  163. libsbgnpy-0.6.3/.github/rulesets/main.json +0 -17
  164. libsbgnpy-0.6.3/.github/rulesets/tags.json +0 -16
  165. libsbgnpy-0.6.3/.github/workflows/ci-cd.yml +0 -129
  166. libsbgnpy-0.6.3/.github/workflows/docs.yml +0 -65
  167. libsbgnpy-0.6.3/.github/workflows/ruff.yml +0 -37
  168. libsbgnpy-0.6.3/.github/workflows/ty.yml +0 -38
  169. libsbgnpy-0.6.3/.pre-commit-config.yaml +0 -63
  170. libsbgnpy-0.6.3/.python-version +0 -1
  171. libsbgnpy-0.6.3/.zenodo.json +0 -22
  172. libsbgnpy-0.6.3/CLAUDE.md +0 -62
  173. libsbgnpy-0.6.3/docs/validation.md +0 -119
  174. libsbgnpy-0.6.3/presentations/HARMONY2025/custom.scss +0 -12
  175. libsbgnpy-0.6.3/presentations/HARMONY2025/images/badges.png +0 -0
  176. libsbgnpy-0.6.3/presentations/HARMONY2025/images/ethanol_example_arcs.png +0 -0
  177. libsbgnpy-0.6.3/presentations/HARMONY2025/images/ethanol_example_glyphs.png +0 -0
  178. libsbgnpy-0.6.3/presentations/HARMONY2025/images/ethanol_example_render.png +0 -0
  179. libsbgnpy-0.6.3/presentations/HARMONY2025/images/github_screenshot.png +0 -0
  180. libsbgnpy-0.6.3/presentations/HARMONY2025/images/libsbgnpy.png +0 -0
  181. libsbgnpy-0.6.3/presentations/HARMONY2025/images/libsbgnpy_large.png +0 -0
  182. libsbgnpy-0.6.3/presentations/HARMONY2025/images/libsbgnpy_screenshot.png +0 -0
  183. libsbgnpy-0.6.3/presentations/HARMONY2025/images/sbgn_logo.png +0 -0
  184. libsbgnpy-0.6.3/presentations/HARMONY2025/images/toure_drosophila.png +0 -0
  185. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy.html +0 -829
  186. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy.qmd +0 -264
  187. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/clipboard/clipboard.min.js +0 -7
  188. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/quarto-html/light-border.css +0 -1
  189. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/quarto-html/popper.min.js +0 -5
  190. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/quarto-html/quarto-syntax-highlighting-b2bd955b7378b94aa8c2ba4fafa553c9.css +0 -205
  191. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/quarto-html/tabby.min.js +0 -418
  192. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/quarto-html/tippy.css +0 -1
  193. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/quarto-html/tippy.umd.min.js +0 -1
  194. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/highlight/highlight.esm.js +0 -5
  195. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/highlight/highlight.js +0 -5
  196. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/highlight/monokai.css +0 -71
  197. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/highlight/plugin.js +0 -439
  198. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/highlight/zenburn.css +0 -80
  199. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/markdown/markdown.esm.js +0 -7
  200. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/markdown/markdown.js +0 -7
  201. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/markdown/plugin.js +0 -491
  202. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/math/katex.js +0 -96
  203. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/math/math.esm.js +0 -6
  204. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/math/math.js +0 -1
  205. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/math/mathjax2.js +0 -89
  206. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/math/mathjax3.js +0 -77
  207. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/math/plugin.js +0 -15
  208. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/notes/notes.esm.js +0 -1
  209. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/notes/notes.js +0 -1
  210. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/notes/plugin.js +0 -267
  211. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/notes/speaker-view.html +0 -898
  212. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/pdf-export/pdfexport.js +0 -115
  213. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/pdf-export/plugin.yml +0 -2
  214. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/quarto-line-highlight/line-highlight.css +0 -31
  215. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/quarto-line-highlight/line-highlight.js +0 -351
  216. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/quarto-line-highlight/plugin.yml +0 -4
  217. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/quarto-support/footer.css +0 -110
  218. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/quarto-support/plugin.yml +0 -5
  219. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/quarto-support/support.js +0 -419
  220. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/README.md +0 -163
  221. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/font-awesome/LICENSE.txt +0 -34
  222. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/font-awesome/css/all.css +0 -5
  223. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/font-awesome/css/brands.css +0 -5
  224. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/font-awesome/css/fontawesome.css +0 -5
  225. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/font-awesome/css/regular.css +0 -5
  226. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/font-awesome/css/solid.css +0 -5
  227. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/font-awesome/css/svg-with-js.css +0 -5
  228. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/font-awesome/css/v4-shims.css +0 -2170
  229. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/font-awesome/css/v4-shims.min.css +0 -5
  230. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/font-awesome/webfonts/fa-brands-400.eot +0 -0
  231. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/font-awesome/webfonts/fa-brands-400.svg +0 -1127
  232. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/font-awesome/webfonts/fa-brands-400.ttf +0 -0
  233. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/font-awesome/webfonts/fa-brands-400.woff +0 -0
  234. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/font-awesome/webfonts/fa-brands-400.woff2 +0 -0
  235. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/font-awesome/webfonts/fa-regular-400.eot +0 -0
  236. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/font-awesome/webfonts/fa-regular-400.svg +0 -467
  237. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/font-awesome/webfonts/fa-regular-400.ttf +0 -0
  238. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/font-awesome/webfonts/fa-regular-400.woff +0 -0
  239. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/font-awesome/webfonts/fa-regular-400.woff2 +0 -0
  240. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/font-awesome/webfonts/fa-solid-900.eot +0 -0
  241. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/font-awesome/webfonts/fa-solid-900.svg +0 -2231
  242. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/font-awesome/webfonts/fa-solid-900.ttf +0 -0
  243. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/font-awesome/webfonts/fa-solid-900.woff +0 -0
  244. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/font-awesome/webfonts/fa-solid-900.woff2 +0 -0
  245. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/img/blackboard.png +0 -0
  246. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/img/boardmarker-black.png +0 -0
  247. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/img/boardmarker-blue.png +0 -0
  248. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/img/boardmarker-green.png +0 -0
  249. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/img/boardmarker-orange.png +0 -0
  250. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/img/boardmarker-purple.png +0 -0
  251. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/img/boardmarker-red.png +0 -0
  252. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/img/boardmarker-yellow.png +0 -0
  253. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/img/chalk-blue.png +0 -0
  254. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/img/chalk-green.png +0 -0
  255. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/img/chalk-orange.png +0 -0
  256. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/img/chalk-purple.png +0 -0
  257. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/img/chalk-red.png +0 -0
  258. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/img/chalk-white.png +0 -0
  259. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/img/chalk-yellow.png +0 -0
  260. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/img/sponge.png +0 -0
  261. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/img/whiteboard.png +0 -0
  262. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/plugin.js +0 -1975
  263. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/plugin.yml +0 -7
  264. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/style.css +0 -44
  265. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/reveal-menu/menu.css +0 -346
  266. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/reveal-menu/menu.js +0 -1
  267. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/reveal-menu/plugin.yml +0 -9
  268. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/reveal-menu/quarto-menu.css +0 -68
  269. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/reveal-menu/quarto-menu.js +0 -46
  270. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/search/plugin.js +0 -243
  271. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/search/search.esm.js +0 -7
  272. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/search/search.js +0 -7
  273. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/zoom/plugin.js +0 -264
  274. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/zoom/zoom.esm.js +0 -11
  275. libsbgnpy-0.6.3/presentations/HARMONY2025/libsbgnpy_files/libs/revealjs/plugin/zoom/zoom.js +0 -11
  276. libsbgnpy-0.6.3/presentations/HARMONY2025/styles.css +0 -9
  277. libsbgnpy-0.6.3/presentations/HARMONY2026/.gitignore +0 -2
  278. libsbgnpy-0.6.3/presentations/HARMONY2026/README.md +0 -5
  279. libsbgnpy-0.6.3/presentations/HARMONY2026/_extensions/grantmcdermott/clean/_extension.yml +0 -20
  280. libsbgnpy-0.6.3/presentations/HARMONY2026/_extensions/grantmcdermott/clean/clean.scss +0 -351
  281. libsbgnpy-0.6.3/presentations/HARMONY2026/_extensions/grantmcdermott/clean/mathjax-config.js +0 -18
  282. libsbgnpy-0.6.3/presentations/HARMONY2026/custom.scss +0 -12
  283. libsbgnpy-0.6.3/presentations/HARMONY2026/images/badges.png +0 -0
  284. libsbgnpy-0.6.3/presentations/HARMONY2026/images/ethanol_example_arcs.png +0 -0
  285. libsbgnpy-0.6.3/presentations/HARMONY2026/images/ethanol_example_glyphs.png +0 -0
  286. libsbgnpy-0.6.3/presentations/HARMONY2026/images/ethanol_example_render.png +0 -0
  287. libsbgnpy-0.6.3/presentations/HARMONY2026/images/github_screenshot.png +0 -0
  288. libsbgnpy-0.6.3/presentations/HARMONY2026/images/headshot.png +0 -0
  289. libsbgnpy-0.6.3/presentations/HARMONY2026/images/libsbgnpy.png +0 -0
  290. libsbgnpy-0.6.3/presentations/HARMONY2026/images/libsbgnpy_large.png +0 -0
  291. libsbgnpy-0.6.3/presentations/HARMONY2026/images/libsbgnpy_screenshot.png +0 -0
  292. libsbgnpy-0.6.3/presentations/HARMONY2026/images/qr_livermetabolism.png +0 -0
  293. libsbgnpy-0.6.3/presentations/HARMONY2026/images/sbgn_logo.png +0 -0
  294. libsbgnpy-0.6.3/presentations/HARMONY2026/images/toure_drosophila.png +0 -0
  295. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy.bib +0 -123
  296. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy.qmd +0 -293
  297. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/clipboard/clipboard.min.js +0 -7
  298. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/quarto-html/light-border.css +0 -1
  299. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/quarto-html/popper.min.js +0 -5
  300. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/quarto-html/quarto-syntax-highlighting-ed96de9b727972fe78a7b5d16c58bf87.css +0 -236
  301. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/quarto-html/tabby.min.js +0 -418
  302. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/quarto-html/tippy.css +0 -1
  303. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/quarto-html/tippy.umd.min.js +0 -1
  304. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/highlight/highlight.esm.js +0 -5
  305. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/highlight/highlight.js +0 -5
  306. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/highlight/monokai.css +0 -71
  307. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/highlight/plugin.js +0 -439
  308. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/highlight/zenburn.css +0 -80
  309. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/markdown/markdown.esm.js +0 -7
  310. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/markdown/markdown.js +0 -7
  311. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/markdown/plugin.js +0 -491
  312. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/math/katex.js +0 -96
  313. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/math/math.esm.js +0 -6
  314. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/math/math.js +0 -1
  315. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/math/mathjax2.js +0 -89
  316. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/math/mathjax3.js +0 -77
  317. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/math/plugin.js +0 -15
  318. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/notes/notes.esm.js +0 -1
  319. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/notes/notes.js +0 -1
  320. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/notes/plugin.js +0 -267
  321. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/notes/speaker-view.html +0 -898
  322. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/pdf-export/pdfexport.js +0 -115
  323. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/pdf-export/plugin.yml +0 -2
  324. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/quarto-line-highlight/line-highlight.css +0 -31
  325. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/quarto-line-highlight/line-highlight.js +0 -351
  326. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/quarto-line-highlight/plugin.yml +0 -4
  327. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/quarto-support/footer.css +0 -110
  328. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/quarto-support/plugin.yml +0 -5
  329. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/quarto-support/support.js +0 -419
  330. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/README.md +0 -163
  331. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/font-awesome/LICENSE.txt +0 -34
  332. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/font-awesome/css/all.css +0 -5
  333. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/font-awesome/css/brands.css +0 -5
  334. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/font-awesome/css/fontawesome.css +0 -5
  335. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/font-awesome/css/regular.css +0 -5
  336. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/font-awesome/css/solid.css +0 -5
  337. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/font-awesome/css/svg-with-js.css +0 -5
  338. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/font-awesome/css/v4-shims.css +0 -2170
  339. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/font-awesome/css/v4-shims.min.css +0 -5
  340. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/font-awesome/webfonts/fa-brands-400.eot +0 -0
  341. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/font-awesome/webfonts/fa-brands-400.svg +0 -1127
  342. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/font-awesome/webfonts/fa-brands-400.ttf +0 -0
  343. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/font-awesome/webfonts/fa-brands-400.woff +0 -0
  344. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/font-awesome/webfonts/fa-brands-400.woff2 +0 -0
  345. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/font-awesome/webfonts/fa-regular-400.eot +0 -0
  346. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/font-awesome/webfonts/fa-regular-400.svg +0 -467
  347. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/font-awesome/webfonts/fa-regular-400.ttf +0 -0
  348. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/font-awesome/webfonts/fa-regular-400.woff +0 -0
  349. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/font-awesome/webfonts/fa-regular-400.woff2 +0 -0
  350. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/font-awesome/webfonts/fa-solid-900.eot +0 -0
  351. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/font-awesome/webfonts/fa-solid-900.svg +0 -2231
  352. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/font-awesome/webfonts/fa-solid-900.ttf +0 -0
  353. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/font-awesome/webfonts/fa-solid-900.woff +0 -0
  354. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/font-awesome/webfonts/fa-solid-900.woff2 +0 -0
  355. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/img/blackboard.png +0 -0
  356. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/img/boardmarker-black.png +0 -0
  357. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/img/boardmarker-blue.png +0 -0
  358. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/img/boardmarker-green.png +0 -0
  359. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/img/boardmarker-orange.png +0 -0
  360. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/img/boardmarker-purple.png +0 -0
  361. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/img/boardmarker-red.png +0 -0
  362. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/img/boardmarker-yellow.png +0 -0
  363. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/img/chalk-blue.png +0 -0
  364. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/img/chalk-green.png +0 -0
  365. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/img/chalk-orange.png +0 -0
  366. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/img/chalk-purple.png +0 -0
  367. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/img/chalk-red.png +0 -0
  368. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/img/chalk-white.png +0 -0
  369. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/img/chalk-yellow.png +0 -0
  370. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/img/sponge.png +0 -0
  371. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/img/whiteboard.png +0 -0
  372. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/plugin.js +0 -1975
  373. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/plugin.yml +0 -7
  374. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/reveal-chalkboard/style.css +0 -44
  375. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/reveal-menu/menu.css +0 -346
  376. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/reveal-menu/menu.js +0 -1
  377. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/reveal-menu/plugin.yml +0 -9
  378. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/reveal-menu/quarto-menu.css +0 -68
  379. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/reveal-menu/quarto-menu.js +0 -46
  380. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/search/plugin.js +0 -243
  381. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/search/search.esm.js +0 -7
  382. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/search/search.js +0 -7
  383. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/zoom/plugin.js +0 -264
  384. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/zoom/zoom.esm.js +0 -11
  385. libsbgnpy-0.6.3/presentations/HARMONY2026/libsbgnpy_files/libs/revealjs/plugin/zoom/zoom.js +0 -11
  386. libsbgnpy-0.6.3/presentations/HARMONY2026/mathjax-config.js +0 -18
  387. libsbgnpy-0.6.3/presentations/HARMONY2026/styles.css +0 -21
  388. libsbgnpy-0.6.3/src/libsbgnpy/image.py +0 -83
  389. libsbgnpy-0.6.3/src/libsbgnpy/io.py +0 -354
  390. libsbgnpy-0.6.3/src/libsbgnpy/sbgn.py +0 -1010
  391. libsbgnpy-0.6.3/src/libsbgnpy/schema/README.md +0 -35
  392. libsbgnpy-0.6.3/src/libsbgnpy/validator.py +0 -60
  393. libsbgnpy-0.6.3/tests/test_data.py +0 -39
  394. libsbgnpy-0.6.3/tests/test_image.py +0 -39
  395. libsbgnpy-0.6.3/tox.ini +0 -20
  396. libsbgnpy-0.6.3/uv.lock +0 -1600
  397. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/.gitignore +0 -0
  398. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/.ruff.toml +0 -0
  399. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/LICENSE +0 -0
  400. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/README.md +0 -0
  401. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/docs/README.md +0 -0
  402. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/docs/api/console.md +0 -0
  403. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/docs/api/image.md +0 -0
  404. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/docs/api/io.md +0 -0
  405. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/docs/api/log.md +0 -0
  406. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/docs/api/render.md +0 -0
  407. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/docs/api/sbgn.md +0 -0
  408. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/docs/api/validator.md +0 -0
  409. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/docs/images/ethanol_example.png +0 -0
  410. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/docs/images/favicon/favicon.ico +0 -0
  411. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/docs/images/favicon/libsbgnpy-100x100.png +0 -0
  412. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/docs/images/libsbgnpy.png +0 -0
  413. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/docs/images/libsbgnpy_large.png +0 -0
  414. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/docs/images/libsbgnpy_screenshot.png +0 -0
  415. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/docs/installation.md +0 -0
  416. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/docs/robots.txt +0 -0
  417. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/examples/read.py +0 -0
  418. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/examples/sbgn/adh.sbgn +0 -0
  419. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/examples/sbgn/adh_0.3.sbgn +0 -0
  420. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/examples/sbgn/glycolysis.sbgn +0 -0
  421. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/examples/sbgn/invalid.sbgn +0 -0
  422. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/examples/sbgn/neuronal_muscle_signalling_color.sbgn +0 -0
  423. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/release-notes/0.2.0.md +0 -0
  424. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/release-notes/0.2.2.md +0 -0
  425. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/release-notes/0.3.0.md +0 -0
  426. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/release-notes/0.3.1.md +0 -0
  427. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/release-notes/0.3.2.md +0 -0
  428. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/release-notes/0.3.3.md +0 -0
  429. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/release-notes/0.4.0.md +0 -0
  430. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/release-notes/0.4.1.md +0 -0
  431. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/release-notes/0.5.0.md +0 -0
  432. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/release-notes/0.5.1.md +0 -0
  433. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/release-notes/0.5.2.md +0 -0
  434. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/release-notes/0.6.0.md +0 -0
  435. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/release-notes/0.6.1.md +0 -0
  436. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/release-notes/0.6.2.md +0 -0
  437. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/release-notes/0.6.3.md +0 -0
  438. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/src/libsbgnpy/console.py +0 -0
  439. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/src/libsbgnpy/log.py +0 -0
  440. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/src/libsbgnpy/schema/render.xsd +0 -0
  441. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/AF/AF_Reference_Card.png +0 -0
  442. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/AF/AF_Reference_Card.sbgn +0 -0
  443. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/AF/activity-nodes.gml +0 -0
  444. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/AF/activity-nodes.png +0 -0
  445. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/AF/activity-nodes.sbgn +0 -0
  446. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/AF/auxiliary-units.gml +0 -0
  447. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/AF/auxiliary-units.png +0 -0
  448. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/AF/auxiliary-units.sbgn +0 -0
  449. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/AF/compartment.gml +0 -0
  450. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/AF/compartment.png +0 -0
  451. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/AF/compartment.sbgn +0 -0
  452. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/AF/delay.gml +0 -0
  453. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/AF/delay.png +0 -0
  454. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/AF/delay.sbgn +0 -0
  455. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/AF/modulation.gml +0 -0
  456. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/AF/modulation.png +0 -0
  457. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/AF/modulation.sbgn +0 -0
  458. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/AF/submap.gml +0 -0
  459. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/AF/submap.png +0 -0
  460. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/AF/submap.sbgn +0 -0
  461. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/AF/submap_expanded.gml +0 -0
  462. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/AF/submap_expanded.png +0 -0
  463. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/AF/submap_expanded.sbgn +0 -0
  464. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/AF/submaps_all-in-one.sbgn +0 -0
  465. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/AF/two_edges_between_two_activities.gml +0 -0
  466. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/AF/two_edges_between_two_activities.png +0 -0
  467. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/AF/two_edges_between_two_activities.sbgn +0 -0
  468. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/ER/ER_Reference_Card.png +0 -0
  469. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/ER/ER_Reference_Card.sbgn +0 -0
  470. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/ER/OR gate.gml +0 -0
  471. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/ER/OR gate.png +0 -0
  472. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/ER/OR gate.sbgn +0 -0
  473. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/ER/absolute inhibition.gml +0 -0
  474. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/ER/absolute inhibition.png +0 -0
  475. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/ER/absolute inhibition.sbgn +0 -0
  476. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/ER/absolute stimulation.png +0 -0
  477. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/ER/absolute stimulation.sbgn +0 -0
  478. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/ER/binary-no-outcome.gml +0 -0
  479. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/ER/binary-no-outcome.png +0 -0
  480. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/ER/binary-no-outcome.sbgn +0 -0
  481. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/ER/binary-with-perturbation-and-phenotype.gml +0 -0
  482. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/ER/binary-with-perturbation-and-phenotype.png +0 -0
  483. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/ER/binary-with-perturbation-and-phenotype.sbgn +0 -0
  484. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/ER/cis.gml +0 -0
  485. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/ER/cis.png +0 -0
  486. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/ER/cis.sbgn +0 -0
  487. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/ER/delay.gml +0 -0
  488. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/ER/delay.png +0 -0
  489. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/ER/delay.sbgn +0 -0
  490. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/ER/existence_variable.gml +0 -0
  491. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/ER/existence_variable.png +0 -0
  492. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/ER/existence_variable.sbgn +0 -0
  493. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/ER/implicit_xor.gml +0 -0
  494. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/ER/implicit_xor.png +0 -0
  495. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/ER/implicit_xor.sbgn +0 -0
  496. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/ER/invisible node.gml +0 -0
  497. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/ER/invisible node.png +0 -0
  498. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/ER/invisible node.sbgn +0 -0
  499. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/ER/location.gml +0 -0
  500. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/ER/location.png +0 -0
  501. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/ER/location.sbgn +0 -0
  502. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/ER/outcome-dual.gml +0 -0
  503. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/ER/outcome-dual.png +0 -0
  504. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/ER/outcome-dual.sbgn +0 -0
  505. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/ER/outcome-simplified.gml +0 -0
  506. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/ER/outcome-simplified.png +0 -0
  507. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/ER/outcome-simplified.sbgn +0 -0
  508. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/ER/phosphorylation.gml +0 -0
  509. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/ER/phosphorylation.png +0 -0
  510. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/ER/phosphorylation.sbgn +0 -0
  511. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/ER/ternary-interaction.gml +0 -0
  512. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/ER/ternary-interaction.png +0 -0
  513. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/ER/ternary-interaction.sbgn +0 -0
  514. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/ER/ternary-with-cardinality.gml +0 -0
  515. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/ER/ternary-with-cardinality.png +0 -0
  516. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/ER/ternary-with-cardinality.sbgn +0 -0
  517. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/ER/ternary-with-perturbation-and-phenotype.gml +0 -0
  518. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/ER/ternary-with-perturbation-and-phenotype.png +0 -0
  519. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/ER/ternary-with-perturbation-and-phenotype.sbgn +0 -0
  520. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/ER/trans.gml +0 -0
  521. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/ER/trans.png +0 -0
  522. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/ER/trans.sbgn +0 -0
  523. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/PD_Reference_Card.png +0 -0
  524. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/PD_Reference_Card.sbgn +0 -0
  525. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/activated_stat1alpha_induction_of_the_irf1_gene.png +0 -0
  526. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/activated_stat1alpha_induction_of_the_irf1_gene.sbgn +0 -0
  527. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/adh.gml +0 -0
  528. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/adh.png +0 -0
  529. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/adh.sbgn +0 -0
  530. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/and.gml +0 -0
  531. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/and.png +0 -0
  532. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/and.sbgn +0 -0
  533. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/annotation.png +0 -0
  534. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/annotation.sbgn +0 -0
  535. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/bool-expr-pd.png +0 -0
  536. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/bool-expr-pd.sbgn +0 -0
  537. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/clone-marker.gml +0 -0
  538. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/clone-marker.png +0 -0
  539. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/clone-marker.sbgn +0 -0
  540. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/compartmentOrder1.png +0 -0
  541. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/compartmentOrder1.sbgn +0 -0
  542. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/compartmentOrder2.png +0 -0
  543. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/compartmentOrder2.sbgn +0 -0
  544. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/compartments.gml +0 -0
  545. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/compartments.png +0 -0
  546. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/compartments.sbgn +0 -0
  547. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/edgerouting.gml +0 -0
  548. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/edgerouting.png +0 -0
  549. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/edgerouting.sbgn +0 -0
  550. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/glycolysis.png +0 -0
  551. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/glycolysis.sbgn +0 -0
  552. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/insulin-like_growth_factor_signaling.png +0 -0
  553. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/insulin-like_growth_factor_signaling.sbgn +0 -0
  554. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/labeledCloneMarker.png +0 -0
  555. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/labeledCloneMarker.sbgn +0 -0
  556. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/mapk_cascade.png +0 -0
  557. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/mapk_cascade.sbgn +0 -0
  558. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/mixed_arcs.png +0 -0
  559. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/multimer.gml +0 -0
  560. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/multimer.png +0 -0
  561. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/multimer.sbgn +0 -0
  562. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/multimer2.gml +0 -0
  563. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/multimer2.png +0 -0
  564. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/multimer2.sbgn +0 -0
  565. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/neuronal_muscle_signalling.png +0 -0
  566. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/neuronal_muscle_signalling.sbgn +0 -0
  567. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/neuronal_muscle_signalling_color.png +0 -0
  568. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/neuronal_muscle_signalling_color.sbgn +0 -0
  569. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/or-simple.gml +0 -0
  570. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/or-simple.png +0 -0
  571. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/or-simple.sbgn +0 -0
  572. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/protein_degradation.gml +0 -0
  573. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/protein_degradation.png +0 -0
  574. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/protein_degradation.sbgn +0 -0
  575. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/reversible-verticalpn.gml +0 -0
  576. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/reversible-verticalpn.png +0 -0
  577. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/reversible-verticalpn.sbgn +0 -0
  578. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/states.gml +0 -0
  579. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/states.png +0 -0
  580. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/states.sbgn +0 -0
  581. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/statesType2.png +0 -0
  582. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/statesType2.sbgn +0 -0
  583. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/statesType3.png +0 -0
  584. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/stoichiometry.gml +0 -0
  585. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/stoichiometry.png +0 -0
  586. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/stoichiometry.sbgn +0 -0
  587. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/submap.gml +0 -0
  588. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/submap.png +0 -0
  589. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/submap.sbgn +0 -0
  590. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/submap_expanded.gml +0 -0
  591. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/submap_expanded.png +0 -0
  592. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/submap_expanded.sbgn +0 -0
  593. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/submaps_MAPKcascade.sbgn +0 -0
  594. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/utf8_test_case_with_byte_order_mark.gml +0 -0
  595. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/utf8_test_case_with_byte_order_mark.png +0 -0
  596. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/utf8_test_case_with_byte_order_mark.sbgn +0 -0
  597. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/utf8_test_case_without_byte_order_mark.gml +0 -0
  598. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/utf8_test_case_without_byte_order_mark.png +0 -0
  599. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/data/PD/utf8_test_case_without_byte_order_mark.sbgn +0 -0
  600. {libsbgnpy-0.6.3 → libsbgnpy-0.7.0}/tests/test_libsbgn.py +0 -0
@@ -8,15 +8,15 @@ authors:
8
8
  given-names: "Matthias"
9
9
  orcid: "https://orcid.org/0000-0003-1725-179X"
10
10
  affiliation: "Humboldt-University Berlin, Faculty of Life Science, Institute for Biology, Biology, Berlin; University Lübeck; University Hospital Schleswig-Holstein, Campus Lübeck, First Department of Medicine, Germany"
11
- version: "0.6.3"
12
- date-released: "2026-09-07"
13
- doi: "10.5281/zenodo.22642321"
11
+ version: "0.7.0"
12
+ date-released: "2026-09-23"
13
+ doi: "10.5281/zenodo.22918324"
14
14
  identifiers:
15
15
  - type: doi
16
16
  value: "10.5281/zenodo.597155"
17
17
  description: "The concept DOI of the software, which always resolves to the latest version."
18
18
  - type: doi
19
- value: "10.5281/zenodo.22642321"
19
+ value: "10.5281/zenodo.22918324"
20
20
  description: "The DOI of the released version, which has to be updated with every release."
21
21
  license: MIT
22
22
  repository-code: "https://github.com/matthiaskoenig/libsbgnpy"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: libsbgnpy
3
- Version: 0.6.3
3
+ Version: 0.7.0
4
4
  Summary: libsbgnpy are python utilities for working with SBGN.
5
5
  Project-URL: Homepage, https://matthiaskoenig.github.io/libsbgnpy
6
6
  Project-URL: Documentation, https://matthiaskoenig.github.io/libsbgnpy
@@ -31,14 +31,16 @@ Requires-Dist: rich>=15.0.0
31
31
  Requires-Dist: xsdata>=26.2
32
32
  Provides-Extra: dev
33
33
  Requires-Dist: bump-my-version>=1.5.1; extra == 'dev'
34
- Requires-Dist: lxml-stubs>=0.5.1; extra == 'dev'
35
34
  Requires-Dist: mkdocstrings-python>=2.0.8; extra == 'dev'
36
35
  Requires-Dist: pre-commit>=4.6.2; extra == 'dev'
37
36
  Requires-Dist: pytest-cov>=7.1.0; extra == 'dev'
38
37
  Requires-Dist: pytest>=9.1.1; extra == 'dev'
39
38
  Requires-Dist: ruff>=0.16.6; extra == 'dev'
39
+ Requires-Dist: tox-uv>=1.36.0; extra == 'dev'
40
40
  Requires-Dist: tox>=4.61.2; extra == 'dev'
41
41
  Requires-Dist: ty>=0.0.78; extra == 'dev'
42
+ Requires-Dist: types-lxml>=2026.2.16; extra == 'dev'
43
+ Requires-Dist: xsdata[cli]>=26.2; extra == 'dev'
42
44
  Requires-Dist: zensical>=0.0.59; extra == 'dev'
43
45
  Description-Content-Type: text/markdown
44
46
 
@@ -16,7 +16,9 @@ The python bindings of the SBGN-ML schemas, generated with [xsdata](https://gith
16
16
  | module | description |
17
17
  | --- | --- |
18
18
  | [io](io.md) | reading and writing of SBGN documents |
19
- | [validator](validator.md) | validation against the SBGN XSD schema |
19
+ | [specification](specification.md) | versions and vocabularies of the SBGN specifications, the checks beyond the schema |
20
+ | [validator](validator.md) | validation against the schema and the SBGN specifications |
21
+ | [schematron](schematron.md) | validation against the schematron rules of the SBGN languages |
20
22
  | [image](image.md) | rendering of a map as an image |
21
23
 
22
24
  ## Output of the package
@@ -0,0 +1,3 @@
1
+ # schematron
2
+
3
+ ::: libsbgnpy.schematron
@@ -0,0 +1,3 @@
1
+ # specification
2
+
3
+ ::: libsbgnpy.specification
@@ -108,11 +108,14 @@ Python 3.15 is tested using the available prerelease until its final release. Th
108
108
  To run the tests directly against the development environment use
109
109
 
110
110
  ```bash
111
- pytest # the full suite
111
+ pytest # the full suite, without network
112
112
  pytest tests/test_io.py # a single module
113
113
  pytest tests/test_io.py::test_upconvert # a single test
114
+ pytest -m network # the tests querying the web service
114
115
  ```
115
116
 
117
+ The tests which query the rendering web service, i.e., `test_render_sbgn` and the `ethanol.py` example, are marked as `network` and deselected by default, so the suite and the CI do not depend on the availability of the service. The behavior of `render_sbgn` is tested against a local HTTP server.
118
+
116
119
  `tests/data` holds the reference maps of the SBGN specifications, one directory per map language. `tests/test_data.py` reads, writes and validates every one of them, so a change to the bindings or to the io is checked against the whole corpus.
117
120
 
118
121
  `tests/test_examples.py` runs every example of `examples/` in a temporary working directory, which keeps the examples of the documentation working. The tests of `tests/test_image.py` query the rendering web service and therefore require network access.
@@ -181,9 +184,13 @@ The `documentation` workflow runs both steps, so the files are regenerated with
181
184
 
182
185
  ## Regenerating the bindings { #regenerating-the-bindings }
183
186
 
184
- `libsbgnpy.sbgn` and `libsbgnpy.render` are generated modules and should not be edited by hand. They are generated from the schemas in `src/libsbgnpy/schema/` with [xsdata](https://github.com/tefra/xsdata); the current schemas are published with [sbgn/libsbgn](https://github.com/sbgn/libsbgn) in the `resources` folder. The procedure and the manual fixes which are applied afterwards are described in `src/libsbgnpy/schema/README.md`.
187
+ `libsbgnpy.sbgn` and `libsbgnpy.render` are generated modules and should not be edited by hand. They are generated from the schemas in `src/libsbgnpy/schema/` with [xsdata](https://github.com/tefra/xsdata); the current schemas are published with [sbgn/libsbgn](https://github.com/sbgn/libsbgn) in the `resources` folder. `scripts/generate_bindings.py` runs the generation, including every fix applied to the output of xsdata and the formatting:
188
+
189
+ ```bash
190
+ uv run python scripts/generate_bindings.py
191
+ ```
185
192
 
186
- Run `ruff format` and `ruff check --fix` afterwards, the generated modules are neither formatted nor on current python syntax.
193
+ `tests/test_bindings.py` checks that the committed modules are up to date with the schemas and the installed xsdata. The fixes are described in `src/libsbgnpy/schema/README.md`.
187
194
 
188
195
  ## Work in progress
189
196
 
@@ -74,6 +74,8 @@ for glyph in sbgn.map[0].glyph:
74
74
  # <html:body xmlns:html="http://www.w3.org/1999/xhtml">The insulin receptor.</html:body>
75
75
  ```
76
76
 
77
+ Element-only content is indented with two spaces. Mixed content, i.e., text next to elements as in `<p>A <b>bold</b> word</p>`, is written as it is, since indenting it would change the text. Comments are dropped, the text around them is kept.
78
+
77
79
  The counterpart is `element_from_string`, which parses XML into such an entry. It is applied automatically when a document is written, so it is only needed to work with the entries directly.
78
80
 
79
81
  Render information stored in an extension is read back with `read_render_from_extension`, see [Render information](render.md).
@@ -21,9 +21,13 @@ curl -X POST -F file=@"map.sbgn" https://sbml.bioquant.uni-heidelberg.de/layout
21
21
 
22
22
  ## Requirements and errors
23
23
 
24
- Rendering needs an internet connection. The service is queried with a timeout of 60 seconds, `requests` raises a `RequestException` if it cannot be reached or answers with an error.
24
+ Rendering needs an internet connection. The service is queried with a timeout of 60 seconds, `requests` raises a `RequestException` if it cannot be reached or answers with an error. If it answers with something else than an image, e.g., the html page of a proxy, or with an image larger than 50 MB, `render_sbgn` raises a `RenderError`, a subclass of `RequestException`. The image file is written atomically, so a failed rendering never leaves a partial file and an existing image stays as it is.
25
25
 
26
- Only PNG is supported, and the image file has to end in `.png`; anything else raises a `ValueError` before the request is made.
26
+ Only PNG is supported, and the image file has to end in `.png` (in any case); anything else raises a `ValueError` before the request is made.
27
+
28
+ !!! warning "The service currently returns JPEG images"
29
+
30
+ The web service declares its answer as `image/png`, but currently sends a JPEG. `render_sbgn` writes the image as it is and logs a warning; most image viewers and browsers detect the actual format.
27
31
 
28
32
  ## The layout comes from the document
29
33
 
@@ -13,16 +13,17 @@ A pathway drawn by hand is a picture: a human sees what it means, a machine sees
13
13
  - **Entity Relationship (ER)** — which entity influences which other entity, without ordering the events,
14
14
  - **Activity Flow (AF)** — the flow of activity between the entities, the level of a cartoon in a review.
15
15
 
16
- **SBGN-ML** is the exchange format of such a map ([van Iersel et al. 2012](https://doi.org/10.1186/1471-2105-13-S6-S12)): an XML document which stores the glyphs, the arcs between them, and the coordinates they are drawn at, so a map travels between the tools that draw it. `libsbgnpy` reads, writes, validates and renders these documents from python.
16
+ **SBGN-ML** is the exchange format of such a map ([van Iersel et al. 2012](https://doi.org/10.1186/1471-2105-13-S6-S12)): an XML document which stores the glyphs, the arcs between them, and the coordinates they are drawn at, so a map travels between the tools that draw it. `libsbgnpy` reads, writes, validates and renders these documents from python, following SBGN-ML 0.3 ([Bergmann et al. 2020](https://doi.org/10.1515/jib-2020-0016)) and the latest language specifications, see [SBGN specifications](specifications.md).
17
17
 
18
18
  ## Features
19
19
 
20
- - **[SBGN maps](maps.md)** — the complete SBGN-ML schema as python classes, generated with [xsdata](https://github.com/tefra/xsdata): maps, glyphs, arcs, ports and bounding boxes, with the classes of the three languages as enums.
21
- - **[Reading and writing](io.md)** — read and write SBGN-ML documents from files or strings; SBGN-ML 0.1 and 0.2 documents are upconverted while reading.
22
- - **[Notes and extensions](extensions.md)** — the arbitrary XML which SBGN elements carry, written and read back as XML.
23
- - **[Render information](render.md)** — colors, gradients and styles of a map, stored as an extension.
24
- - **[Validation](validation.md)** — validation of a document against the SBGN XSD schema.
25
- - **[Images](images.md)** — rendering of a map as a PNG through a web service.
20
+ - **[SBGN specifications](specifications.md)** - the versions of the language specifications, up to PD Level 1 Version 2.1, and the glyphs and arcs of every language.
21
+ - **[SBGN maps](maps.md)** - the complete SBGN-ML schema as python classes, generated with [xsdata](https://github.com/tefra/xsdata): maps, glyphs, arcs, ports and bounding boxes, with the classes of the three languages as enums.
22
+ - **[Reading and writing](io.md)** - read and write SBGN-ML documents from files or strings; SBGN-ML 0.1 and 0.2 documents are upconverted while reading.
23
+ - **[Notes and extensions](extensions.md)** - the arbitrary XML which SBGN elements carry, written and read back as XML.
24
+ - **[Render information](render.md)** - colors, gradients and styles of a map, stored as an extension.
25
+ - **[Validation](validation.md)** - validation of a document against the SBGN XSD schema, the rules of the SBGN specifications which the schema lacks and the schematron rules of the SBGN languages.
26
+ - **[Images](images.md)** - rendering of a map as a PNG through a web service.
26
27
 
27
28
  ## Quickstart
28
29
 
@@ -31,12 +32,12 @@ Read an SBGN document and walk over its content:
31
32
  ```python
32
33
  from pathlib import Path
33
34
 
34
- from libsbgnpy import read_sbgn_from_file
35
+ from libsbgnpy import map_language, read_sbgn_from_file
35
36
 
36
37
  sbgn = read_sbgn_from_file(Path("examples/sbgn/adh.sbgn"))
37
38
  map = sbgn.map[0]
38
39
 
39
- print(map.language)
40
+ print(map_language(map))
40
41
  # MapLanguage.PROCESS_DESCRIPTION
41
42
 
42
43
  for glyph in map.glyph:
@@ -50,6 +51,7 @@ Create a map from scratch, write it and render it:
50
51
  from pathlib import Path
51
52
 
52
53
  from libsbgnpy import (
54
+ LATEST,
53
55
  Bbox,
54
56
  Glyph,
55
57
  GlyphClass,
@@ -63,6 +65,7 @@ from libsbgnpy import (
63
65
 
64
66
  map = Map(
65
67
  id="ethanol",
68
+ version=LATEST[MapLanguage.PROCESS_DESCRIPTION],
66
69
  language=MapLanguage.PROCESS_DESCRIPTION,
67
70
  bbox=Bbox(x=0, y=0, w=363, h=253),
68
71
  )
@@ -99,7 +102,7 @@ The documentation is published as markdown as well, following the [llms.txt conv
99
102
 
100
103
  If you use `libsbgnpy` please cite the archived software on Zenodo. [10.5281/zenodo.597155](https://doi.org/10.5281/zenodo.597155) is the concept DOI, which always resolves to the latest version; the DOI below is the one of this release:
101
104
 
102
- > König, M. (2026). *libsbgnpy: python library for SBGN* (Version 0.6.1) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.22642321
105
+ > König, M. (2026). *libsbgnpy: python library for SBGN* (Version 0.6.3) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.22918324
103
106
 
104
107
  ```bibtex
105
108
  @software{konig_libsbgnpy,
@@ -107,10 +110,10 @@ If you use `libsbgnpy` please cite the archived software on Zenodo. [10.5281/zen
107
110
  title = {libsbgnpy: python library for SBGN},
108
111
  year = {2026},
109
112
  month = {9},
110
- version = {0.6.1},
113
+ version = {0.6.3},
111
114
  publisher = {Zenodo},
112
- doi = {10.5281/zenodo.22642321},
113
- url = {https://doi.org/10.5281/zenodo.22642321},
115
+ doi = {10.5281/zenodo.22918324},
116
+ url = {https://doi.org/10.5281/zenodo.22918324},
114
117
  }
115
118
  ```
116
119
 
@@ -22,7 +22,7 @@ for arc in map.arc:
22
22
 
23
23
  Reading does not validate the document against the schema, it only parses it. To check that a document follows the schema see [Validation](validation.md).
24
24
 
25
- A file which is no well formed XML raises an `xsdata.exceptions.ParserError`, and the path of the file is logged:
25
+ A file which is no well formed XML, or whose root is no SBGN-ML `sbgn` element, raises an `xsdata.exceptions.ParserError`, and the path of the file is logged:
26
26
 
27
27
  ```python
28
28
  from xsdata.exceptions import ParserError
@@ -33,9 +33,13 @@ except ParserError as err:
33
33
  print(f"not an SBGN document: {err}")
34
34
  ```
35
35
 
36
+ A file is decoded with the encoding its XML declaration names, UTF-8 if it names none. A string passed to `read_sbgn_from_string` is already decoded, so an encoding in its declaration is ignored.
37
+
38
+ Documents are parsed as untrusted input: entities are not resolved and nothing is loaded from the network, so a document cannot read local files or reach other hosts through an external entity.
39
+
36
40
  ### Older SBGN-ML versions
37
41
 
38
- The bindings are generated from the SBGN-ML 0.3 schema. Documents in the earlier namespaces `http://sbgn.org/libsbgn/0.1` and `http://sbgn.org/libsbgn/0.2` are upconverted while reading, i.e., they are read like a 0.3 document and written back as one. The conversion is `upconvert`, which is applied by the reader and by the validator:
42
+ The bindings are generated from the SBGN-ML 0.3 schema. Documents in the earlier namespaces `http://sbgn.org/libsbgn/0.1` and `http://sbgn.org/libsbgn/0.2` are upconverted while reading, i.e., they are read like a 0.3 document and written back as one. The conversion is `upconvert`, which is applied by the reader and by the validator. It changes only the names of the elements and attributes, text and attribute values which mention a namespace are left as they are:
39
43
 
40
44
  ```python
41
45
  from libsbgnpy.io import upconvert
@@ -1,23 +1,24 @@
1
1
  # SBGN maps
2
2
 
3
- The classes of `libsbgnpy.sbgn` are the python bindings of the SBGN-ML schema, generated with [xsdata](https://github.com/tefra/xsdata). They mirror the schema, so the [SBGN specifications](https://github.com/sbgn/sbgn/wiki/SBGN_Specifications) are the reference for what an element means; this page describes how the classes are used.
3
+ The classes of `libsbgnpy.sbgn` are the python bindings of the SBGN-ML schema, generated with [xsdata](https://github.com/tefra/xsdata). They mirror the schema, so the [SBGN specifications](specifications.md) are the reference for what an element means; this page describes how the classes are used.
4
4
 
5
5
  ## The document
6
6
 
7
- An SBGN-ML document is an `Sbgn` object holding one or more `Map` objects. A map declares its language, an optional bounding box, and holds the glyphs and arcs it is drawn from:
7
+ An SBGN-ML document is an `Sbgn` object holding one or more `Map` objects. A map declares the specification it follows, an optional bounding box, and holds the glyphs and arcs it is drawn from:
8
8
 
9
9
  ```python
10
- from libsbgnpy import Bbox, Map, MapLanguage, Sbgn
10
+ from libsbgnpy import LATEST, Bbox, Map, MapLanguage, Sbgn
11
11
 
12
12
  map = Map(
13
13
  id="ethanol",
14
+ version=LATEST[MapLanguage.PROCESS_DESCRIPTION],
14
15
  language=MapLanguage.PROCESS_DESCRIPTION,
15
16
  bbox=Bbox(x=0, y=0, w=363, h=253),
16
17
  )
17
18
  sbgn = Sbgn(map=[map])
18
19
  ```
19
20
 
20
- `MapLanguage` is the language of the map, i.e., which vocabulary of glyphs and arcs applies:
21
+ The language of the map decides which vocabulary of glyphs and arcs applies:
21
22
 
22
23
  | language | what it describes |
23
24
  | --- | --- |
@@ -25,6 +26,8 @@ sbgn = Sbgn(map=[map])
25
26
  | `MapLanguage.ENTITY_RELATIONSHIP` | which entity influences which other entity |
26
27
  | `MapLanguage.ACTIVITY_FLOW` | the flow of activity between the entities |
27
28
 
29
+ The `version` is the identifier of the specification, e.g., PD Level 1 Version 2.1, and names the language as well; `LATEST` holds the version of the latest specification of every language. SBGN-ML 0.3 deprecated the `language` in favour of the `version` and requires one of them; setting both keeps the map readable for tools which only know the `language`. `map_language` returns the language of a map from either attribute, see [SBGN specifications](specifications.md#the-version-of-a-map).
30
+
28
31
  All classes are keyword only, i.e., `Map(id="ethanol")` works and `Map("ethanol")` does not. Every list attribute (`map`, `glyph`, `arc`, `port`) defaults to an empty list, so it can be extended after the object was created.
29
32
 
30
33
  ## Glyphs
@@ -44,7 +47,7 @@ map.glyph.append(
44
47
  )
45
48
  ```
46
49
 
47
- The class of a glyph is the shape it is drawn as, `GlyphClass` has all classes of the three languages, e.g., `SIMPLE_CHEMICAL`, `MACROMOLECULE`, `COMPLEX`, `PROCESS`, `COMPARTMENT`, `BIOLOGICAL_ACTIVITY` or `PHENOTYPE`. The attribute is called `class_value`, since `class` is a python keyword.
50
+ The class of a glyph is the shape it is drawn as, `GlyphClass` has all classes of the three languages, e.g., `SIMPLE_CHEMICAL`, `MACROMOLECULE`, `COMPLEX`, `PROCESS`, `COMPARTMENT`, `BIOLOGICAL_ACTIVITY` or `PHENOTYPE`. Only some of them belong to the language of a map, see [Glyphs and arcs of every language](specifications.md#glyphs-and-arcs-of-every-language). The attribute is called `class_value`, since `class` is a python keyword.
48
51
 
49
52
  !!! note "Coordinates"
50
53
 
@@ -77,7 +77,7 @@ if render_info is not None:
77
77
  # grey #969696
78
78
  ```
79
79
 
80
- It returns `None` if the map carries no render information. To parse a `renderInformation` document which is not stored in an extension use `read_render_from_string`.
80
+ It returns `None` if the map carries no render information. Render information in the namespace of the earlier EML render extension (`http://projects.eml.org/bcb/sbml/render/level2`), as written by older tools, is upconverted; the attributes without counterpart in the SBML render extension, `z1`, `z2` and `spreadMethod` of a linear gradient, are dropped. To parse a `renderInformation` document which is not stored in an extension use `read_render_from_string`.
81
81
 
82
82
  ## Examples
83
83
 
@@ -0,0 +1,171 @@
1
+ # SBGN specifications
2
+
3
+ SBGN is defined by two kinds of specifications: the **language specifications** define what a glyph and an arc mean and how they may be combined, one for each of the three languages, and the **SBGN-ML specification** defines how a map is stored as XML. `libsbgnpy` implements SBGN-ML 0.3 and knows the versions and the vocabularies of the language specifications, see `libsbgnpy.specification`. The specifications are published on [sbgn.github.io/specifications](https://sbgn.github.io/specifications) and registered with [COMBINE](https://github.com/combine-org/combine-specifications).
4
+
5
+ ## The languages
6
+
7
+ | language | specification | publication |
8
+ | --- | --- | --- |
9
+ | Process Description (PD) | Level 1 Version 2.1 (2026) | Balci, Rougny et al. *Systems biology graphical notation: process description language level 1 version 2.1.* J Integr Bioinform (2026). [10.1515/jib-2025-0018](https://doi.org/10.1515/jib-2025-0018) |
10
+ | Entity Relationship (ER) | Level 1 Version 2.0 (2015) | Sorokin et al. *Systems Biology Graphical Notation: Entity Relationship language Level 1 Version 2.0.* J Integr Bioinform 12(2):264 (2015). [10.2390/biecoll-jib-2015-264](https://doi.org/10.2390/biecoll-jib-2015-264) |
11
+ | Activity Flow (AF) | Level 1 Version 1.2 (2015) | Mi et al. *Systems Biology Graphical Notation: Activity Flow language Level 1 Version 1.2.* J Integr Bioinform 12(2):265 (2015). [10.2390/biecoll-jib-2015-265](https://doi.org/10.2390/biecoll-jib-2015-265) |
12
+ | SBGN-ML | Version 0.3 (2020) | Bergmann et al. *Systems biology graphical notation markup language (SBGNML) version 0.3.* J Integr Bioinform 17(2-3):20200016 (2020). [10.1515/jib-2020-0016](https://doi.org/10.1515/jib-2020-0016) |
13
+
14
+ ## The version of a map
15
+
16
+ A map states which specification it follows with its `version`, the identifier of the specification. SBGN-ML 0.3 deprecated the `language` of a map in favour of the `version`, and requires one of the two. The version names the language as well, so `map_language` takes the language from the version, and from the deprecated `language` if a map has no version:
17
+
18
+ ```python
19
+ from libsbgnpy import LATEST, Map, MapLanguage, map_language
20
+
21
+ map = Map(
22
+ id="ethanol",
23
+ version=LATEST[MapLanguage.PROCESS_DESCRIPTION],
24
+ language=MapLanguage.PROCESS_DESCRIPTION,
25
+ )
26
+ print(map.version.value)
27
+ # http://identifiers.org/combine.specifications/sbgn.pd.level-1.version-2.1
28
+ print(map_language(map))
29
+ # MapLanguage.PROCESS_DESCRIPTION
30
+ ```
31
+
32
+ `LATEST` holds the version of the latest specification of every language, set in bold below. Set the `language` as well if a map is read by tools which only know SBGN-ML 0.2. `SPECIFICATIONS` maps every `MapVersion` to its `Specification`, i.e., its language, level, version, year and DOI. The `version` of a map is `http://identifiers.org/combine.specifications/` followed by the identifier of the specification:
33
+
34
+ <!-- specification:versions -->
35
+ | specification | year | publication | identifier |
36
+ | --- | --- | --- | --- |
37
+ | **PD L1V2.1** | 2026 | [10.1515/jib-2025-0018](https://doi.org/10.1515/jib-2025-0018) | `sbgn.pd.level-1.version-2.1` |
38
+ | PD L1V2.0 | 2019 | [10.1515/jib-2019-0022](https://doi.org/10.1515/jib-2019-0022) | `sbgn.pd.level-1.version-2.0` |
39
+ | PD L1V1.3 | 2015 | [10.2390/biecoll-jib-2015-263](https://doi.org/10.2390/biecoll-jib-2015-263) | `sbgn.pd.level-1.version-1.3` |
40
+ | PD L1V1.2 | 2010 | | `sbgn.pd.level-1.version-1.2` |
41
+ | PD L1V1.1 | 2009 | | `sbgn.pd.level-1.version-1.1` |
42
+ | PD L1V1.0 | 2008 | | `sbgn.pd.level-1.version-1.0` |
43
+ | PD L1V1 | | | `sbgn.pd.level-1.version-1` |
44
+ | **ER L1V2.0** | 2015 | [10.2390/biecoll-jib-2015-264](https://doi.org/10.2390/biecoll-jib-2015-264) | `sbgn.er.level-1.version-2` |
45
+ | ER L1V1.2 | 2011 | | `sbgn.er.level-1.version-1.2` |
46
+ | ER L1V1.1 | 2010 | | `sbgn.er.level-1.version-1.1` |
47
+ | ER L1V1.0 | 2009 | | `sbgn.er.level-1.version-1.0` |
48
+ | ER L1V1 | | | `sbgn.er.level-1.version-1` |
49
+ | **AF L1V1.2** | 2015 | [10.2390/biecoll-jib-2015-265](https://doi.org/10.2390/biecoll-jib-2015-265) | `sbgn.af.level-1.version-1.2` |
50
+ | AF L1V1.0 | 2009 | | `sbgn.af.level-1.version-1.0` |
51
+ | AF L1V1 | | | `sbgn.af.level-1.version-1` |
52
+ <!-- /specification:versions -->
53
+
54
+ The version `version-1` of a language is the identifier of the latest version 1.x at the time it was registered. The published SBGN-ML schema, which `libsbgnpy` takes from [sbgn/libsbgn](https://github.com/sbgn/libsbgn), lacks PD L1V2.0 and L1V2.1; `libsbgnpy` adds both to its schema. PD L1V2.0 is listed by the SBGN-ML 0.3 specification, the identifier of PD L1V2.1 follows the naming of the registry but is not registered yet.
55
+
56
+ ## What SBGN-ML 0.3 changed
57
+
58
+ SBGN-ML 0.3 is the format `libsbgnpy` reads and writes, documents in SBGN-ML 0.1 and 0.2 are upconverted while reading, see [Reading and writing](io.md#older-sbgn-ml-versions). Compared with 0.2:
59
+
60
+ - a document holds several maps, every map has an `id`,
61
+ - the `version` of a map replaces the deprecated `language`,
62
+ - submaps are supported completely with the `mapRef` and the `tagRef` of a glyph,
63
+ - the `perturbation` of AF is no longer an activity node, but a unit of information of a biological activity; the glyph class is deprecated in AF,
64
+ - colours and styles are stored as render information in the extension of a map, see [Render information](render.md).
65
+
66
+ ## Glyphs of the latest PD specification in SBGN-ML
67
+
68
+ PD L1V2.0 and L1V2.1 renamed and added glyphs without changing SBGN-ML. They are encoded with the glyph classes which already exist:
69
+
70
+ | glyph of PD L1V2.x | SBGN-ML |
71
+ | --- | --- |
72
+ | empty set (replaces source and sink) | `source and sink` |
73
+ | submap terminal | `terminal` inside a `submap` |
74
+ | subunit of a complex | a glyph of an entity pool node class inside a `complex` |
75
+ | equivalence operator | `equivalence` |
76
+ | annotation | `annotation` |
77
+ | stoichiometry of a flux arc | `cardinality` inside the `arc` |
78
+
79
+ The shapes, e.g., the stadium of a simple chemical or of a state variable since PD L1V2.0, are a matter of the drawing and not stored in SBGN-ML.
80
+
81
+ ## Glyphs and arcs of every language
82
+
83
+ The SBGN-ML schema has a single enumeration of glyph classes and of arc classes for all languages, it does not know which class belongs to which language. `GLYPH_CLASSES` and `ARC_CLASSES` hold the classes of the latest specification of every language, auxiliary units such as state variables included. Deprecated classes are still allowed, but logged as a warning.
84
+
85
+ <!-- specification:glyphs -->
86
+ | class | PD | ER | AF |
87
+ | --- | :---: | :---: | :---: |
88
+ | `unspecified entity` | ✓ | | |
89
+ | `simple chemical` | ✓ | | |
90
+ | `macromolecule` | ✓ | | |
91
+ | `nucleic acid feature` | ✓ | | |
92
+ | `simple chemical multimer` | ✓ | | |
93
+ | `macromolecule multimer` | ✓ | | |
94
+ | `nucleic acid feature multimer` | ✓ | | |
95
+ | `complex` | ✓ | | |
96
+ | `complex multimer` | ✓ | | |
97
+ | `source and sink` | ✓ | | |
98
+ | `perturbation` | | | deprecated |
99
+ | `biological activity` | | | ✓ |
100
+ | `perturbing agent` | ✓ | ✓ | |
101
+ | `compartment` | ✓ | | ✓ |
102
+ | `submap` | ✓ | | ✓ |
103
+ | `tag` | ✓ | | ✓ |
104
+ | `terminal` | ✓ | | ✓ |
105
+ | `process` | ✓ | | |
106
+ | `omitted process` | ✓ | | |
107
+ | `uncertain process` | ✓ | | |
108
+ | `association` | ✓ | | |
109
+ | `dissociation` | ✓ | | |
110
+ | `phenotype` | ✓ | ✓ | ✓ |
111
+ | `and` | ✓ | ✓ | ✓ |
112
+ | `or` | ✓ | ✓ | ✓ |
113
+ | `not` | ✓ | ✓ | ✓ |
114
+ | `equivalence` | ✓ | | |
115
+ | `state variable` | ✓ | ✓ | |
116
+ | `unit of information` | ✓ | ✓ | ✓ |
117
+ | `entity` | | ✓ | |
118
+ | `outcome` | | ✓ | |
119
+ | `interaction` | | ✓ | |
120
+ | `influence target` | | ✓ | |
121
+ | `annotation` | ✓ | ✓ | ✓ |
122
+ | `variable value` | | ✓ | |
123
+ | `implicit xor` | | ✓ | |
124
+ | `delay` | | ✓ | ✓ |
125
+ | `existence` | | ✓ | |
126
+ | `location` | | ✓ | |
127
+ | `cardinality` | ✓ | ✓ | |
128
+ | `observable` | deprecated | deprecated | deprecated |
129
+ <!-- /specification:glyphs -->
130
+
131
+ <!-- specification:arcs -->
132
+ | class | PD | ER | AF |
133
+ | --- | :---: | :---: | :---: |
134
+ | `production` | ✓ | | |
135
+ | `consumption` | ✓ | | |
136
+ | `catalysis` | ✓ | | |
137
+ | `modulation` | ✓ | ✓ | |
138
+ | `stimulation` | ✓ | ✓ | |
139
+ | `inhibition` | ✓ | ✓ | |
140
+ | `assignment` | | ✓ | |
141
+ | `interaction` | | ✓ | |
142
+ | `absolute inhibition` | | ✓ | |
143
+ | `absolute stimulation` | | ✓ | |
144
+ | `positive influence` | | | ✓ |
145
+ | `negative influence` | | | ✓ |
146
+ | `unknown influence` | | | ✓ |
147
+ | `equivalence arc` | ✓ | | ✓ |
148
+ | `necessary stimulation` | ✓ | ✓ | ✓ |
149
+ | `logic arc` | ✓ | ✓ | ✓ |
150
+ <!-- /specification:arcs -->
151
+
152
+ ## Checking a map
153
+
154
+ `check_map` and `check_sbgn` check what the specifications require on top of the schema: a map declares its language with a `version` or a `language`, the two agree, and every glyph and every arc has a class of the language of the map. `validate` combines these checks with the validation against the schema, see [Validation](validation.md):
155
+
156
+ ```python
157
+ from libsbgnpy import Bbox, Glyph, GlyphClass, Map, MapLanguage, check_map
158
+
159
+ map = Map(id="m", language=MapLanguage.PROCESS_DESCRIPTION)
160
+ map.glyph.append(
161
+ Glyph(
162
+ id="g1",
163
+ class_value=GlyphClass.BIOLOGICAL_ACTIVITY,
164
+ bbox=Bbox(x=0, y=0, w=120, h=60),
165
+ )
166
+ )
167
+ print(check_map(map))
168
+ # ["map 'm': glyph 'g1' has the class 'biological activity', which is no glyph class of process description"]
169
+ ```
170
+
171
+ The validation rules of the language specifications, e.g., that a consumption arc connects an entity pool node with a process, are checked by `validate_schematron`, see [Schematron rules](validation.md#schematron-rules).
@@ -0,0 +1,175 @@
1
+ # Validation
2
+
3
+ Reading a document parses it, it does not check that it follows SBGN-ML. Three functions perform that check:
4
+
5
+ - `validate_xsd` validates against the packaged schema, `libsbgnpy/schema/SBGN.xsd`, i.e., the structure of the document,
6
+ - `validate` adds the rules of the SBGN specifications which the schema cannot express, see [What the specifications add](#what-the-specifications-add),
7
+ - `validate_schematron` checks the validation rules of the SBGN languages, e.g., that a consumption arc starts at an entity pool node, see [Schematron rules](#schematron-rules).
8
+
9
+ ```python
10
+ from pathlib import Path
11
+
12
+ from libsbgnpy import validate
13
+
14
+ errors = validate(Path("map.sbgn"))
15
+ if errors:
16
+ for error in errors:
17
+ print(error)
18
+ else:
19
+ print("valid")
20
+ ```
21
+
22
+ `validate_xsd` and `validate` return the errors as a list of strings, which is empty for a valid document, so a check is `if validate(f):`. Nothing is written to stdout or stderr; a summary is logged at info level, see [Logging](installation.md#logging).
23
+
24
+ An error names the line, the element and what is wrong with it:
25
+
26
+ ```
27
+ <string>:3:0:ERROR:SCHEMASV:SCHEMAV_CVC_COMPLEX_TYPE_4:
28
+ Element '{http://sbgn.org/libsbgn/0.3}map': The attribute 'id' is required but missing.
29
+ ```
30
+
31
+ A file which is no well formed XML is reported as a single error rather than raising, so a corrupt file and an invalid one are handled the same way.
32
+
33
+ ## An invalid document
34
+
35
+ [`examples/sbgn/invalid.sbgn`](https://github.com/matthiaskoenig/libsbgnpy/blob/develop/examples/sbgn/invalid.sbgn) breaks the schema in three ways, one per kind of error the validation reports:
36
+
37
+ ```xml
38
+ <sbgn xmlns="http://sbgn.org/libsbgn/0.3">
39
+ <map language="process description"> <!-- no id -->
40
+ <bbox x="0" y="0" w="363" h="253"/>
41
+ <glyph class="simple chemcial" id="glyph_ethanol"> <!-- typo -->
42
+ <label text="Ethanol"/>
43
+ <bbox x="40" y="120" w="60" h="60"/>
44
+ </glyph>
45
+ ...
46
+ <arc class="consumption" source="glyph_ethanol" target="pn1.1" id="a01">
47
+ <start x="98" y="160"/> <!-- no end -->
48
+ </arc>
49
+ </map>
50
+ </sbgn>
51
+ ```
52
+
53
+ `validate_xsd` returns the three errors:
54
+
55
+ ```python
56
+ from pathlib import Path
57
+
58
+ from libsbgnpy import validate_xsd
59
+
60
+ for error in validate_xsd(Path("examples/sbgn/invalid.sbgn")):
61
+ print(error)
62
+ ```
63
+
64
+ - a required attribute is missing, the `id` of the map:
65
+
66
+ ```
67
+ SCHEMAV_CVC_COMPLEX_TYPE_4: Element '{http://sbgn.org/libsbgn/0.3}map':
68
+ The attribute 'id' is required but missing.
69
+ ```
70
+
71
+ - an attribute carries a value which is not in the enumeration, `simple chemcial` is not an SBGN glyph class. The error lists every class the schema allows, which is the fastest way to find the correct spelling:
72
+
73
+ ```
74
+ SCHEMAV_CVC_ENUMERATION_VALID: Element '{http://sbgn.org/libsbgn/0.3}glyph',
75
+ attribute 'class': [facet 'enumeration'] The value 'simple chemcial' is not
76
+ an element of the set {'unspecified entity', 'simple chemical', ...}.
77
+ ```
78
+
79
+ - a required child element is missing, an arc needs an `end` point:
80
+
81
+ ```
82
+ SCHEMAV_ELEMENT_CONTENT: Element '{http://sbgn.org/libsbgn/0.3}arc':
83
+ Missing child element(s). Expected is one of
84
+ ( {http://sbgn.org/libsbgn/0.3}next, {http://sbgn.org/libsbgn/0.3}end ).
85
+ ```
86
+
87
+ The line number in front of every error, e.g. `<string>:13:0:`, is the line of the *upconverted* document, which is what the validation sees, see [Which schema is used](#which-schema-is-used). For a 0.3 document it is the line of the file; for a 0.1 or 0.2 document only the namespace of the root element changes, so the lines still match.
88
+
89
+ !!! note
90
+
91
+ A document which does not validate can often still be read. `read_sbgn_from_file` parses without validating, so an invalid class ends up in the bindings as the string it is written as, and a warning is logged. Only a document which lacks a required element or attribute, like the missing `end` of the arc above, cannot be read, it raises a `ParserError`. Validate first if a document comes from somewhere else.
92
+
93
+ ## Which schema is used
94
+
95
+ The packaged schema is the SBGN-ML 0.3 schema. Documents in the earlier namespaces are upconverted before they are validated, exactly as they are when they are read, see [Older SBGN-ML versions](io.md#older-sbgn-ml-versions). A 0.1 or 0.2 document is therefore validated against the 0.3 schema, which is what `libsbgnpy` reads it as. The schema is the one of [sbgn/libsbgn](https://github.com/sbgn/libsbgn) with the versions PD L1V2.0 and L1V2.1 added, which the published schema lacks, see [The version of a map](specifications.md#the-version-of-a-map).
96
+
97
+ ## What the specifications add
98
+
99
+ The schema has a single enumeration of glyph classes and of arc classes for all languages, and it cannot require one of two attributes. `validate` therefore checks, after the schema, the rules of the specifications which the schema lacks, see [SBGN specifications](specifications.md#checking-a-map):
100
+
101
+ - a map declares its language with a `version` or a `language`, SBGN-ML 0.3 requires one of them,
102
+ - the `version` and the `language` of a map name the same language,
103
+ - every glyph and every arc has a class of the language of the map, e.g., a `biological activity` is no glyph of a process description.
104
+
105
+ ```
106
+ map 'm': glyph 'g1' has the class 'biological activity', which is no glyph class of process description
107
+ ```
108
+
109
+ A deprecated class, e.g., the `perturbation` activity node of an activity flow map, is no error, it is logged as a warning. The checks are also available on a document which was read or created in python, as `check_sbgn` and `check_map`. A document which cannot be read is only validated against the schema.
110
+
111
+ ## Schematron rules
112
+
113
+ The specifications of the SBGN languages define validation rules beyond the vocabulary of a map, e.g., that a consumption arc starts at an entity pool node and ends at a process, or that a process has at least one input and one output. The Java library [libSBGN](https://github.com/sbgn/libsbgn) implements them as Schematron rules, one set per map language, and `libsbgnpy` packages these rules: `validate_schematron` checks a document against them with the results of the Java library.
114
+
115
+ ```python
116
+ from pathlib import Path
117
+
118
+ from libsbgnpy import validate_schematron
119
+
120
+ for issue in validate_schematron(Path("examples/sbgn/invalid.sbgn")):
121
+ print(issue.rule_id, issue.element_id)
122
+ print(f" {issue.message}")
123
+ ```
124
+
125
+ Every broken rule is reported as an `Issue`:
126
+
127
+ | attribute | meaning |
128
+ | --- | --- |
129
+ | `severity` | the role of the rule, `error` for all rules which are checked |
130
+ | `rule_id` | the rule, the language followed by its number, e.g., `pd10101` |
131
+ | `message` | what the rule requires |
132
+ | `element_id` | the id of the glyph or arc which breaks the rule, `None` if the rule does not name it |
133
+
134
+ The typo `simple chemcial` of [`invalid.sbgn`](#an-invalid-document) makes the source of the consumption arc no entity pool node, and the process loses its input:
135
+
136
+ ```
137
+ pd10101 a01
138
+ Arc with class consumption must have source reference to glyph of EPN classes
139
+ pd10141 pn1
140
+ All process nodes should have at least one input and at least one ouput pointing to the arcs
141
+ ```
142
+
143
+ The document is read like `validate_xsd` reads it, a 0.1 or 0.2 document is upconverted first. Every map is checked on its own with the rules of its language, which is taken from its `version` or else its `language`; a map of an unknown language is not checked, which `validate` reports. The rules do not check the structure of the document, so validate it against the schema as well, and a file which is no well-formed XML raises an `lxml.etree.XMLSyntaxError`.
144
+
145
+ !!! note
146
+
147
+ The rules were written for the earlier specifications, e.g., PD L1V1.3, and some of the reference maps of the current specifications break them. Rule `pd10131`, for example, requires every entity pool node to be connected to an arc, which the maps showing glyphs on their own break. The issues are therefore kept apart from the errors of `validate`; review them rather than rejecting a document because of them, see [issue #103](https://github.com/matthiaskoenig/libsbgnpy/issues/103). The rules are the ones of libSBGN with three XPath 2.0 expressions rewritten for the XSLT 1.0 processor of lxml, see [`libsbgnpy/schema/README.md`](https://github.com/matthiaskoenig/libsbgnpy/blob/develop/src/libsbgnpy/schema/README.md).
148
+
149
+ ## Examples
150
+
151
+ | example | what it shows |
152
+ | --- | --- |
153
+ | [`validate.py`](https://github.com/matthiaskoenig/libsbgnpy/blob/develop/examples/validate.py) | validate the documents in `examples/sbgn/` and report the errors and the broken rules |
154
+
155
+ ```bash
156
+ python examples/validate.py
157
+ ```
158
+
159
+ ```
160
+ valid: adh.sbgn
161
+ valid: adh_0.3.sbgn
162
+ valid: glycolysis.sbgn
163
+ invalid: invalid.sbgn
164
+ <string>:11:0:ERROR:SCHEMASV:SCHEMAV_CVC_COMPLEX_TYPE_4: ...
165
+ <string>:13:0:ERROR:SCHEMASV:SCHEMAV_CVC_ENUMERATION_VALID: ...
166
+ <string>:22:0:ERROR:SCHEMASV:SCHEMAV_ELEMENT_CONTENT: ...
167
+ pd10101 'a01'
168
+ Arc with class consumption must have source reference to glyph of EPN classes
169
+ pd10141 'pn1'
170
+ All process nodes should have at least one input and at least one ouput pointing to the arcs
171
+ valid: neuronal_muscle_signalling_color.sbgn
172
+
173
+ 4/5 documents are valid
174
+ invalid: invalid.sbgn
175
+ ```