libsbgnpy 0.7.2__tar.gz → 0.7.3__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 (363) hide show
  1. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/CITATION.cff +4 -4
  2. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/PKG-INFO +16 -14
  3. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/docs/index.md +4 -4
  4. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/docs/installation.md +1 -1
  5. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/pyproject.toml +17 -14
  6. libsbgnpy-0.7.3/release-notes/0.7.3.md +21 -0
  7. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/scripts/generate_bindings.py +10 -1
  8. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/src/libsbgnpy/__init__.py +1 -1
  9. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/src/libsbgnpy/image.py +35 -2
  10. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/src/libsbgnpy/io.py +38 -4
  11. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/src/libsbgnpy/schema/README.md +1 -0
  12. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/test_image.py +50 -0
  13. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/test_io.py +26 -0
  14. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/.gitignore +0 -0
  15. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/.ruff.toml +0 -0
  16. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/LICENSE +0 -0
  17. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/README.md +0 -0
  18. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/docs/README.md +0 -0
  19. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/docs/api/console.md +0 -0
  20. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/docs/api/image.md +0 -0
  21. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/docs/api/index.md +0 -0
  22. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/docs/api/io.md +0 -0
  23. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/docs/api/log.md +0 -0
  24. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/docs/api/render.md +0 -0
  25. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/docs/api/sbgn.md +0 -0
  26. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/docs/api/schematron.md +0 -0
  27. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/docs/api/specification.md +0 -0
  28. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/docs/api/validator.md +0 -0
  29. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/docs/development.md +0 -0
  30. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/docs/extensions.md +0 -0
  31. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/docs/images/ethanol_example.png +0 -0
  32. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/docs/images/favicon/favicon.ico +0 -0
  33. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/docs/images/favicon/libsbgnpy-100x100.png +0 -0
  34. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/docs/images/libsbgnpy.png +0 -0
  35. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/docs/images/libsbgnpy_large.png +0 -0
  36. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/docs/images/libsbgnpy_screenshot.png +0 -0
  37. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/docs/images.md +0 -0
  38. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/docs/io.md +0 -0
  39. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/docs/maps.md +0 -0
  40. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/docs/render.md +0 -0
  41. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/docs/robots.txt +0 -0
  42. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/docs/specifications.md +0 -0
  43. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/docs/validation.md +0 -0
  44. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/examples/README.md +0 -0
  45. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/examples/clone_marker.py +0 -0
  46. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/examples/ethanol.py +0 -0
  47. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/examples/extension.py +0 -0
  48. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/examples/labels.py +0 -0
  49. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/examples/notes.py +0 -0
  50. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/examples/read.py +0 -0
  51. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/examples/render.py +0 -0
  52. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/examples/sbgn/adh.sbgn +0 -0
  53. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/examples/sbgn/adh_0.3.sbgn +0 -0
  54. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/examples/sbgn/glycolysis.sbgn +0 -0
  55. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/examples/sbgn/invalid.sbgn +0 -0
  56. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/examples/sbgn/neuronal_muscle_signalling_color.sbgn +0 -0
  57. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/examples/validate.py +0 -0
  58. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/examples/write.py +0 -0
  59. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/release-notes/0.2.0.md +0 -0
  60. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/release-notes/0.2.2.md +0 -0
  61. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/release-notes/0.3.0.md +0 -0
  62. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/release-notes/0.3.1.md +0 -0
  63. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/release-notes/0.3.2.md +0 -0
  64. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/release-notes/0.3.3.md +0 -0
  65. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/release-notes/0.4.0.md +0 -0
  66. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/release-notes/0.4.1.md +0 -0
  67. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/release-notes/0.5.0.md +0 -0
  68. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/release-notes/0.5.1.md +0 -0
  69. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/release-notes/0.5.2.md +0 -0
  70. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/release-notes/0.6.0.md +0 -0
  71. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/release-notes/0.6.1.md +0 -0
  72. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/release-notes/0.6.2.md +0 -0
  73. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/release-notes/0.6.3.md +0 -0
  74. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/release-notes/0.6.4.md +0 -0
  75. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/release-notes/0.6.5.md +0 -0
  76. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/release-notes/0.7.0.md +0 -0
  77. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/release-notes/0.7.1.md +0 -0
  78. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/release-notes/0.7.2.md +0 -0
  79. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/scripts/llms_txt.py +0 -0
  80. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/scripts/specification_docs.py +0 -0
  81. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/src/libsbgnpy/console.py +0 -0
  82. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/src/libsbgnpy/log.py +0 -0
  83. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/src/libsbgnpy/py.typed +0 -0
  84. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/src/libsbgnpy/render.py +0 -0
  85. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/src/libsbgnpy/sbgn.py +0 -0
  86. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/src/libsbgnpy/schema/LICENSE-libsbgn.txt +0 -0
  87. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/src/libsbgnpy/schema/SBGN.xsd +0 -0
  88. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/src/libsbgnpy/schema/render.xsd +0 -0
  89. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/src/libsbgnpy/schema/sbgn_af.sch +0 -0
  90. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/src/libsbgnpy/schema/sbgn_er.sch +0 -0
  91. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/src/libsbgnpy/schema/sbgn_pd.sch +0 -0
  92. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/src/libsbgnpy/schematron.py +0 -0
  93. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/src/libsbgnpy/specification.py +0 -0
  94. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/src/libsbgnpy/validator.py +0 -0
  95. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/AF/AF_Reference_Card.png +0 -0
  96. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/AF/AF_Reference_Card.sbgn +0 -0
  97. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/AF/activity-nodes.gml +0 -0
  98. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/AF/activity-nodes.png +0 -0
  99. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/AF/activity-nodes.sbgn +0 -0
  100. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/AF/auxiliary-units.gml +0 -0
  101. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/AF/auxiliary-units.png +0 -0
  102. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/AF/auxiliary-units.sbgn +0 -0
  103. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/AF/compartment.gml +0 -0
  104. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/AF/compartment.png +0 -0
  105. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/AF/compartment.sbgn +0 -0
  106. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/AF/delay.gml +0 -0
  107. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/AF/delay.png +0 -0
  108. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/AF/delay.sbgn +0 -0
  109. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/AF/modulation.gml +0 -0
  110. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/AF/modulation.png +0 -0
  111. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/AF/modulation.sbgn +0 -0
  112. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/AF/submap.gml +0 -0
  113. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/AF/submap.png +0 -0
  114. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/AF/submap.sbgn +0 -0
  115. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/AF/submap_expanded.gml +0 -0
  116. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/AF/submap_expanded.png +0 -0
  117. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/AF/submap_expanded.sbgn +0 -0
  118. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/AF/submaps_all-in-one.sbgn +0 -0
  119. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/AF/two_edges_between_two_activities.gml +0 -0
  120. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/AF/two_edges_between_two_activities.png +0 -0
  121. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/AF/two_edges_between_two_activities.sbgn +0 -0
  122. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/ER/ER_Reference_Card.png +0 -0
  123. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/ER/ER_Reference_Card.sbgn +0 -0
  124. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/ER/OR gate.gml +0 -0
  125. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/ER/OR gate.png +0 -0
  126. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/ER/OR gate.sbgn +0 -0
  127. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/ER/absolute inhibition.gml +0 -0
  128. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/ER/absolute inhibition.png +0 -0
  129. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/ER/absolute inhibition.sbgn +0 -0
  130. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/ER/absolute stimulation.png +0 -0
  131. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/ER/absolute stimulation.sbgn +0 -0
  132. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/ER/binary-no-outcome.gml +0 -0
  133. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/ER/binary-no-outcome.png +0 -0
  134. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/ER/binary-no-outcome.sbgn +0 -0
  135. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/ER/binary-with-perturbation-and-phenotype.gml +0 -0
  136. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/ER/binary-with-perturbation-and-phenotype.png +0 -0
  137. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/ER/binary-with-perturbation-and-phenotype.sbgn +0 -0
  138. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/ER/cis.gml +0 -0
  139. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/ER/cis.png +0 -0
  140. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/ER/cis.sbgn +0 -0
  141. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/ER/delay.gml +0 -0
  142. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/ER/delay.png +0 -0
  143. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/ER/delay.sbgn +0 -0
  144. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/ER/existence_variable.gml +0 -0
  145. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/ER/existence_variable.png +0 -0
  146. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/ER/existence_variable.sbgn +0 -0
  147. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/ER/implicit_xor.gml +0 -0
  148. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/ER/implicit_xor.png +0 -0
  149. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/ER/implicit_xor.sbgn +0 -0
  150. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/ER/invisible node.gml +0 -0
  151. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/ER/invisible node.png +0 -0
  152. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/ER/invisible node.sbgn +0 -0
  153. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/ER/location.gml +0 -0
  154. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/ER/location.png +0 -0
  155. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/ER/location.sbgn +0 -0
  156. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/ER/outcome-dual.gml +0 -0
  157. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/ER/outcome-dual.png +0 -0
  158. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/ER/outcome-dual.sbgn +0 -0
  159. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/ER/outcome-simplified.gml +0 -0
  160. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/ER/outcome-simplified.png +0 -0
  161. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/ER/outcome-simplified.sbgn +0 -0
  162. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/ER/phosphorylation.gml +0 -0
  163. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/ER/phosphorylation.png +0 -0
  164. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/ER/phosphorylation.sbgn +0 -0
  165. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/ER/ternary-interaction.gml +0 -0
  166. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/ER/ternary-interaction.png +0 -0
  167. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/ER/ternary-interaction.sbgn +0 -0
  168. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/ER/ternary-with-cardinality.gml +0 -0
  169. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/ER/ternary-with-cardinality.png +0 -0
  170. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/ER/ternary-with-cardinality.sbgn +0 -0
  171. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/ER/ternary-with-perturbation-and-phenotype.gml +0 -0
  172. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/ER/ternary-with-perturbation-and-phenotype.png +0 -0
  173. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/ER/ternary-with-perturbation-and-phenotype.sbgn +0 -0
  174. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/ER/trans.gml +0 -0
  175. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/ER/trans.png +0 -0
  176. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/ER/trans.sbgn +0 -0
  177. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/PD_Reference_Card.png +0 -0
  178. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/PD_Reference_Card.sbgn +0 -0
  179. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/activated_stat1alpha_induction_of_the_irf1_gene.png +0 -0
  180. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/activated_stat1alpha_induction_of_the_irf1_gene.sbgn +0 -0
  181. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/adh.gml +0 -0
  182. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/adh.png +0 -0
  183. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/adh.sbgn +0 -0
  184. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/and.gml +0 -0
  185. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/and.png +0 -0
  186. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/and.sbgn +0 -0
  187. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/annotation.png +0 -0
  188. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/annotation.sbgn +0 -0
  189. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/bool-expr-pd.png +0 -0
  190. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/bool-expr-pd.sbgn +0 -0
  191. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/clone-marker.gml +0 -0
  192. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/clone-marker.png +0 -0
  193. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/clone-marker.sbgn +0 -0
  194. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/compartmentOrder1.png +0 -0
  195. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/compartmentOrder1.sbgn +0 -0
  196. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/compartmentOrder2.png +0 -0
  197. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/compartmentOrder2.sbgn +0 -0
  198. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/compartments.gml +0 -0
  199. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/compartments.png +0 -0
  200. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/compartments.sbgn +0 -0
  201. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/edgerouting.gml +0 -0
  202. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/edgerouting.png +0 -0
  203. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/edgerouting.sbgn +0 -0
  204. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/glycolysis.png +0 -0
  205. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/glycolysis.sbgn +0 -0
  206. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/insulin-like_growth_factor_signaling.png +0 -0
  207. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/insulin-like_growth_factor_signaling.sbgn +0 -0
  208. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/labeledCloneMarker.png +0 -0
  209. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/labeledCloneMarker.sbgn +0 -0
  210. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/mapk_cascade.png +0 -0
  211. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/mapk_cascade.sbgn +0 -0
  212. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/mixed_arcs.png +0 -0
  213. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/multimer.gml +0 -0
  214. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/multimer.png +0 -0
  215. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/multimer.sbgn +0 -0
  216. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/multimer2.gml +0 -0
  217. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/multimer2.png +0 -0
  218. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/multimer2.sbgn +0 -0
  219. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/neuronal_muscle_signalling.png +0 -0
  220. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/neuronal_muscle_signalling.sbgn +0 -0
  221. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/neuronal_muscle_signalling_color.png +0 -0
  222. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/neuronal_muscle_signalling_color.sbgn +0 -0
  223. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/or-simple.gml +0 -0
  224. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/or-simple.png +0 -0
  225. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/or-simple.sbgn +0 -0
  226. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/protein_degradation.gml +0 -0
  227. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/protein_degradation.png +0 -0
  228. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/protein_degradation.sbgn +0 -0
  229. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/reversible-verticalpn.gml +0 -0
  230. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/reversible-verticalpn.png +0 -0
  231. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/reversible-verticalpn.sbgn +0 -0
  232. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/states.gml +0 -0
  233. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/states.png +0 -0
  234. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/states.sbgn +0 -0
  235. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/statesType2.png +0 -0
  236. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/statesType2.sbgn +0 -0
  237. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/statesType3.png +0 -0
  238. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/stoichiometry.gml +0 -0
  239. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/stoichiometry.png +0 -0
  240. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/stoichiometry.sbgn +0 -0
  241. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/submap.gml +0 -0
  242. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/submap.png +0 -0
  243. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/submap.sbgn +0 -0
  244. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/submap_expanded.gml +0 -0
  245. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/submap_expanded.png +0 -0
  246. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/submap_expanded.sbgn +0 -0
  247. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/submaps_MAPKcascade.sbgn +0 -0
  248. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/utf8_test_case_with_byte_order_mark.gml +0 -0
  249. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/utf8_test_case_with_byte_order_mark.png +0 -0
  250. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/utf8_test_case_with_byte_order_mark.sbgn +0 -0
  251. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/utf8_test_case_without_byte_order_mark.gml +0 -0
  252. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/utf8_test_case_without_byte_order_mark.png +0 -0
  253. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/PD/utf8_test_case_without_byte_order_mark.sbgn +0 -0
  254. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/AF/af10101-fail.sbgn +0 -0
  255. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/AF/af10101-pass.sbgn +0 -0
  256. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/AF/af10102-fail-1.sbgn +0 -0
  257. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/AF/af10102-fail-2.sbgn +0 -0
  258. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/AF/af10102-fail-3.sbgn +0 -0
  259. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/AF/af10102-fail-4.sbgn +0 -0
  260. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/AF/af10102-pass.sbgn +0 -0
  261. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/AF/af10103-fail.sbgn +0 -0
  262. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/AF/af10103-pass.sbgn +0 -0
  263. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/AF/af10104-fail.sbgn +0 -0
  264. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/AF/af10104-pass.sbgn +0 -0
  265. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/AF/af10109-fail.sbgn +0 -0
  266. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/AF/af10109-pass.sbgn +0 -0
  267. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/AF/af10110-fail.sbgn +0 -0
  268. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/AF/af10111-fail.sbgn +0 -0
  269. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/AF/af10111-pass.sbgn +0 -0
  270. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/AF/af10112-fail.sbgn +0 -0
  271. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/AF/af10113-fail.sbgn +0 -0
  272. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/ER/er10103-fail.sbgn +0 -0
  273. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/ER/er10103-pass.sbgn +0 -0
  274. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/ER/er10104-fail.sbgn +0 -0
  275. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/ER/er10104-pass.sbgn +0 -0
  276. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/ER/er10106-fail-1.sbgn +0 -0
  277. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/ER/er10106-fail-2.sbgn +0 -0
  278. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/ER/er10106-fail-3.sbgn +0 -0
  279. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/ER/er10106-fail-4.sbgn +0 -0
  280. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/ER/er10106-fail-5.sbgn +0 -0
  281. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/ER/er10106-fail-6.sbgn +0 -0
  282. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/ER/er10106-pass.sbgn +0 -0
  283. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/ER/er10107-fail-1.sbgn +0 -0
  284. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/ER/er10107-fail-2.sbgn +0 -0
  285. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/ER/er10107-fail-3.sbgn +0 -0
  286. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/ER/er10107-fail-4.sbgn +0 -0
  287. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/ER/er10107-fail-5.sbgn +0 -0
  288. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/ER/er10107-fail-6.sbgn +0 -0
  289. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/ER/er10107-pass.sbgn +0 -0
  290. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/ER/er10108-fail-1.sbgn +0 -0
  291. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/ER/er10108-fail-2.sbgn +0 -0
  292. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/ER/er10108-pass.sbgn +0 -0
  293. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/ER/er10109-fail.sbgn +0 -0
  294. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/ER/er10109-pass.sbgn +0 -0
  295. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/ER/er10111-fail.sbgn +0 -0
  296. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/ER/er10111-pass.sbgn +0 -0
  297. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/ER/er20001-fail.sbgn +0 -0
  298. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/ER/er20001-pass.sbgn +0 -0
  299. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/PD/pd10101-fail.sbgn +0 -0
  300. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/PD/pd10101-pass.sbgn +0 -0
  301. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/PD/pd10102-fail.sbgn +0 -0
  302. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/PD/pd10102-pass.sbgn +0 -0
  303. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/PD/pd10103-fail.sbgn +0 -0
  304. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/PD/pd10103-pass.sbgn +0 -0
  305. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/PD/pd10104-fail.sbgn +0 -0
  306. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/PD/pd10104-pass.sbgn +0 -0
  307. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/PD/pd10105-fail.sbgn +0 -0
  308. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/PD/pd10105-pass.sbgn +0 -0
  309. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/PD/pd10106-fail.sbgn +0 -0
  310. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/PD/pd10106-pass.sbgn +0 -0
  311. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/PD/pd10107-fail.sbgn +0 -0
  312. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/PD/pd10107-pass.sbgn +0 -0
  313. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/PD/pd10108-fail.sbgn +0 -0
  314. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/PD/pd10108-pass.sbgn +0 -0
  315. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/PD/pd10109-fail-1.sbgn +0 -0
  316. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/PD/pd10109-fail-2.sbgn +0 -0
  317. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/PD/pd10109-fail-3.sbgn +0 -0
  318. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/PD/pd10109-fail-4.sbgn +0 -0
  319. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/PD/pd10109-fail-5.sbgn +0 -0
  320. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/PD/pd10109-pass.sbgn +0 -0
  321. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/PD/pd10110-fail-1.sbgn +0 -0
  322. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/PD/pd10110-fail-2.sbgn +0 -0
  323. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/PD/pd10110-fail-3.sbgn +0 -0
  324. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/PD/pd10110-fail-4.sbgn +0 -0
  325. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/PD/pd10110-fail-5.sbgn +0 -0
  326. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/PD/pd10110-pass.sbgn +0 -0
  327. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/PD/pd10111-fail-2.sbgn +0 -0
  328. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/PD/pd10111-fail.sbgn +0 -0
  329. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/PD/pd10111-pass.sbgn +0 -0
  330. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/PD/pd10112-fail-1.sbgn +0 -0
  331. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/PD/pd10112-fail-2.sbgn +0 -0
  332. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/PD/pd10112-pass.sbgn +0 -0
  333. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/PD/pd10124-fail.sbgn +0 -0
  334. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/PD/pd10124-pass.sbgn +0 -0
  335. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/PD/pd10125-fail.sbgn +0 -0
  336. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/PD/pd10126-fail.sbgn +0 -0
  337. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/PD/pd10126-pass.sbgn +0 -0
  338. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/PD/pd10127-fail.sbgn +0 -0
  339. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/PD/pd10127-pass.sbgn +0 -0
  340. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/PD/pd10128-fail.sbgn +0 -0
  341. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/PD/pd10128-pass.sbgn +0 -0
  342. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/PD/pd10131-fail.sbgn +0 -0
  343. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/PD/pd10131-pass.sbgn +0 -0
  344. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/PD/pd10132-fail.sbgn +0 -0
  345. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/PD/pd10132-pass.sbgn +0 -0
  346. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/PD/pd10140-fail.sbgn +0 -0
  347. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/PD/pd10140-pass.sbgn +0 -0
  348. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/PD/pd10141-fail.sbgn +0 -0
  349. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/PD/pd10141-pass.sbgn +0 -0
  350. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/PD/pd10142-fail.sbgn +0 -0
  351. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/data/schematron/PD/pd10142-pass.sbgn +0 -0
  352. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/test_bindings.py +0 -0
  353. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/test_data.py +0 -0
  354. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/test_examples.py +0 -0
  355. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/test_extension.py +0 -0
  356. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/test_libsbgn.py +0 -0
  357. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/test_notes.py +0 -0
  358. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/test_schematron.py +0 -0
  359. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/test_specification.py +0 -0
  360. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/test_specification_docs.py +0 -0
  361. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tests/test_validator.py +0 -0
  362. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/tox.ini +0 -0
  363. {libsbgnpy-0.7.2 → libsbgnpy-0.7.3}/zensical.toml +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.7.2"
12
- date-released: "2026-10-22"
13
- doi: "10.5281/zenodo.23548651"
11
+ version: "0.7.3"
12
+ date-released: "2026-11-02"
13
+ doi: "10.5281/zenodo.23876593"
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.23548651"
19
+ value: "10.5281/zenodo.23876593"
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.7.2
3
+ Version: 0.7.3
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
@@ -24,25 +24,27 @@ Classifier: Programming Language :: Python :: 3.15
24
24
  Classifier: Programming Language :: Python :: Implementation :: CPython
25
25
  Classifier: Topic :: Scientific/Engineering
26
26
  Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
27
- Requires-Python: >=3.11
28
- Requires-Dist: certifi>=2026.10.19
27
+ Requires-Python: >=3.11.5
28
+ Requires-Dist: certifi>=2026.11.20
29
29
  Requires-Dist: lxml>=6.1.3
30
30
  Requires-Dist: requests>=2.34.2
31
31
  Requires-Dist: rich>=15.0.0
32
- Requires-Dist: xsdata>=26.2
32
+ Requires-Dist: xsdata>=26.11
33
33
  Provides-Extra: dev
34
- Requires-Dist: bump-my-version>=1.5.1; extra == 'dev'
35
- Requires-Dist: mkdocstrings-python>=2.0.8; extra == 'dev'
36
- Requires-Dist: pre-commit>=4.6.2; extra == 'dev'
34
+ Requires-Dist: bump-my-version>=1.8.1; extra == 'dev'
35
+ Requires-Dist: mkdocstrings-python>=2.0.11; extra == 'dev'
36
+ Requires-Dist: pre-commit>=4.7.0; extra == 'dev'
37
37
  Requires-Dist: pytest-cov>=7.1.0; extra == 'dev'
38
- Requires-Dist: pytest>=9.1.1; extra == 'dev'
39
- Requires-Dist: ruff>=0.16.6; extra == 'dev'
40
- Requires-Dist: tox-uv>=1.36.0; extra == 'dev'
41
- Requires-Dist: tox>=4.61.2; extra == 'dev'
42
- Requires-Dist: ty>=0.0.78; extra == 'dev'
38
+ Requires-Dist: pytest>=9.2.0; extra == 'dev'
39
+ Requires-Dist: ruff>=0.17.6; extra == 'dev'
40
+ Requires-Dist: soupsieve>=4.1.3; extra == 'dev'
41
+ Requires-Dist: tox-uv>=1.37.9; extra == 'dev'
42
+ Requires-Dist: tox>=4.67.16; extra == 'dev'
43
+ Requires-Dist: ty>=0.0.111; extra == 'dev'
43
44
  Requires-Dist: types-lxml>=2026.2.16; extra == 'dev'
44
- Requires-Dist: xsdata[cli]>=26.2; extra == 'dev'
45
- Requires-Dist: zensical>=0.0.59; extra == 'dev'
45
+ Requires-Dist: wcmatch>=12.0.4; extra == 'dev'
46
+ Requires-Dist: xsdata[cli]>=26.11; extra == 'dev'
47
+ Requires-Dist: zensical>=0.1.3; extra == 'dev'
46
48
  Description-Content-Type: text/markdown
47
49
 
48
50
  ![libsbgnpy logo](https://github.com/matthiaskoenig/libsbgnpy/raw/develop/docs/images/libsbgnpy.png)
@@ -102,7 +102,7 @@ The documentation is published as markdown as well, following the [llms.txt conv
102
102
 
103
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:
104
104
 
105
- > König, M. (2026). *libsbgnpy: python library for SBGN* (Version 0.7.1) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.23548651
105
+ > König, M. (2026). *libsbgnpy: python library for SBGN* (Version 0.7.2) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.23876593
106
106
 
107
107
  ```bibtex
108
108
  @software{konig_libsbgnpy,
@@ -110,10 +110,10 @@ If you use `libsbgnpy` please cite the archived software on Zenodo. [10.5281/zen
110
110
  title = {libsbgnpy: python library for SBGN},
111
111
  year = {2026},
112
112
  month = {10},
113
- version = {0.7.1},
113
+ version = {0.7.2},
114
114
  publisher = {Zenodo},
115
- doi = {10.5281/zenodo.23548651},
116
- url = {https://doi.org/10.5281/zenodo.23548651},
115
+ doi = {10.5281/zenodo.23876593},
116
+ url = {https://doi.org/10.5281/zenodo.23876593},
117
117
  }
118
118
  ```
119
119
 
@@ -1,6 +1,6 @@
1
1
  # Installation
2
2
 
3
- `libsbgnpy` requires python >= 3.11 and is available from [pypi](https://pypi.python.org/pypi/libsbgnpy).
3
+ `libsbgnpy` requires python >= 3.11.5 and is available from [pypi](https://pypi.python.org/pypi/libsbgnpy).
4
4
 
5
5
  ## With uv
6
6
 
@@ -7,7 +7,7 @@ name = "libsbgnpy"
7
7
  dynamic = ["version"]
8
8
  description = "libsbgnpy are python utilities for working with SBGN."
9
9
  readme = "README.md"
10
- requires-python = ">=3.11"
10
+ requires-python = ">=3.11.5"
11
11
  license = "MIT"
12
12
  license-files = ["LICENSE"]
13
13
  authors = [
@@ -38,27 +38,30 @@ keywords = [
38
38
  ]
39
39
  dependencies = [
40
40
  # the CA bundle of requests, without the emSign roots of GHSA-6q48-6c7w-9gw2
41
- "certifi>=2026.10.19",
41
+ "certifi>=2026.11.20",
42
42
  "lxml>=6.1.3",
43
43
  "requests>=2.34.2",
44
44
  "rich>=15.0.0",
45
- "xsdata>=26.2",
45
+ "xsdata>=26.11",
46
46
  ]
47
47
 
48
48
  [project.optional-dependencies]
49
49
  dev = [
50
- "bump-my-version>=1.5.1",
51
- "ruff>=0.16.6",
52
- "pre-commit>=4.6.2",
53
- "ty>=0.0.78",
54
- "tox>=4.61.2",
55
- "pytest>=9.1.1",
50
+ "bump-my-version>=1.8.1",
51
+ "ruff>=0.17.6",
52
+ "pre-commit>=4.7.0",
53
+ "ty>=0.0.111",
54
+ "tox>=4.67.16",
55
+ "pytest>=9.2.0",
56
56
  "pytest-cov>=7.1.0",
57
- "zensical>=0.0.59",
58
- "mkdocstrings-python>=2.0.8",
59
- "xsdata[cli]>=26.2",
57
+ "zensical>=0.1.3",
58
+ "mkdocstrings-python>=2.0.11",
59
+ "xsdata[cli]>=26.11",
60
+ # Security floors for transitive CSS and filename pattern parsers.
61
+ "soupsieve>=4.1.3",
62
+ "wcmatch>=12.0.4",
60
63
  "types-lxml>=2026.2.16",
61
- "tox-uv>=1.36.0",
64
+ "tox-uv>=1.37.9",
62
65
  ]
63
66
 
64
67
  [project.urls]
@@ -121,4 +124,4 @@ error-on-warning = true
121
124
  # class, which a subclass replaces by a class of its own; the generated `Meta`
122
125
  # classes are no subclasses of each other and are only read by xsdata
123
126
  include = ["src/libsbgnpy/sbgn.py", "src/libsbgnpy/render.py"]
124
- rules = { invalid-attribute-override = "ignore" }
127
+ rules = { incompatible-attribute-override = "ignore" }
@@ -0,0 +1,21 @@
1
+ # Release notes for libsbgnpy 0.7.3
2
+
3
+ ## Security
4
+
5
+ - Reject redirects from the rendering web service. HTTP 307 and 308 responses could forward an uploaded SBGN document to another origin. Redirect responses could also be read before the image size limit was enforced. Rendering now raises `RenderError` for redirect responses and leaves any existing image unchanged.
6
+ - Add regression tests for HTTP 301, 302, 303, 307 and 308 responses, including responses which claim to contain a valid image.
7
+ - Update Soup Sieve from 2.10 to 4.1.3, fixing denial of service in selector matching and parsing ([GHSA-mmhr-3c5m-f64f](https://github.com/advisories/GHSA-mmhr-3c5m-f64f), [GHSA-7g44-g9rc-x53w](https://github.com/advisories/GHSA-7g44-g9rc-x53w), [GHSA-6655-6qjp-jx7x](https://github.com/advisories/GHSA-6655-6qjp-jx7x)). Update wcmatch to 12.0.4, which includes the filename matching denial of service fix in 11.2 ([GHSA-53pm-wgxf-c6qf](https://github.com/advisories/GHSA-53pm-wgxf-c6qf)). Both are development dependencies; explicit version floors prevent a fresh development installation from selecting vulnerable versions.
8
+ - Parse standalone render XML with the same strict parser as SBGN documents. Malformed XML raises `ParserError`, entity content is ignored and an encoding declaration cannot corrupt an already decoded string.
9
+ - Restrict XML model lookup to libsbgnpy bindings as defense in depth, excluding unrelated dataclasses loaded by an application.
10
+ - Pin workflow actions to immutable commits and update checkout to 7.0.1, setup-uv to 10.4.0 and deploy-pages to 5.0.1. Release branch synchronization supplies credentials only to its push instead of storing them in the checkout.
11
+
12
+ ## Compatibility
13
+
14
+ - Python 3.11.5 or newer is required. This preserves the Python 3.11 to 3.15 support range while allowing every locked environment to use the patched Soup Sieve releases, which require at least Python 3.11.5.
15
+
16
+ ## Dependencies and development
17
+
18
+ - Update runtime dependency floors to certifi 2026.11.20 and xsdata 26.11, and refresh the complete dependency lock.
19
+ - Update development tools, including bump-my-version 1.8.1, Ruff 0.17.6, ty 0.0.111, tox 4.67.16, tox-uv 1.37.9, Zensical 0.1.3 and mkdocstrings-python 2.0.11. Pre-commit uses the updated Ruff and ty versions.
20
+ - Use ty's renamed `incompatible-attribute-override` rule for the generated bindings.
21
+ - Preserve the public `Enum` behavior when generating bindings with xsdata 26.11, which otherwise changes their base class to `StrEnum`.
@@ -14,7 +14,9 @@ truth for the generation, it applies every step which used to be done by hand:
14
14
  declares them globally (`<xs:attribute ref="render:id"/>`), which makes them
15
15
  namespace qualified, but documents written by the SBGN tools carry them
16
16
  without a namespace,
17
- 5. `ruff format` and `ruff check --fix` bring the code on the style of the
17
+ 5. string enums generated by xsdata 26.11 use the existing `Enum` base to
18
+ preserve the public API,
19
+ 6. `ruff format` and `ruff check --fix` bring the code on the style of the
18
20
  package.
19
21
 
20
22
  Regenerate the bindings after a change of the schemas or of xsdata:
@@ -135,6 +137,13 @@ def postprocess(name: str, code: str) -> str:
135
137
  code = ATTRIBUTE_NAMESPACE.sub(
136
138
  r'\g<type># "namespace": "' + RENDER_NS + '"', code
137
139
  )
140
+ if name == "sbgn.py":
141
+ # xsdata 26.11 defaults to StrEnum. Keep the public enum comparison,
142
+ # hashing and string conversion behavior of the existing bindings.
143
+ code = code.replace("from enum import StrEnum\n", "from enum import Enum\n")
144
+ code = re.sub(
145
+ r"^(class \w+)\(StrEnum\):", r"\1(Enum):", code, flags=re.MULTILINE
146
+ )
138
147
  return MODULE_DOCSTRINGS[name] + "\n" + code
139
148
 
140
149
 
@@ -60,7 +60,7 @@ from libsbgnpy.specification import (
60
60
  from libsbgnpy.validator import validate, validate_xsd
61
61
 
62
62
  __author__ = "Matthias Koenig"
63
- __version__ = "0.7.2"
63
+ __version__ = "0.7.3"
64
64
 
65
65
  # the package does not configure logging, see `libsbgnpy.log`
66
66
  logging.getLogger(__name__).addHandler(logging.NullHandler())
@@ -67,6 +67,8 @@ def render_sbgn(sbgn: Sbgn, image_file: Path, file_format: str = "png") -> None:
67
67
  is. The service currently returns a JPEG although it declares a PNG; the
68
68
  JPEG is written as it is and a warning is logged.
69
69
 
70
+ Redirects are rejected so that the document is only sent to `RENDER_URL`.
71
+
70
72
  Args:
71
73
  sbgn: SBGN document
72
74
  image_file: path of the image to create, ending in `.<file_format>`
@@ -75,8 +77,8 @@ def render_sbgn(sbgn: Sbgn, image_file: Path, file_format: str = "png") -> None:
75
77
 
76
78
  Raises:
77
79
  ValueError: if the format is not supported or the file has another suffix
78
- RenderError: if the web service answers with something else than an
79
- image, or with an image larger than `RENDER_MAX_BYTES`
80
+ RenderError: if the web service redirects, answers with something else
81
+ than an image, or with an image larger than `RENDER_MAX_BYTES`
80
82
  requests.RequestException: if the web service cannot be reached or fails;
81
83
  `RenderError` is a subclass
82
84
  """
@@ -97,6 +99,8 @@ def render_sbgn(sbgn: Sbgn, image_file: Path, file_format: str = "png") -> None:
97
99
  files={"file": ("render.sbgn", xml_bytes, "application/xml")},
98
100
  timeout=RENDER_TIMEOUT,
99
101
  stream=True,
102
+ allow_redirects=False,
103
+ hooks={"response": _reject_redirect},
100
104
  ) as response:
101
105
  response.raise_for_status()
102
106
  content_type = response.headers.get("Content-Type", "")
@@ -119,6 +123,35 @@ def render_sbgn(sbgn: Sbgn, image_file: Path, file_format: str = "png") -> None:
119
123
  logger.info("SBGN rendered: %s", image_file)
120
124
 
121
125
 
126
+ def _reject_redirect(
127
+ response: requests.Response, *args: object, **kwargs: object
128
+ ) -> requests.Response:
129
+ """Reject redirects before Requests reads their bodies.
130
+
131
+ Requests consumes a redirect body even with `allow_redirects=False` to
132
+ prepare the next request. A response hook runs before that happens, keeping
133
+ the body outside the image size limit from being read into memory. The
134
+ response must be closed here because the caller has not received it yet.
135
+
136
+ Args:
137
+ response: response from the rendering web service
138
+ args: positional arguments supplied by Requests
139
+ kwargs: request options supplied by Requests
140
+
141
+ Returns:
142
+ The response if it does not redirect.
143
+
144
+ Raises:
145
+ RenderError: if the web service redirects
146
+ """
147
+ if 300 <= response.status_code < 400:
148
+ response.close()
149
+ raise RenderError(
150
+ "The rendering web service redirected the request.", response=response
151
+ )
152
+ return response
153
+
154
+
122
155
  def _read_limited(response: requests.Response) -> bytes:
123
156
  """Read the body of a streamed response up to `RENDER_MAX_BYTES`.
124
157
 
@@ -57,6 +57,11 @@ RENDER_NAMESPACES_OLD = ("http://projects.eml.org/bcb/sbml/render/level2",)
57
57
  RENDER_ATTRIBUTES_OLD = {"linearGradient": ("z1", "z2", "spreadMethod")}
58
58
 
59
59
 
60
+ def _binding_context() -> XmlContext:
61
+ """Restrict XML-selected model types to the library's bindings."""
62
+ return XmlContext(models_package="libsbgnpy.")
63
+
64
+
60
65
  def _xml_parser(encoding: str | None = None) -> etree.XMLParser:
61
66
  """Create the lxml parser for untrusted documents.
62
67
 
@@ -218,7 +223,9 @@ def _read_sbgn(source: str | bytes) -> Sbgn:
218
223
  # a value outside of an enumeration is kept as a string, xsdata warns
219
224
  warnings.simplefilter("always", ConverterWarning)
220
225
  try:
221
- sbgn = XmlParser(handler=LxmlEventHandler).parse(root, Sbgn)
226
+ sbgn = XmlParser(
227
+ context=_binding_context(), handler=LxmlEventHandler
228
+ ).parse(root, Sbgn)
222
229
  except TypeError as err:
223
230
  # a required element or attribute is missing, the dataclass rejects it
224
231
  raise ParserError(f"The document is no valid SBGN-ML: {err}") from err
@@ -315,24 +322,51 @@ def read_render_from_string(xml_str: str) -> RenderInformation:
315
322
  Render information is stored in the `extension` of an SBGN element, see
316
323
  `libsbgnpy.render`.
317
324
 
325
+ The string is already decoded, so any encoding declared in it is ignored.
326
+
318
327
  Args:
319
328
  xml_str: `renderInformation` document
320
329
 
321
330
  Returns:
322
331
  The render information.
323
332
 
333
+ Raises:
334
+ xsdata.exceptions.ParserError: if the content is no render information
335
+ """
336
+ try:
337
+ root = parse_xml(xml_str)
338
+ except etree.XMLSyntaxError as err:
339
+ raise ParserError(str(err)) from err
340
+ return _bind_render(root)
341
+
342
+
343
+ def _bind_render(root: etree._Element) -> RenderInformation:
344
+ """Bind parsed render XML to its data model.
345
+
346
+ Args:
347
+ root: root element of the render information
348
+
349
+ Returns:
350
+ The render information.
351
+
324
352
  Raises:
325
353
  xsdata.exceptions.ParserError: if the content is no render information
326
354
  """
327
355
  parser = XmlParser(
328
- context=XmlContext(),
356
+ context=_binding_context(),
357
+ handler=LxmlEventHandler,
329
358
  config=ParserConfig(
330
359
  fail_on_converter_warnings=False,
331
360
  fail_on_unknown_attributes=True,
332
361
  fail_on_unknown_properties=True,
333
362
  ),
334
363
  )
335
- return parser.from_string(xml_str, RenderInformation)
364
+ try:
365
+ return parser.parse(root, RenderInformation)
366
+ except TypeError as err:
367
+ raise ParserError(
368
+ f"The document is no valid render information: {err}"
369
+ ) from err
336
370
 
337
371
 
338
372
  def write_render_to_string(render_info: RenderInformation) -> str:
@@ -567,7 +601,7 @@ def read_render_from_extension(
567
601
  if etree.QName(root).namespace in RENDER_NAMESPACES_OLD:
568
602
  root = _upconvert_render(root)
569
603
  if root.tag == qname:
570
- return read_render_from_string(etree.tostring(root, encoding="unicode"))
604
+ return _bind_render(root)
571
605
  return None
572
606
 
573
607
 
@@ -35,6 +35,7 @@ The script is the single source of truth for the generation, `xsdata[cli]` is a
35
35
  )
36
36
  ```
37
37
 
38
+ - string enums generated by xsdata 26.11 keep the existing `Enum` base, preserving comparison, hashing and string conversion of the public API
38
39
  - `ruff check --fix` and `ruff format` with the configuration of the repository
39
40
 
40
41
  ### Open points
@@ -8,10 +8,12 @@ local HTTP server; `test_render_sbgn` queries the real service, it is marked as
8
8
  import threading
9
9
  from collections.abc import Iterator
10
10
  from http.server import BaseHTTPRequestHandler, HTTPServer
11
+ from io import BytesIO
11
12
  from pathlib import Path
12
13
 
13
14
  import pytest
14
15
  import requests
16
+ from requests.adapters import BaseAdapter
15
17
 
16
18
  from libsbgnpy import Sbgn, read_sbgn_from_file, render_sbgn
17
19
  from libsbgnpy import image as image_module
@@ -147,6 +149,54 @@ def test_render_sbgn_server_error(tmp_path: Path, sbgn: Sbgn, service: Service)
147
149
  assert not (tmp_path / "test.png").exists()
148
150
 
149
151
 
152
+ @pytest.mark.parametrize("status", [301, 302, 303, 307, 308])
153
+ def test_render_sbgn_rejects_redirects(
154
+ tmp_path: Path, sbgn: Sbgn, monkeypatch: pytest.MonkeyPatch, status: int
155
+ ) -> None:
156
+ """A redirect cannot forward the document or replace an existing image."""
157
+ requests_sent: list[requests.PreparedRequest] = []
158
+
159
+ class RedirectBody(BytesIO):
160
+ def read(self, *args: object, **kwargs: object) -> bytes:
161
+ """Fail if Requests consumes a redirect body before it is rejected."""
162
+ raise AssertionError("The redirect body must not be read.")
163
+
164
+ class RedirectAdapter(BaseAdapter):
165
+ def send(
166
+ self, request: requests.PreparedRequest, *args: object, **kwargs: object
167
+ ) -> requests.Response:
168
+ """Redirect the initial upload to an unrelated origin."""
169
+ requests_sent.append(request)
170
+ assert request.url is not None
171
+ response = requests.Response()
172
+ response.request = request
173
+ response.url = request.url
174
+ response.status_code = status if len(requests_sent) == 1 else 200
175
+ response.headers["Content-Type"] = "image/png"
176
+ response.headers["Location"] = "https://untrusted.example/upload"
177
+ response.raw = RedirectBody(PNG)
178
+ return response
179
+
180
+ def close(self) -> None:
181
+ """Close the in-memory transport, which holds no connections."""
182
+
183
+ adapter = RedirectAdapter()
184
+ monkeypatch.setattr(requests.Session, "get_adapter", lambda self, url: adapter)
185
+ f_png = tmp_path / "test.png"
186
+ f_png.write_bytes(b"previous")
187
+
188
+ with pytest.raises(RenderError, match="redirected") as error:
189
+ render_sbgn(sbgn, f_png)
190
+
191
+ assert error.value.response is not None
192
+ assert error.value.response.status_code == status
193
+ assert error.value.response.raw.closed
194
+ assert len(requests_sent) == 1
195
+ assert requests_sent[0].url == image_module.RENDER_URL
196
+ assert f_png.read_bytes() == b"previous"
197
+ assert [f.name for f in tmp_path.iterdir()] == ["test.png"]
198
+
199
+
150
200
  def test_render_sbgn_unsupported_format(tmp_path: Path, sbgn: Sbgn) -> None:
151
201
  """An unsupported image format is reported."""
152
202
  with pytest.raises(ValueError, match="Unsupported image format"):
@@ -148,6 +148,32 @@ def test_read_render_from_string() -> None:
148
148
  assert len(render_info.list_of_styles.style) == 2
149
149
 
150
150
 
151
+ def test_read_render_from_string_rejects_incomplete_xml() -> None:
152
+ """An incomplete XML document raises a `ParserError`."""
153
+ xml_str = RENDER_XML.rstrip().removesuffix("</renderInformation>")
154
+ with pytest.raises(ParserError, match="Premature end"):
155
+ read_render_from_string(xml_str)
156
+
157
+
158
+ def test_read_render_from_string_ignores_declared_encoding() -> None:
159
+ """An already decoded string keeps Unicode regardless of its declaration."""
160
+ xml_str = '<?xml version="1.0" encoding="ISO-8859-1"?>' + RENDER_XML.replace(
161
+ 'programName="libsbgnpy"', 'programName="König"'
162
+ )
163
+ assert read_render_from_string(xml_str).program_name == "König"
164
+
165
+
166
+ def test_read_render_from_string_does_not_expand_entities() -> None:
167
+ """An inline entity does not add a color definition to render information."""
168
+ dtd = """<!DOCTYPE renderInformation [
169
+ <!ENTITY extraColor '<colorDefinition id="extra" value="#000000"/>'>
170
+ ]>"""
171
+ xml_str = dtd + RENDER_XML.replace(
172
+ "</listOfColorDefinitions>", "&extraColor;</listOfColorDefinitions>"
173
+ )
174
+ assert read_render_from_string(xml_str) == read_render_from_string(RENDER_XML)
175
+
176
+
151
177
  def test_render_roundtrip() -> None:
152
178
  """Render information survives the round trip."""
153
179
  render_info = read_render_from_string(RENDER_XML)
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes