HTPolyNet 2.11.5__tar.gz → 2.11.6__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 (372) hide show
  1. {htpolynet-2.11.5 → htpolynet-2.11.6}/CHANGELOG.md +49 -0
  2. {htpolynet-2.11.5 → htpolynet-2.11.6}/PKG-INFO +1 -1
  3. {htpolynet-2.11.5 → htpolynet-2.11.6}/ROADMAP.md +22 -6
  4. {htpolynet-2.11.5 → htpolynet-2.11.6}/pyproject.toml +1 -1
  5. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/core/runtime.py +4 -0
  6. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/cure/ringcontroller.py +117 -3
  7. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/cure/triplesearch.py +51 -0
  8. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/schema/base.yaml +11 -0
  9. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/test_ringcontroller.py +107 -0
  10. {htpolynet-2.11.5 → htpolynet-2.11.6}/.claude/settings.json +0 -0
  11. {htpolynet-2.11.5 → htpolynet-2.11.6}/.claude/skills/htpolynet/SKILL.md +0 -0
  12. {htpolynet-2.11.5 → htpolynet-2.11.6}/.envrc +0 -0
  13. {htpolynet-2.11.5 → htpolynet-2.11.6}/.github/workflows/conda-forge-sync.yml +0 -0
  14. {htpolynet-2.11.5 → htpolynet-2.11.6}/.github/workflows/docker.yml +0 -0
  15. {htpolynet-2.11.5 → htpolynet-2.11.6}/.github/workflows/docs.yml +0 -0
  16. {htpolynet-2.11.5 → htpolynet-2.11.6}/.github/workflows/release.yaml +0 -0
  17. {htpolynet-2.11.5 → htpolynet-2.11.6}/.github/workflows/test.yml +0 -0
  18. {htpolynet-2.11.5 → htpolynet-2.11.6}/.gitignore +0 -0
  19. {htpolynet-2.11.5 → htpolynet-2.11.6}/.readthedocs.yaml +0 -0
  20. {htpolynet-2.11.5 → htpolynet-2.11.6}/CITATION.cff +0 -0
  21. {htpolynet-2.11.5 → htpolynet-2.11.6}/CLAUDE.md +0 -0
  22. {htpolynet-2.11.5 → htpolynet-2.11.6}/LICENSE +0 -0
  23. {htpolynet-2.11.5 → htpolynet-2.11.6}/MANIFEST.in +0 -0
  24. {htpolynet-2.11.5 → htpolynet-2.11.6}/README.md +0 -0
  25. {htpolynet-2.11.5 → htpolynet-2.11.6}/docker/Dockerfile +0 -0
  26. {htpolynet-2.11.5 → htpolynet-2.11.6}/docker/compose.yml +0 -0
  27. {htpolynet-2.11.5 → htpolynet-2.11.6}/docker/docker-entrypoint.sh +0 -0
  28. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/Makefile +0 -0
  29. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/README.rst +0 -0
  30. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/make.bat +0 -0
  31. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/requirements.txt +0 -0
  32. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/_static/.gitkeep +0 -0
  33. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/_static/htpolynet-favicon.ico +0 -0
  34. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/_static/htpolynet-landing.jpg +0 -0
  35. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/_static/htpolynet-logo-dark.png +0 -0
  36. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/_static/htpolynet-logo-light.png +0 -0
  37. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/changelog.rst +0 -0
  38. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/conf.py +0 -0
  39. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/0-liquid-styrene/configuration.rst +0 -0
  40. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/0-liquid-styrene/index.rst +0 -0
  41. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/0-liquid-styrene/introduction.rst +0 -0
  42. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/0-liquid-styrene/monomer.rst +0 -0
  43. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/0-liquid-styrene/postsim.rst +0 -0
  44. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/0-liquid-styrene/results.rst +0 -0
  45. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/0-liquid-styrene/run.rst +0 -0
  46. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/1-polystyrene/configuration.rst +0 -0
  47. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/1-polystyrene/index.rst +0 -0
  48. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/1-polystyrene/introduction.rst +0 -0
  49. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/1-polystyrene/monomer.rst +0 -0
  50. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/1-polystyrene/pics/STY.png +0 -0
  51. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/1-polystyrene/pics/STYCC.png +0 -0
  52. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/1-polystyrene/pics/buildtraces.png +0 -0
  53. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/1-polystyrene/pics/cure_info.png +0 -0
  54. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/1-polystyrene/pics/densification-density.png +0 -0
  55. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/1-polystyrene/pics/final-box.png +0 -0
  56. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/1-polystyrene/pics/reaction_network.png +0 -0
  57. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/1-polystyrene/pics/sty-coloring.tcl +0 -0
  58. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/1-polystyrene/pics/sty-cured.png +0 -0
  59. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/1-polystyrene/pics/sty-detail.png +0 -0
  60. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/1-polystyrene/pics/sty-liq.png +0 -0
  61. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/1-polystyrene/pics/styrene-polymerization.png +0 -0
  62. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/1-polystyrene/postsim.rst +0 -0
  63. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/1-polystyrene/reactions.rst +0 -0
  64. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/1-polystyrene/results.rst +0 -0
  65. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/1-polystyrene/run.rst +0 -0
  66. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/configuration.rst +0 -0
  67. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/index.rst +0 -0
  68. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/introduction.rst +0 -0
  69. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/BPA.png +0 -0
  70. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/GMA.png +0 -0
  71. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/HIE.png +0 -0
  72. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/buildtraces.png +0 -0
  73. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/cure_info.png +0 -0
  74. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/densification-density.png +0 -0
  75. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/four_dimers.eps +0 -0
  76. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/four_dimers.fig +0 -0
  77. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/four_dimers.png +0 -0
  78. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/gma-sty-coloring.tcl +0 -0
  79. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/gma-sty-cured.png +0 -0
  80. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/gma-sty-detail.png +0 -0
  81. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/gma-sty-liq.png +0 -0
  82. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/p1-traces.png +0 -0
  83. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/reaction_network.png +0 -0
  84. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/vesys.eps +0 -0
  85. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/vesys.fig +0 -0
  86. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/vesys.png +0 -0
  87. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/postsim.rst +0 -0
  88. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/reactions.rst +0 -0
  89. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/results.rst +0 -0
  90. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/run.rst +0 -0
  91. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/configuration.rst +0 -0
  92. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/index.rst +0 -0
  93. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/introduction.rst +0 -0
  94. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/monomers.rst +0 -0
  95. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/DGE-epoxy.png +0 -0
  96. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/DGE-labelled.png +0 -0
  97. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/PAC-2d.png +0 -0
  98. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/PAC-labelled.png +0 -0
  99. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/buildtraces.png +0 -0
  100. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/cure_info.png +0 -0
  101. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/densification-density.png +0 -0
  102. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/dge-pac-coloring.tcl +0 -0
  103. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/dge-pac-cured.png +0 -0
  104. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/dge-pac-detail.png +0 -0
  105. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/dge-pac-liq.png +0 -0
  106. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/dgesys.eps +0 -0
  107. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/dgesys.fig +0 -0
  108. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/dgesys.png +0 -0
  109. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/equil-rho_v_ns.png +0 -0
  110. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/postsim-typical.png +0 -0
  111. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/prod-e.png +0 -0
  112. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/prod-equil-rho_v_ns.png +0 -0
  113. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/prod-rho_v_ns.png +0 -0
  114. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/prod-tg.png +0 -0
  115. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/r1.png +0 -0
  116. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/r2.png +0 -0
  117. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/r3.png +0 -0
  118. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/reaction_network.png +0 -0
  119. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/rho_v_ns.png +0 -0
  120. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/short-e.png +0 -0
  121. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/short-tg.png +0 -0
  122. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/postsim.rst +0 -0
  123. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/reactions.rst +0 -0
  124. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/results.rst +0 -0
  125. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/run.rst +0 -0
  126. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/configuration.rst +0 -0
  127. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/index.rst +0 -0
  128. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/introduction.rst +0 -0
  129. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/monomers.rst +0 -0
  130. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/pics/buildtraces.png +0 -0
  131. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/pics/cure_info.png +0 -0
  132. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/pics/densification-density.png +0 -0
  133. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/pics/dfa-fde-coloring.tcl +0 -0
  134. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/pics/dfa-fde-cured.png +0 -0
  135. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/pics/dfa-fde-detail.png +0 -0
  136. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/pics/dfa-fde-liq.png +0 -0
  137. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/pics/reaction_network.png +0 -0
  138. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/postsim.rst +0 -0
  139. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/reactions.rst +0 -0
  140. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/results.rst +0 -0
  141. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/run.rst +0 -0
  142. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/5-htpb-ipdi/configuration.rst +0 -0
  143. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/5-htpb-ipdi/index.rst +0 -0
  144. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/5-htpb-ipdi/introduction.rst +0 -0
  145. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/5-htpb-ipdi/monomers.rst +0 -0
  146. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/5-htpb-ipdi/pics/buildtraces.png +0 -0
  147. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/5-htpb-ipdi/pics/cure_info.png +0 -0
  148. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/5-htpb-ipdi/pics/densification-density.png +0 -0
  149. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/5-htpb-ipdi/pics/htpb-coloring.tcl +0 -0
  150. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/5-htpb-ipdi/pics/htpb-ipdi-cured.png +0 -0
  151. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/5-htpb-ipdi/pics/htpb-ipdi-detail.png +0 -0
  152. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/5-htpb-ipdi/pics/htpb-ipdi-liq.png +0 -0
  153. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/5-htpb-ipdi/pics/reaction_network.png +0 -0
  154. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/5-htpb-ipdi/postsim.rst +0 -0
  155. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/5-htpb-ipdi/reactions.rst +0 -0
  156. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/5-htpb-ipdi/results.rst +0 -0
  157. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/5-htpb-ipdi/run.rst +0 -0
  158. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/6-cyanate-ester/configuration.rst +0 -0
  159. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/6-cyanate-ester/index.rst +0 -0
  160. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/6-cyanate-ester/introduction.rst +0 -0
  161. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/6-cyanate-ester/monomers.rst +0 -0
  162. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/6-cyanate-ester/pics/badcy-coloring.tcl +0 -0
  163. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/6-cyanate-ester/pics/badcy-cured.png +0 -0
  164. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/6-cyanate-ester/pics/badcy-detail.png +0 -0
  165. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/6-cyanate-ester/pics/badcy-liq.png +0 -0
  166. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/6-cyanate-ester/pics/buildtraces.png +0 -0
  167. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/6-cyanate-ester/pics/cure_info.png +0 -0
  168. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/6-cyanate-ester/pics/densification-density.png +0 -0
  169. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/6-cyanate-ester/pics/reaction_network.png +0 -0
  170. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/6-cyanate-ester/postsim.rst +0 -0
  171. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/6-cyanate-ester/reactions.rst +0 -0
  172. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/6-cyanate-ester/results.rst +0 -0
  173. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/6-cyanate-ester/run.rst +0 -0
  174. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/example-tutorials/index.rst +0 -0
  175. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/htpolynetpackage.rst +0 -0
  176. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/index.rst +0 -0
  177. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/install.rst +0 -0
  178. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/references/index.rst +0 -0
  179. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/references/mol2-reference.pdf +0 -0
  180. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/references.bib +0 -0
  181. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/user-guide/CURE.odg +0 -0
  182. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/user-guide/bond_filter.odg +0 -0
  183. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/user-guide/building-a-system.rst +0 -0
  184. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/user-guide/configs/configs-for-analyze.rst +0 -0
  185. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/user-guide/configs/configs-for-postsim.rst +0 -0
  186. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/user-guide/configs/configs-for-run.rst +0 -0
  187. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/user-guide/configuration-files.rst +0 -0
  188. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/user-guide/container-usage.rst +0 -0
  189. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/user-guide/flow1.odg +0 -0
  190. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/user-guide/flow1yaml.odg +0 -0
  191. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/user-guide/hydrogenated.eps +0 -0
  192. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/user-guide/hydrogenated.fig +0 -0
  193. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/user-guide/index.rst +0 -0
  194. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/user-guide/molecular-structure-inputs.rst +0 -0
  195. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/user-guide/periodic-networks.rst +0 -0
  196. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/user-guide/pics/STY.png +0 -0
  197. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/user-guide/pics/STYCC.png +0 -0
  198. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/user-guide/pics/TypicalUsageFlow.png +0 -0
  199. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/user-guide/pics/bond_filter.png +0 -0
  200. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/user-guide/pics/chemdoodle-2dsketcher-emb.png +0 -0
  201. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/user-guide/pics/chemdoodle-2dsketcher-styrene.png +0 -0
  202. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/user-guide/pics/hydrogenated.png +0 -0
  203. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/user-guide/pics/ring_pierce/ring_pierce_cases.png +0 -0
  204. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/user-guide/pics/ring_pierce/ring_pierce_linkcell.png +0 -0
  205. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/user-guide/postcure-repair.rst +0 -0
  206. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/user-guide/program-flow.rst +0 -0
  207. {htpolynet-2.11.5 → htpolynet-2.11.6}/docs/source/user-guide/usage.rst +0 -0
  208. {htpolynet-2.11.5 → htpolynet-2.11.6}/scripts/check-conda-sync.py +0 -0
  209. {htpolynet-2.11.5 → htpolynet-2.11.6}/scripts/release.sh +0 -0
  210. {htpolynet-2.11.5 → htpolynet-2.11.6}/scripts/render-detail.sh +0 -0
  211. {htpolynet-2.11.5 → htpolynet-2.11.6}/scripts/render-detail.tcl +0 -0
  212. {htpolynet-2.11.5 → htpolynet-2.11.6}/scripts/render-snapshot.sh +0 -0
  213. {htpolynet-2.11.5 → htpolynet-2.11.6}/scripts/run_all_examples.sh +0 -0
  214. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/__init__.py +0 -0
  215. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/analysis/__init__.py +0 -0
  216. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/analysis/analyze.py +0 -0
  217. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/analysis/plot.py +0 -0
  218. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/analysis/postsim.py +0 -0
  219. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/analysis/utils.py +0 -0
  220. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/cli.py +0 -0
  221. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/core/__init__.py +0 -0
  222. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/core/bondtemplate.py +0 -0
  223. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/core/configuration.py +0 -0
  224. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/core/coordinates.py +0 -0
  225. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/core/molecule.py +0 -0
  226. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/core/paramcache.py +0 -0
  227. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/core/productsplice.py +0 -0
  228. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/core/projectfilesystem.py +0 -0
  229. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/core/topocoord.py +0 -0
  230. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/core/topology.py +0 -0
  231. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/cure/__init__.py +0 -0
  232. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/cure/chain.py +0 -0
  233. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/cure/curecontroller.py +0 -0
  234. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/cure/expandreactions.py +0 -0
  235. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/cure/reaction.py +0 -0
  236. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/external/__init__.py +0 -0
  237. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/external/ambertools.py +0 -0
  238. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/external/command.py +0 -0
  239. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/external/gromacs.py +0 -0
  240. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/external/slurm.py +0 -0
  241. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/external/smiles_input.py +0 -0
  242. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/external/software.py +0 -0
  243. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/geometry/__init__.py +0 -0
  244. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/geometry/bondlist.py +0 -0
  245. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/geometry/lattice.py +0 -0
  246. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/geometry/linkcell.py +0 -0
  247. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/geometry/matrix4.py +0 -0
  248. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/geometry/placement.py +0 -0
  249. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/geometry/ring.py +0 -0
  250. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/geometry/templategeom.py +0 -0
  251. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/io/__init__.py +0 -0
  252. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/io/gro.py +0 -0
  253. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/io/mol2.py +0 -0
  254. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/io/pdb.py +0 -0
  255. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/repair/__init__.py +0 -0
  256. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/repair/cyanate_cap.py +0 -0
  257. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/repair/topology_surgery.py +0 -0
  258. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/resources/README.md +0 -0
  259. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/resources/__init__.py +0 -0
  260. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/resources/claude/SKILL.md +0 -0
  261. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/resources/example_depot/0-liquid-styrene.yaml +0 -0
  262. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/resources/example_depot/1-polystyrene.yaml +0 -0
  263. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/resources/example_depot/2-bisgma-styrene-thermoset.yaml +0 -0
  264. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/resources/example_depot/3-pacm-dgeba-epoxy-thermoset.yaml +0 -0
  265. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/resources/example_depot/4-dfda-fde-epoxy-thermoset.yaml +0 -0
  266. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/resources/example_depot/5-htpb-ipdi.yaml +0 -0
  267. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/resources/example_depot/6-cyanate-ester.yaml +0 -0
  268. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/resources/mdp/README.md +0 -0
  269. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/resources/mdp/drag-min.mdp +0 -0
  270. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/resources/mdp/drag-npt.mdp +0 -0
  271. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/resources/mdp/drag-nvt.mdp +0 -0
  272. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/resources/mdp/min.mdp +0 -0
  273. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/resources/mdp/npt.mdp +0 -0
  274. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/resources/mdp/nvt.mdp +0 -0
  275. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/resources/mdp/relax-min.mdp +0 -0
  276. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/resources/mdp/relax-npt.mdp +0 -0
  277. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/resources/mdp/relax-nvt.mdp +0 -0
  278. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/resources/mdp/single-molecule-min.mdp +0 -0
  279. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/resources/mdp/single-molecule-nvt.mdp +0 -0
  280. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/resources/molecules/inputs/DFA.pdb +0 -0
  281. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/resources/molecules/inputs/DGE.mol2 +0 -0
  282. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/resources/molecules/inputs/EMB.mol2 +0 -0
  283. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/resources/molecules/inputs/FDE.pdb +0 -0
  284. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/resources/molecules/inputs/GMA.mol2 +0 -0
  285. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/resources/molecules/inputs/PAC.mol2 +0 -0
  286. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/resources/molecules/inputs/STY.mol2 +0 -0
  287. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/resources/molecules/make-monomers.sh +0 -0
  288. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/resources/molecules/pics/DFA.png +0 -0
  289. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/resources/molecules/pics/DGE.png +0 -0
  290. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/resources/molecules/pics/EMB.png +0 -0
  291. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/resources/molecules/pics/FDE.png +0 -0
  292. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/resources/molecules/pics/GMA.png +0 -0
  293. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/resources/molecules/pics/PAC.png +0 -0
  294. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/resources/molecules/pics/STY.png +0 -0
  295. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/resources/molecules/sample-inputs/DFA.pdb +0 -0
  296. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/resources/molecules/sample-inputs/DGE.mol2 +0 -0
  297. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/resources/molecules/sample-inputs/EMB.mol2 +0 -0
  298. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/resources/molecules/sample-inputs/FDE.pdb +0 -0
  299. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/resources/molecules/sample-inputs/GMA.mol2 +0 -0
  300. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/resources/molecules/sample-inputs/PAC.mol2 +0 -0
  301. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/resources/molecules/sample-inputs/STY.mol2 +0 -0
  302. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/resources/tcl/readbonds.tcl +0 -0
  303. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/resources/tcl/readgrx.tcl +0 -0
  304. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/resources/tcl/render.tcl +0 -0
  305. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/utils/__init__.py +0 -0
  306. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/utils/banner.py +0 -0
  307. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/utils/checkpoint.py +0 -0
  308. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/utils/convergence.py +0 -0
  309. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/utils/dataframetools.py +0 -0
  310. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/utils/inputcheck.py +0 -0
  311. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/utils/logsetup.py +0 -0
  312. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/utils/profiling.py +0 -0
  313. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/utils/stringthings.py +0 -0
  314. {htpolynet-2.11.5 → htpolynet-2.11.6}/src/htpolynet/utils/vmd_viz.py +0 -0
  315. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/__init__.py +0 -0
  316. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/conftest.py +0 -0
  317. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/__init__.py +0 -0
  318. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/fixtures/config1.gro +0 -0
  319. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/fixtures/config1.top +0 -0
  320. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/fixtures/config2.gro +0 -0
  321. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/fixtures/config2.top +0 -0
  322. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/fixtures/items31.edr +0 -0
  323. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/fixtures/items43.edr +0 -0
  324. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/fixtures/items45.edr +0 -0
  325. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/fixtures/short.mdp +0 -0
  326. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/test_bondtemplate.py +0 -0
  327. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/test_cap_placement.py +0 -0
  328. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/test_chain.py +0 -0
  329. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/test_checkout_shadowing.py +0 -0
  330. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/test_completion_bias.py +0 -0
  331. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/test_conda_sync.py +0 -0
  332. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/test_configuration.py +0 -0
  333. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/test_convergence.py +0 -0
  334. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/test_cure_site_functionality.py +0 -0
  335. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/test_dataframetools.py +0 -0
  336. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/test_density_gate.py +0 -0
  337. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/test_gpu_usability.py +0 -0
  338. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/test_gromacs_get_energy_menu.py +0 -0
  339. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/test_gromacs_gmx_energy_trace.py +0 -0
  340. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/test_inputcheck.py +0 -0
  341. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/test_linkcell_pierce.py +0 -0
  342. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/test_mdrun_gpu_options.py +0 -0
  343. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/test_mol2_bond_fallback.py +0 -0
  344. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/test_molecule_charge_report.py +0 -0
  345. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/test_moleculetype_name.py +0 -0
  346. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/test_multibody_reactions.py +0 -0
  347. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/test_overlong_bond_report.py +0 -0
  348. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/test_paramcache.py +0 -0
  349. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/test_paramcache_ambertools.py +0 -0
  350. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/test_parameterize_react.py +0 -0
  351. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/test_placement_and_ringclose.py +0 -0
  352. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/test_plot_smoke.py +0 -0
  353. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/test_productsplice.py +0 -0
  354. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/test_projectfilesystem.py +0 -0
  355. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/test_relax_instrumentation.py +0 -0
  356. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/test_repair_charge_neutrality.py +0 -0
  357. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/test_repair_conversion.py +0 -0
  358. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/test_resources.py +0 -0
  359. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/test_ring.py +0 -0
  360. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/test_ring_cure_schema.py +0 -0
  361. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/test_ring_pierce_figs.py +0 -0
  362. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/test_setup_claude.py +0 -0
  363. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/test_sibling_templates.py +0 -0
  364. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/test_slurm_script.py +0 -0
  365. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/test_smiles_input.py +0 -0
  366. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/test_software_provenance.py +0 -0
  367. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/test_templategeom.py +0 -0
  368. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/test_topology/test.top +0 -0
  369. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/test_topology.py +0 -0
  370. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/test_transrot_turn_scan.py +0 -0
  371. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/test_triplesearch.py +0 -0
  372. {htpolynet-2.11.5 → htpolynet-2.11.6}/tests/unit/test_user_frcmod.py +0 -0
@@ -7,6 +7,55 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [2.11.6] - 2026-09-27
11
+
12
+ ### Added
13
+
14
+ - **A ring cure now refuses a closure that threads a ring already present, and registers
15
+ the rings it makes.** Two halves of one gap.
16
+
17
+ `reject_threaded_rings`, added in 2.11.4, asks whether a *new* ring would close around
18
+ an existing bond. It does not ask the converse --- whether dragging three monomers
19
+ together has run one of *their* bonds through a ring that was already there. Over ten
20
+ builds htpolynet-study found that second kind is mostly phenyls, which outnumber
21
+ triazines about six to one here, and that two of three were made by the cure rather
22
+ than by packing: one appeared in the same iteration as a triazine piercing, which is
23
+ what identifies the two as a single event. `reject_new_threading` closes it.
24
+
25
+ Only threadings the ladder *creates* count. The participating monomers are surveyed
26
+ before the closure ladder and again after it, so a monomer that arrived from packing
27
+ already threaded is not silently refused every reaction for the rest of the build ---
28
+ one of those exists in their data.
29
+
30
+ The second half is that **`Topology.rings` never contained a cure-formed ring.**
31
+ `detect_rings()` runs once per molecule template and the list is replicated at system
32
+ build; nothing updated it afterwards, and the product splice did not register the
33
+ triazine it creates. So every ring the ring cure ever made was invisible to every
34
+ ring-aware check in htpolynet --- including CURE's own `pierces_ring`, which means a
35
+ pairwise crosslink could thread a previously formed triazine with nothing noticing.
36
+ `form_rings` now registers each ring as it makes it.
37
+
38
+ No evidence yet that threading of either kind measurably affects Tg or density; the
39
+ case for both filters is mechanism, not measured harm. Set
40
+ `ring_cure.reject_new_threading: false` to reproduce the old behavior.
41
+
42
+
43
+ ### Changed
44
+
45
+ - **The box and density figures in the 2.11.5 and 2.11.4 notes below are retracted.**
46
+ Both releases quote traces --- +27.9% in volume, path 0.4104 nm, a two-regime
47
+ expansion and contraction --- produced by `relax` and `equilibrate` running against
48
+ the ladder topology, which is the defect 2.11.5 fixes. The box was responding to a
49
+ restrained, unbonded system, so those numbers describe nothing real and should not be
50
+ requoted. They are left in place rather than rewritten, because the releases went out
51
+ with them.
52
+
53
+ What survives unaffected: conversion, ring counts and iteration counts, which are
54
+ decided before those stages run; the threading filter's validation; the constant-volume
55
+ control, since NVT cannot move the box whatever topology it reads; and every
56
+ measurement from the pairwise route, which writes its topology correctly.
57
+
58
+
10
59
  ## [2.11.5] - 2026-09-26
11
60
 
12
61
  ### Fixed
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: htpolynet
3
- Version: 2.11.5
3
+ Version: 2.11.6
4
4
  Summary: Automated MD System Builder for Amorphous Network Polymers
5
5
  Project-URL: Source, https://github.com/cameronabrams/htpolynet
6
6
  Project-URL: Documentation, https://htpolynet.readthedocs.io/
@@ -235,10 +235,12 @@ Coverage as of the last measurement: **38.8%** overall.
235
235
  is the only part that is repo work; it is small, and everything else depends on it.
236
236
 
237
237
  *1. Convergence audit.* One CURE build and one ring-cure build at stock settings.
238
- One data point already exists and it cuts against the cheap end of the range: 2 ps of
239
- NPT per iteration does not converge a ring cure's box at all (see the constant-volume
240
- entry above), so the audit should expect the answer to be tens of ps rather than
241
- single digits, and should sample within a stage rather than only at its end.
238
+ There was a data point here --- that 2 ps of NPT per iteration does not converge a
239
+ ring cure's box --- but it is retracted with the rest of those traces (see the
240
+ constant-volume entry), because the stage that produced it was running against a
241
+ restrained, unbonded topology. The audit therefore has no prior to lean on at the
242
+ cheap end, which is an argument for running it rather than against. Sample within a
243
+ stage, not only at its end.
242
244
  For each stage ask a single question: at what fraction of its length does the
243
245
  observable stop changing? A 100 ps equilibration whose density plateaus at 20 ps is
244
246
  five times longer than it needs to be, and that is measurable once, cheaply, rather
@@ -289,6 +291,19 @@ Coverage as of the last measurement: **38.8%** overall.
289
291
  cheaper one. The A/B measuring whether it suffices is what should settle this; 100 ps
290
292
  per iteration against a 150-iteration cap is not a cost to take on speculatively.
291
293
 
294
+ > **RETRACTED 2026-09-26 --- every box and density number below is contaminated.**
295
+ > Until 2.11.5, a ring cure's `relax` and `equilibrate` grompp'd against the topology
296
+ > `close_rings` last wrote: restraints loaded at `kb = 3e5`, ring bonds not yet formed.
297
+ > So every trace here is the box responding to a restrained, unbonded system rather
298
+ > than to the network. Re-measure on 2.11.5 or later before quoting any of it.
299
+ >
300
+ > **Still good:** the frozen control at 5.2405 / 1155.9, because NVT cannot move the
301
+ > box whatever topology it reads; the surrogate box-breathing table further down,
302
+ > because the pairwise route writes its topology correctly
303
+ > (`curecontroller.py` writes gro and top after `update_topology_and_coordinates`, and
304
+ > a topology per relax stage); and conversion, ring counts and iteration counts, which
305
+ > are decided before these stages run.
306
+
292
307
  **MEASURED 2026-09-24, and the cheap shape is not enough.** A two-arm A/B, both arms
293
308
  on the same pinned image, differing only in the relax stage list:
294
309
 
@@ -331,8 +346,9 @@ Coverage as of the last measurement: **38.8%** overall.
331
346
  Cameron's instruction to match what the binary cures already do, are what the cold
332
347
  equilibration rests on --- not on hot-only being worse, which it is not.
333
348
 
334
- What the widening actually tracks is **concentration**, which is worth knowing on its
335
- own. Both arms widened for the first time at the same iteration, on the same trigger
349
+ What the widening actually tracks is **concentration** --- worth knowing on its own,
350
+ though the two numbers below divide by box volumes from the retracted traces above and
351
+ need re-deriving, even if the equality between arms is likely to survive it. Both arms widened for the first time at the same iteration, on the same trigger
336
352
  of two candidates against a floor of four, from very different states: 315 unreacted
337
353
  groups in a 192.6 nm3 box against 237 in a 143.7 nm3 box --- 1.6352 and 1.6489 groups
338
354
  per nm3, within 0.9% of each other, while the arms sat 0.09 apart in conversion and
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "htpolynet"
7
- version = "2.11.5"
7
+ version = "2.11.6"
8
8
  authors = [
9
9
  { name="Cameron F Abrams", email="cfa22@drexel.edu" },
10
10
  ]
@@ -706,11 +706,15 @@ class Runtime:
706
706
  rc.state.iter += 1
707
707
  continue
708
708
  bdf = triple_bonds_dataframe(chosen, sites, R.product, order=R.bonds[0].get('order', 1))
709
+ # what these monomers already thread, so only what the ladder creates counts
710
+ before_threading = rc.threading_census(TC, bdf, chosen)
709
711
  work = rc.close_rings(TC, bdf, gromacs_dict=gromacs_dict)
710
712
  # a ring the ladder could not pull shut would be bonded long and stay that way
711
713
  bdf, chosen = rc.accept(bdf, work, chosen)
712
714
  # now that the loop is nearly ring-sized, ask what it actually encloses
713
715
  bdf, chosen = rc.reject_threaded(TC, bdf, chosen)
716
+ # and the converse: did the drag push one of their own bonds through a ring
717
+ bdf, chosen = rc.reject_new_threading(TC, bdf, chosen, before_threading)
714
718
  if not chosen:
715
719
  rc.state.iter += 1
716
720
  continue
@@ -27,9 +27,10 @@ import yaml
27
27
  from ..analysis.plot import trace
28
28
  from ..core import projectfilesystem as pfs
29
29
  from ..core.productsplice import map_product_from_template
30
- from ..cure.triplesearch import (bonds_by_atom, candidate_triples, drop_threaded,
30
+ from ..cure.triplesearch import (_mic, bonds_by_atom, candidate_triples, drop_threaded,
31
31
  reactive_sites, residue_map, ring_threading_bonds,
32
- select_disjoint, site_name_maps)
32
+ rings_threaded_by, select_disjoint, site_name_maps)
33
+ from ..geometry.ring import Ring
33
34
  from ..external.gromacs import mdp_modify
34
35
  from ..repair.topology_surgery import neutralize_touched_fragments
35
36
 
@@ -112,6 +113,7 @@ class RingController:
112
113
  'min_rings_per_iteration': 4,
113
114
  'reject_threaded_rings': True,
114
115
  'prefilter_threaded_candidates': False,
116
+ 'reject_new_threading': True,
115
117
  'same_molecule': False,
116
118
  'same_residue': False,
117
119
  'relax': [{'ensemble': 'min'},
@@ -420,6 +422,110 @@ class RingController:
420
422
  keep.append(n)
421
423
  return self._keep_rings(bdf, chosen, keep)
422
424
 
425
+ def _system_rings(self, TC, positions, box):
426
+ """The system's known rings, with a centroid each for cheap proximity filtering.
427
+
428
+ ``Topology.rings`` is built once per molecule template and replicated; nothing
429
+ updates it during a cure, which is why :meth:`form_rings` now registers each
430
+ triazine it makes. Before that it held only the rings monomers were built with
431
+ --- overwhelmingly phenyls.
432
+ """
433
+ out = []
434
+ for r in getattr(TC.Topology, 'rings', []) or []:
435
+ idx = [int(x) for x in r.idx]
436
+ if len(idx) < 3 or any(i not in positions for i in idx):
437
+ continue
438
+ anchor_pos = positions[idx[0]]
439
+ pts = np.array([anchor_pos + _mic(positions[i] - anchor_pos, box) for i in idx])
440
+ out.append((idx, pts.mean(axis=0)))
441
+ return out
442
+
443
+ def threading_census(self, TC, bdf, chosen):
444
+ """What the participating monomers' bonds already thread, per candidate ring.
445
+
446
+ Taken before the closure ladder and again after it, so only threadings the drag
447
+ *created* count against a candidate. Without the before-picture a monomer that
448
+ arrived from packing already threaded through a phenyl would be refused every
449
+ reaction forever, silently, and htpolynet-study found one of those.
450
+
451
+ Returns:
452
+ dict: triple number -> set of (ring key, bond) currently threaded
453
+ """
454
+ if not self.dicts['reject_new_threading'] or not chosen or bdf.empty:
455
+ return {}
456
+ A = TC.Coordinates.A
457
+ positions = {int(r.globalIdx): np.array([r.posX, r.posY, r.posZ])
458
+ for r in A.itertuples()}
459
+ box = np.asarray(TC.Coordinates.box.diagonal(), dtype=float)
460
+ rings = self._system_rings(TC, positions, box)
461
+ if not rings:
462
+ return {}
463
+ centroids = np.array([c for _, c in rings])
464
+ bonds_of = bonds_by_atom(TC.Topology.D['bonds'])
465
+ res_atoms = {}
466
+ for r in A.itertuples():
467
+ res_atoms.setdefault(int(r.resNum), []).append(int(r.globalIdx))
468
+
469
+ census = {}
470
+ for t in sorted(set(int(x) for x in bdf['triple'])):
471
+ rows = bdf[bdf['triple'] == t]
472
+ resids = {int(x) for x in rows['ri']} | {int(x) for x in rows['rj']}
473
+ atoms = [a for rn in resids for a in res_atoms.get(rn, []) if a in positions]
474
+ if not atoms:
475
+ continue
476
+ pts = np.array([positions[a] for a in atoms])
477
+ here = pts.mean(axis=0)
478
+ span = float(np.linalg.norm(_mic(pts - here, box), axis=1).max())
479
+ near = np.linalg.norm(_mic(centroids - here, box), axis=1) <= span + 1.0
480
+ bonds = set()
481
+ for a in atoms:
482
+ bonds.update(bonds_of.get(a, ()))
483
+ census[t] = rings_threaded_by(bonds,
484
+ [rings[i][0] for i in np.flatnonzero(near)],
485
+ positions, box)
486
+ return census
487
+
488
+ def reject_new_threading(self, TC, bdf, chosen, before):
489
+ """Drops a ring whose closure ladder pushed a monomer through an existing ring.
490
+
491
+ :meth:`reject_threaded` asks whether the new ring would close around a bond.
492
+ This asks the converse: whether dragging these three monomers together has run
493
+ one of *their* bonds through a ring that was already there. Both happen.
494
+ htpolynet-study scanned ten builds and found the second kind is mostly phenyls,
495
+ which outnumber triazines about six to one here, and that two of three were made
496
+ by the cure rather than by packing -- one appearing in the same iteration as a
497
+ triazine piercing, which is what identifies it as one event.
498
+
499
+ Declining does not itself pull the monomer back out. What it prevents is the
500
+ threading being made permanent: without the ring bonds the dragged monomers have
501
+ nothing holding them, and the relaxation that follows can undo what the
502
+ restraints did.
503
+
504
+ Args:
505
+ TC (TopoCoord): the system
506
+ bdf (pandas.DataFrame): this iteration's bonds, three rows per ring
507
+ chosen (list): the rings still standing
508
+ before (dict): the census taken before the ladder
509
+
510
+ Returns:
511
+ tuple: (bdf, chosen) without the rings that created a threading
512
+ """
513
+ if not self.dicts['reject_new_threading'] or not chosen:
514
+ return bdf, chosen
515
+ after = self.threading_census(TC, bdf, chosen)
516
+ keep = []
517
+ for n in range(len(chosen)):
518
+ created = after.get(n, set()) - before.get(n, set())
519
+ if created:
520
+ ring_key, bond = sorted(created)[0]
521
+ logger.info(f'Iteration {self.state.iter}: declining a ring whose closure '
522
+ f'pulled bond {bond[0]}-{bond[1]} through the existing '
523
+ f'{len(ring_key)}-ring at {ring_key[0]}; that monomer would be '
524
+ f'threaded for good once the ring formed')
525
+ continue
526
+ keep.append(n)
527
+ return self._keep_rings(bdf, chosen, keep)
528
+
423
529
  def relax(self, TC, gromacs_dict=None):
424
530
  """Eases a freshly closed ring's bonds in, and lets the box respond.
425
531
 
@@ -478,7 +584,11 @@ class RingController:
478
584
  only ever grows. Measured with `relax` alone and no equilibration, a ring cure's
479
585
  box expands thermally for six iterations to +28% in volume and then comes back
480
586
  down as the network forms, the two legs nearly cancelling: path 0.4104 nm for a
481
- net of -0.0038 nm. A cure is not just shrinkage -- the hot stages enlarge the
587
+ net of -0.0038 nm. Those figures are RETRACTED as of 2.11.5 --- they were
588
+ produced by this stage and :meth:`relax` running against the ladder topology,
589
+ restraints loaded and rings unbonded, so the box was responding to the wrong
590
+ system. They are left here only because the shape of the argument survives:
591
+ a cure is not just shrinkage. A cure is not just shrinkage -- the hot stages enlarge the
482
592
  box and the cold stage pulls it back -- which is why path length rather than net
483
593
  is the statistic to look at, and why the surrogate route travels three to nine
484
594
  times further in box length than it ends up moving.
@@ -605,6 +715,10 @@ class RingController:
605
715
  touched.update(stats['atoms'])
606
716
  # the splice replaces charges wholesale over three residues at a time, so the
607
717
  # molecules it touched have to be brought back to neutral
718
+ # Topology.rings is template-derived and nothing else updates it, so a triazine
719
+ # formed here is invisible to every ring-aware check until it is registered
720
+ for n in range(len(chosen)):
721
+ TC.Topology.rings.append(Ring(_ring_atoms(bdf, n)))
608
722
  neutralize_touched_fragments(TC, touched)
609
723
  for r in bdf.itertuples():
610
724
  for idx in (int(r.ai), int(r.aj)):
@@ -238,6 +238,57 @@ def ring_threading_bonds(ring, positions, bonds_of, box, margin=0.3):
238
238
  return out
239
239
 
240
240
 
241
+ def rings_threaded_by(bond_pairs, ring_atom_lists, positions, box, margin=0.3):
242
+ """Which of `ring_atom_lists` each of `bond_pairs` passes through.
243
+
244
+ The mirror of :func:`ring_threading_bonds`: there a prospective ring is tested
245
+ against the bonds around it, here existing rings are tested against bonds that have
246
+ just been moved. A ring cure needs both, because dragging three monomers together
247
+ can push one of their own backbones through a ring that was already there --- a
248
+ phenyl, usually, since those outnumber triazines about six to one in these systems.
249
+
250
+ Args:
251
+ bond_pairs (iterable): (ai, aj) bonds to test
252
+ ring_atom_lists (iterable): existing rings, each a list of atoms in cyclic order
253
+ positions (dict): global atom index -> position, in nm
254
+ box (array-like): box diagonal, in nm
255
+ margin (float): how far beyond a ring's own radius to consider a bond, in nm
256
+
257
+ Returns:
258
+ set: (ring key, bond) pairs found threaded, where the ring key is its sorted
259
+ atom tuple so the result can be compared between two moments in time
260
+ """
261
+ box = np.asarray(box, dtype=float)
262
+ out = set()
263
+ pairs = [(int(a), int(b)) for a, b in bond_pairs]
264
+ for ring in ring_atom_lists:
265
+ ring = [int(x) for x in ring]
266
+ if any(i not in positions for i in ring):
267
+ continue
268
+ anchor = np.asarray(positions[ring[0]], dtype=float)
269
+ P = np.array([anchor + _mic(np.asarray(positions[i], dtype=float) - anchor, box)
270
+ for i in ring])
271
+ O = P.mean(axis=0)
272
+ reach = float(np.linalg.norm(P - O, axis=1).max()) + margin
273
+ ring_set = set(ring)
274
+ key = tuple(sorted(ring))
275
+ for ai, aj in pairs:
276
+ if ai in ring_set or aj in ring_set:
277
+ continue
278
+ if ai not in positions or aj not in positions:
279
+ continue
280
+ p0 = anchor + _mic(np.asarray(positions[ai], dtype=float) - anchor, box)
281
+ if float(np.linalg.norm(p0 - O)) > reach + margin:
282
+ continue
283
+ p1 = p0 + _mic(np.asarray(positions[aj], dtype=float)
284
+ - np.asarray(positions[ai], dtype=float), box)
285
+ for k in range(len(P)):
286
+ if _segment_pierces_triangle(p0, p1, O, P[k], P[(k + 1) % len(P)]):
287
+ out.add((key, (min(ai, aj), max(ai, aj))))
288
+ break
289
+ return out
290
+
291
+
241
292
  def bonds_by_atom(bonds):
242
293
  """Inverts a bond table into {atom: [(ai, aj), ...]}, for threading lookups."""
243
294
  out = {}
@@ -832,6 +832,17 @@ attributes:
832
832
  monomer that shows up stretched past 2 A in the final structure. Set false
833
833
  to reproduce pre-2.11.4 behavior.
834
834
  default: true
835
+ - name: reject_new_threading
836
+ type: bool
837
+ text: >
838
+ Refuse a ring whose closure ladder dragged one of its own monomers' bonds
839
+ through a ring that was already there. The converse of
840
+ `reject_threaded_rings`, and mostly a different population: phenyls
841
+ outnumber triazines about six to one in these systems. Only threadings the
842
+ ladder creates count -- the same monomers are surveyed before and after it,
843
+ so one that arrived from packing already threaded is not refused every
844
+ reaction forever. Set false to reproduce pre-2.11.6 behavior.
845
+ default: true
835
846
  - name: prefilter_threaded_candidates
836
847
  type: bool
837
848
  text: >
@@ -554,3 +554,110 @@ class TestEveryMDStageWritesItsTopologyFirst(unittest.TestCase):
554
554
  with self.assertLogs(LOG, level='INFO'):
555
555
  c.settle(TC)
556
556
  self.assertEqual([k for k, _ in calls], ['write_top', 'write_gro', 'mdrun'])
557
+
558
+
559
+ class TestRejectingARingThatThreadsAnExistingOne(unittest.TestCase):
560
+ """`reject_threaded` asks whether a new ring closes around a bond. This asks the
561
+ converse: whether dragging three monomers together ran one of THEIR bonds through a
562
+ ring already present. Over ten builds that second kind was mostly phenyls, which
563
+ outnumber triazines about six to one, and two of three were made by the cure."""
564
+
565
+ def system(self, bond_through=True):
566
+ """A phenyl at the origin, and a monomer bond either through it or clear of it."""
567
+ ang = np.linspace(0, 2 * np.pi, 6, endpoint=False)
568
+ pos = {i + 1: np.array([0.14 * np.cos(t), 0.14 * np.sin(t), 0.0])
569
+ for i, t in enumerate(ang)}
570
+ # the candidate ring's own six atoms, far away and irrelevant to this test
571
+ for k in range(11, 17):
572
+ pos[k] = np.array([3.0 + 0.02 * k, 3.0, 3.0])
573
+ # a bond belonging to residue 7, one of the participating monomers
574
+ pos[21] = np.array([0.0, 0.0, -0.07]) if bond_through else np.array([2.0, 2.0, -0.07])
575
+ pos[22] = np.array([0.0, 0.0, 0.07]) if bond_through else np.array([2.0, 2.0, 0.07])
576
+ rows = []
577
+ for k in sorted(pos):
578
+ resnum = 1 if k <= 6 else (7 if k >= 21 else 8)
579
+ rows.append({'globalIdx': k, 'posX': pos[k][0], 'posY': pos[k][1],
580
+ 'posZ': pos[k][2], 'resNum': resnum})
581
+ A = pd.DataFrame(rows)
582
+ rings = [types.SimpleNamespace(idx=[1, 2, 3, 4, 5, 6])]
583
+ bonds = pd.DataFrame([{'ai': 21, 'aj': 22}])
584
+ TC = types.SimpleNamespace(
585
+ Coordinates=types.SimpleNamespace(A=A, box=np.diag([10.0, 10.0, 10.0])),
586
+ Topology=types.SimpleNamespace(D={'bonds': bonds}, rings=rings))
587
+ bdf = pd.DataFrame([{'ai': 11, 'aj': 12, 'ri': 7, 'rj': 7, 'triple': 0},
588
+ {'ai': 13, 'aj': 14, 'ri': 7, 'rj': 7, 'triple': 0},
589
+ {'ai': 15, 'aj': 16, 'ri': 7, 'rj': 7, 'triple': 0}])
590
+ return TC, bdf, [object()]
591
+
592
+ def test_a_threading_the_ladder_created_is_declined(self):
593
+ c = RingController({})
594
+ clear_TC, bdf, chosen = self.system(bond_through=False)
595
+ before = c.threading_census(clear_TC, bdf, chosen)
596
+ self.assertEqual(before[0], set())
597
+ threaded_TC, _, _ = self.system(bond_through=True)
598
+ with self.assertLogs(LOG, level='INFO') as cm:
599
+ out_b, out_c = c.reject_new_threading(threaded_TC, bdf, chosen, before)
600
+ self.assertEqual(out_c, [])
601
+ self.assertIn('through the existing 6-ring', '\n'.join(cm.output))
602
+
603
+ def test_a_threading_that_was_already_there_is_not_blamed_on_the_cure(self):
604
+ # a monomer that arrived from packing already threaded must not be refused
605
+ # every reaction forever
606
+ c = RingController({})
607
+ TC, bdf, chosen = self.system(bond_through=True)
608
+ before = c.threading_census(TC, bdf, chosen)
609
+ self.assertEqual(len(before[0]), 1)
610
+ _, out_c = c.reject_new_threading(TC, bdf, chosen, before)
611
+ self.assertEqual(len(out_c), 1)
612
+
613
+ def test_a_clean_closure_is_kept(self):
614
+ c = RingController({})
615
+ TC, bdf, chosen = self.system(bond_through=False)
616
+ before = c.threading_census(TC, bdf, chosen)
617
+ _, out_c = c.reject_new_threading(TC, bdf, chosen, before)
618
+ self.assertEqual(len(out_c), 1)
619
+
620
+ def test_it_can_be_turned_off(self):
621
+ c = RingController({'reject_new_threading': False})
622
+ TC, bdf, chosen = self.system(bond_through=True)
623
+ self.assertEqual(c.threading_census(TC, bdf, chosen), {})
624
+ _, out_c = c.reject_new_threading(TC, bdf, chosen, {})
625
+ self.assertEqual(len(out_c), 1)
626
+
627
+
628
+ class TestARingIsRegisteredWhenItIsMade(unittest.TestCase):
629
+ """`Topology.rings` is built once per molecule template and replicated; nothing
630
+ updated it during a cure, so every triazine the ring cure made was invisible to
631
+ every ring-aware check in htpolynet, including CURE's own `pierces_ring`."""
632
+
633
+ def test_form_rings_registers_each_ring_it_makes(self):
634
+ from htpolynet.cure.ringcontroller import _ring_atoms
635
+ bdf = pd.DataFrame([{'ai': 1, 'aj': 2, 'triple': 0},
636
+ {'ai': 3, 'aj': 4, 'triple': 0},
637
+ {'ai': 5, 'aj': 6, 'triple': 0},
638
+ {'ai': 7, 'aj': 8, 'triple': 1},
639
+ {'ai': 9, 'aj': 10, 'triple': 1},
640
+ {'ai': 11, 'aj': 12, 'triple': 1}])
641
+ self.assertEqual(_ring_atoms(bdf, 0), [1, 2, 3, 4, 5, 6])
642
+ self.assertEqual(_ring_atoms(bdf, 1), [7, 8, 9, 10, 11, 12])
643
+
644
+ def test_a_registered_ring_is_then_visible_to_the_threading_census(self):
645
+ # the point of registering: a later drag that threads THIS ring can be seen
646
+ c = RingController({})
647
+ ang = np.linspace(0, 2 * np.pi, 6, endpoint=False)
648
+ pos = {i + 1: np.array([0.14 * np.cos(t), 0.14 * np.sin(t), 0.0])
649
+ for i, t in enumerate(ang)}
650
+ pos[21] = np.array([0.0, 0.0, -0.07])
651
+ pos[22] = np.array([0.0, 0.0, 0.07])
652
+ A = pd.DataFrame([{'globalIdx': k, 'posX': v[0], 'posY': v[1], 'posZ': v[2],
653
+ 'resNum': 1 if k <= 6 else 7} for k, v in sorted(pos.items())])
654
+ TC = types.SimpleNamespace(
655
+ Coordinates=types.SimpleNamespace(A=A, box=np.diag([10.0, 10.0, 10.0])),
656
+ Topology=types.SimpleNamespace(D={'bonds': pd.DataFrame([{'ai': 21, 'aj': 22}])},
657
+ rings=[]))
658
+ bdf = pd.DataFrame([{'ai': 21, 'aj': 22, 'ri': 7, 'rj': 7, 'triple': 0}])
659
+ # with no rings registered the census sees nothing
660
+ self.assertEqual(c.threading_census(TC, bdf, [object()]), {})
661
+ # register the triazine, and the same geometry is now a threading
662
+ TC.Topology.rings = [types.SimpleNamespace(idx=[1, 2, 3, 4, 5, 6])]
663
+ self.assertEqual(len(c.threading_census(TC, bdf, [object()])[0]), 1)
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