HTPolyNet 2.18.0__tar.gz → 2.18.1__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 (391) hide show
  1. {htpolynet-2.18.0 → htpolynet-2.18.1}/CHANGELOG.md +39 -0
  2. {htpolynet-2.18.0 → htpolynet-2.18.1}/PKG-INFO +1 -1
  3. {htpolynet-2.18.0 → htpolynet-2.18.1}/ROADMAP.md +22 -6
  4. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/index.rst +5 -4
  5. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/user-guide/configs/configs-for-run.rst +1 -1
  6. {htpolynet-2.18.0 → htpolynet-2.18.1}/pyproject.toml +1 -1
  7. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/analysis/plot.py +22 -0
  8. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/core/molecule.py +8 -1
  9. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/core/topology.py +37 -3
  10. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/io/mol2.py +4 -1
  11. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/resources/example_depot/6-cyanate-ester.yaml +3 -3
  12. htpolynet-2.18.1/tests/unit/test_mol2_partial_bonds.py +109 -0
  13. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_plots_post_E.py +35 -0
  14. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_plots_post_tg.py +35 -0
  15. {htpolynet-2.18.0 → htpolynet-2.18.1}/.claude/settings.json +0 -0
  16. {htpolynet-2.18.0 → htpolynet-2.18.1}/.claude/skills/htpolynet/SKILL.md +0 -0
  17. {htpolynet-2.18.0 → htpolynet-2.18.1}/.envrc +0 -0
  18. {htpolynet-2.18.0 → htpolynet-2.18.1}/.github/workflows/conda-forge-sync.yml +0 -0
  19. {htpolynet-2.18.0 → htpolynet-2.18.1}/.github/workflows/docker.yml +0 -0
  20. {htpolynet-2.18.0 → htpolynet-2.18.1}/.github/workflows/docs.yml +0 -0
  21. {htpolynet-2.18.0 → htpolynet-2.18.1}/.github/workflows/release.yaml +0 -0
  22. {htpolynet-2.18.0 → htpolynet-2.18.1}/.github/workflows/test.yml +0 -0
  23. {htpolynet-2.18.0 → htpolynet-2.18.1}/.gitignore +0 -0
  24. {htpolynet-2.18.0 → htpolynet-2.18.1}/.readthedocs.yaml +0 -0
  25. {htpolynet-2.18.0 → htpolynet-2.18.1}/CITATION.cff +0 -0
  26. {htpolynet-2.18.0 → htpolynet-2.18.1}/CLAUDE.md +0 -0
  27. {htpolynet-2.18.0 → htpolynet-2.18.1}/LICENSE +0 -0
  28. {htpolynet-2.18.0 → htpolynet-2.18.1}/MANIFEST.in +0 -0
  29. {htpolynet-2.18.0 → htpolynet-2.18.1}/README.md +0 -0
  30. {htpolynet-2.18.0 → htpolynet-2.18.1}/docker/Dockerfile +0 -0
  31. {htpolynet-2.18.0 → htpolynet-2.18.1}/docker/compose.yml +0 -0
  32. {htpolynet-2.18.0 → htpolynet-2.18.1}/docker/docker-entrypoint.sh +0 -0
  33. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/Makefile +0 -0
  34. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/README.rst +0 -0
  35. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/make.bat +0 -0
  36. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/requirements.txt +0 -0
  37. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/_static/.gitkeep +0 -0
  38. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/_static/htpolynet-favicon.ico +0 -0
  39. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/_static/htpolynet-landing.jpg +0 -0
  40. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/_static/htpolynet-logo-dark.png +0 -0
  41. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/_static/htpolynet-logo-light.png +0 -0
  42. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/changelog.rst +0 -0
  43. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/conf.py +0 -0
  44. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/0-liquid-styrene/configuration.rst +0 -0
  45. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/0-liquid-styrene/index.rst +0 -0
  46. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/0-liquid-styrene/introduction.rst +0 -0
  47. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/0-liquid-styrene/monomer.rst +0 -0
  48. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/0-liquid-styrene/postsim.rst +0 -0
  49. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/0-liquid-styrene/results.rst +0 -0
  50. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/0-liquid-styrene/run.rst +0 -0
  51. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/1-polystyrene/configuration.rst +0 -0
  52. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/1-polystyrene/index.rst +0 -0
  53. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/1-polystyrene/introduction.rst +0 -0
  54. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/1-polystyrene/monomer.rst +0 -0
  55. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/1-polystyrene/pics/STY.png +0 -0
  56. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/1-polystyrene/pics/STYCC.png +0 -0
  57. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/1-polystyrene/pics/buildtraces.png +0 -0
  58. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/1-polystyrene/pics/cure_info.png +0 -0
  59. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/1-polystyrene/pics/densification-density.png +0 -0
  60. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/1-polystyrene/pics/final-box.png +0 -0
  61. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/1-polystyrene/pics/reaction_network.png +0 -0
  62. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/1-polystyrene/pics/sty-coloring.tcl +0 -0
  63. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/1-polystyrene/pics/sty-cured.png +0 -0
  64. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/1-polystyrene/pics/sty-detail.png +0 -0
  65. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/1-polystyrene/pics/sty-liq.png +0 -0
  66. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/1-polystyrene/pics/styrene-polymerization.png +0 -0
  67. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/1-polystyrene/postsim.rst +0 -0
  68. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/1-polystyrene/reactions.rst +0 -0
  69. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/1-polystyrene/results.rst +0 -0
  70. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/1-polystyrene/run.rst +0 -0
  71. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/configuration.rst +0 -0
  72. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/index.rst +0 -0
  73. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/introduction.rst +0 -0
  74. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/BPA.png +0 -0
  75. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/GMA.png +0 -0
  76. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/HIE.png +0 -0
  77. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/buildtraces.png +0 -0
  78. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/cure_info.png +0 -0
  79. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/densification-density.png +0 -0
  80. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/four_dimers.eps +0 -0
  81. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/four_dimers.fig +0 -0
  82. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/four_dimers.png +0 -0
  83. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/gma-sty-coloring.tcl +0 -0
  84. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/gma-sty-cured.png +0 -0
  85. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/gma-sty-detail.png +0 -0
  86. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/gma-sty-liq.png +0 -0
  87. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/p1-traces.png +0 -0
  88. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/reaction_network.png +0 -0
  89. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/vesys.eps +0 -0
  90. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/vesys.fig +0 -0
  91. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/vesys.png +0 -0
  92. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/postsim.rst +0 -0
  93. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/reactions.rst +0 -0
  94. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/results.rst +0 -0
  95. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/run.rst +0 -0
  96. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/configuration.rst +0 -0
  97. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/index.rst +0 -0
  98. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/introduction.rst +0 -0
  99. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/monomers.rst +0 -0
  100. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/DGE-epoxy.png +0 -0
  101. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/DGE-labelled.png +0 -0
  102. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/PAC-2d.png +0 -0
  103. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/PAC-labelled.png +0 -0
  104. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/buildtraces.png +0 -0
  105. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/cure_info.png +0 -0
  106. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/densification-density.png +0 -0
  107. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/dge-pac-coloring.tcl +0 -0
  108. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/dge-pac-cured.png +0 -0
  109. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/dge-pac-detail.png +0 -0
  110. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/dge-pac-liq.png +0 -0
  111. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/dgesys.eps +0 -0
  112. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/dgesys.fig +0 -0
  113. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/dgesys.png +0 -0
  114. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/equil-rho_v_ns.png +0 -0
  115. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/postsim-typical.png +0 -0
  116. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/prod-e.png +0 -0
  117. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/prod-equil-rho_v_ns.png +0 -0
  118. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/prod-rho_v_ns.png +0 -0
  119. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/prod-tg.png +0 -0
  120. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/r1.png +0 -0
  121. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/r2.png +0 -0
  122. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/r3.png +0 -0
  123. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/reaction_network.png +0 -0
  124. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/rho_v_ns.png +0 -0
  125. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/short-e.png +0 -0
  126. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/short-tg.png +0 -0
  127. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/postsim.rst +0 -0
  128. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/reactions.rst +0 -0
  129. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/results.rst +0 -0
  130. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/run.rst +0 -0
  131. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/configuration.rst +0 -0
  132. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/index.rst +0 -0
  133. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/introduction.rst +0 -0
  134. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/monomers.rst +0 -0
  135. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/pics/buildtraces.png +0 -0
  136. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/pics/cure_info.png +0 -0
  137. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/pics/densification-density.png +0 -0
  138. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/pics/dfa-fde-coloring.tcl +0 -0
  139. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/pics/dfa-fde-cured.png +0 -0
  140. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/pics/dfa-fde-detail.png +0 -0
  141. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/pics/dfa-fde-liq.png +0 -0
  142. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/pics/reaction_network.png +0 -0
  143. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/postsim.rst +0 -0
  144. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/reactions.rst +0 -0
  145. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/results.rst +0 -0
  146. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/run.rst +0 -0
  147. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/5-htpb-ipdi/configuration.rst +0 -0
  148. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/5-htpb-ipdi/index.rst +0 -0
  149. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/5-htpb-ipdi/introduction.rst +0 -0
  150. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/5-htpb-ipdi/monomers.rst +0 -0
  151. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/5-htpb-ipdi/pics/buildtraces.png +0 -0
  152. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/5-htpb-ipdi/pics/cure_info.png +0 -0
  153. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/5-htpb-ipdi/pics/densification-density.png +0 -0
  154. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/5-htpb-ipdi/pics/htpb-coloring.tcl +0 -0
  155. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/5-htpb-ipdi/pics/htpb-ipdi-cured.png +0 -0
  156. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/5-htpb-ipdi/pics/htpb-ipdi-detail.png +0 -0
  157. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/5-htpb-ipdi/pics/htpb-ipdi-liq.png +0 -0
  158. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/5-htpb-ipdi/pics/reaction_network.png +0 -0
  159. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/5-htpb-ipdi/postsim.rst +0 -0
  160. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/5-htpb-ipdi/reactions.rst +0 -0
  161. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/5-htpb-ipdi/results.rst +0 -0
  162. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/5-htpb-ipdi/run.rst +0 -0
  163. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/6-cyanate-ester/configuration.rst +0 -0
  164. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/6-cyanate-ester/index.rst +0 -0
  165. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/6-cyanate-ester/introduction.rst +0 -0
  166. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/6-cyanate-ester/monomers.rst +0 -0
  167. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/6-cyanate-ester/pics/cure_info.png +0 -0
  168. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/6-cyanate-ester/pics/densification-density.png +0 -0
  169. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/6-cyanate-ester/pics/reaction_network.png +0 -0
  170. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/6-cyanate-ester/pics/tg.png +0 -0
  171. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/6-cyanate-ester/postsim.rst +0 -0
  172. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/6-cyanate-ester/reactions.rst +0 -0
  173. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/6-cyanate-ester/results.rst +0 -0
  174. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/example-tutorials/6-cyanate-ester/run.rst +0 -0
  175. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/htpolynetpackage.rst +0 -0
  176. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/index.rst +0 -0
  177. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/install.rst +0 -0
  178. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/publications.rst +0 -0
  179. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/references/index.rst +0 -0
  180. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/references/mol2-reference.pdf +0 -0
  181. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/references.bib +0 -0
  182. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/user-guide/CURE.odg +0 -0
  183. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/user-guide/bond_filter.odg +0 -0
  184. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/user-guide/building-a-system.rst +0 -0
  185. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/user-guide/configs/configs-for-analyze.rst +0 -0
  186. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/user-guide/configs/configs-for-postsim.rst +0 -0
  187. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/user-guide/configuration-files.rst +0 -0
  188. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/user-guide/container-usage.rst +0 -0
  189. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/user-guide/flow1.odg +0 -0
  190. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/user-guide/flow1yaml.odg +0 -0
  191. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/user-guide/hydrogenated.eps +0 -0
  192. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/user-guide/hydrogenated.fig +0 -0
  193. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/user-guide/index.rst +0 -0
  194. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/user-guide/molecular-structure-inputs.rst +0 -0
  195. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/user-guide/periodic-networks.rst +0 -0
  196. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/user-guide/pics/STY.png +0 -0
  197. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/user-guide/pics/STYCC.png +0 -0
  198. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/user-guide/pics/TypicalUsageFlow.png +0 -0
  199. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/user-guide/pics/bond_filter.png +0 -0
  200. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/user-guide/pics/chemdoodle-2dsketcher-emb.png +0 -0
  201. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/user-guide/pics/chemdoodle-2dsketcher-styrene.png +0 -0
  202. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/user-guide/pics/hydrogenated.png +0 -0
  203. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/user-guide/pics/ring_pierce/ring_pierce_cases.png +0 -0
  204. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/user-guide/pics/ring_pierce/ring_pierce_linkcell.png +0 -0
  205. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/user-guide/postcure-repair.rst +0 -0
  206. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/user-guide/program-flow.rst +0 -0
  207. {htpolynet-2.18.0 → htpolynet-2.18.1}/docs/source/user-guide/usage.rst +0 -0
  208. {htpolynet-2.18.0 → htpolynet-2.18.1}/scripts/check-conda-sync.py +0 -0
  209. {htpolynet-2.18.0 → htpolynet-2.18.1}/scripts/release.sh +0 -0
  210. {htpolynet-2.18.0 → htpolynet-2.18.1}/scripts/render-detail.sh +0 -0
  211. {htpolynet-2.18.0 → htpolynet-2.18.1}/scripts/render-detail.tcl +0 -0
  212. {htpolynet-2.18.0 → htpolynet-2.18.1}/scripts/render-snapshot.sh +0 -0
  213. {htpolynet-2.18.0 → htpolynet-2.18.1}/scripts/run_all_examples.sh +0 -0
  214. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/__init__.py +0 -0
  215. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/analysis/__init__.py +0 -0
  216. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/analysis/analyze.py +0 -0
  217. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/analysis/piercings.py +0 -0
  218. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/analysis/postsim.py +0 -0
  219. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/analysis/ringcontacts.py +0 -0
  220. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/analysis/utils.py +0 -0
  221. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/cli.py +0 -0
  222. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/core/__init__.py +0 -0
  223. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/core/bondtemplate.py +0 -0
  224. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/core/configuration.py +0 -0
  225. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/core/coordinates.py +0 -0
  226. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/core/paramcache.py +0 -0
  227. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/core/productsplice.py +0 -0
  228. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/core/projectfilesystem.py +0 -0
  229. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/core/runtime.py +0 -0
  230. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/core/topocoord.py +0 -0
  231. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/cure/__init__.py +0 -0
  232. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/cure/chain.py +0 -0
  233. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/cure/curecontroller.py +0 -0
  234. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/cure/expandreactions.py +0 -0
  235. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/cure/reaction.py +0 -0
  236. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/cure/ringcontroller.py +0 -0
  237. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/cure/triplesearch.py +0 -0
  238. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/external/__init__.py +0 -0
  239. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/external/ambertools.py +0 -0
  240. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/external/command.py +0 -0
  241. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/external/gromacs.py +0 -0
  242. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/external/slurm.py +0 -0
  243. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/external/smiles_input.py +0 -0
  244. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/external/software.py +0 -0
  245. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/geometry/__init__.py +0 -0
  246. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/geometry/bondlist.py +0 -0
  247. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/geometry/lattice.py +0 -0
  248. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/geometry/linkcell.py +0 -0
  249. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/geometry/matrix4.py +0 -0
  250. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/geometry/piercing.py +0 -0
  251. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/geometry/placement.py +0 -0
  252. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/geometry/ring.py +0 -0
  253. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/geometry/templategeom.py +0 -0
  254. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/io/__init__.py +0 -0
  255. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/io/gro.py +0 -0
  256. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/io/pdb.py +0 -0
  257. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/repair/__init__.py +0 -0
  258. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/repair/cyanate_cap.py +0 -0
  259. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/repair/topology_surgery.py +0 -0
  260. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/resources/README.md +0 -0
  261. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/resources/__init__.py +0 -0
  262. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/resources/claude/SKILL.md +0 -0
  263. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/resources/example_depot/0-liquid-styrene.yaml +0 -0
  264. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/resources/example_depot/1-polystyrene.yaml +0 -0
  265. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/resources/example_depot/2-bisgma-styrene-thermoset.yaml +0 -0
  266. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/resources/example_depot/3-pacm-dgeba-epoxy-thermoset.yaml +0 -0
  267. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/resources/example_depot/4-dfda-fde-epoxy-thermoset.yaml +0 -0
  268. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/resources/example_depot/5-htpb-ipdi.yaml +0 -0
  269. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/resources/mdp/README.md +0 -0
  270. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/resources/mdp/drag-min.mdp +0 -0
  271. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/resources/mdp/drag-npt.mdp +0 -0
  272. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/resources/mdp/drag-nvt.mdp +0 -0
  273. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/resources/mdp/min.mdp +0 -0
  274. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/resources/mdp/npt.mdp +0 -0
  275. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/resources/mdp/nvt.mdp +0 -0
  276. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/resources/mdp/relax-min.mdp +0 -0
  277. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/resources/mdp/relax-npt.mdp +0 -0
  278. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/resources/mdp/relax-nvt.mdp +0 -0
  279. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/resources/mdp/single-molecule-min.mdp +0 -0
  280. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/resources/mdp/single-molecule-nvt.mdp +0 -0
  281. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/resources/molecules/inputs/DFA.pdb +0 -0
  282. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/resources/molecules/inputs/DGE.mol2 +0 -0
  283. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/resources/molecules/inputs/EMB.mol2 +0 -0
  284. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/resources/molecules/inputs/FDE.pdb +0 -0
  285. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/resources/molecules/inputs/GMA.mol2 +0 -0
  286. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/resources/molecules/inputs/PAC.mol2 +0 -0
  287. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/resources/molecules/inputs/STY.mol2 +0 -0
  288. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/resources/molecules/make-monomers.sh +0 -0
  289. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/resources/molecules/pics/DFA.png +0 -0
  290. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/resources/molecules/pics/DGE.png +0 -0
  291. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/resources/molecules/pics/EMB.png +0 -0
  292. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/resources/molecules/pics/FDE.png +0 -0
  293. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/resources/molecules/pics/GMA.png +0 -0
  294. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/resources/molecules/pics/PAC.png +0 -0
  295. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/resources/molecules/pics/STY.png +0 -0
  296. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/resources/molecules/sample-inputs/DFA.pdb +0 -0
  297. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/resources/molecules/sample-inputs/DGE.mol2 +0 -0
  298. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/resources/molecules/sample-inputs/EMB.mol2 +0 -0
  299. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/resources/molecules/sample-inputs/FDE.pdb +0 -0
  300. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/resources/molecules/sample-inputs/GMA.mol2 +0 -0
  301. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/resources/molecules/sample-inputs/PAC.mol2 +0 -0
  302. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/resources/molecules/sample-inputs/STY.mol2 +0 -0
  303. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/resources/tcl/readbonds.tcl +0 -0
  304. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/resources/tcl/readgrx.tcl +0 -0
  305. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/resources/tcl/render.tcl +0 -0
  306. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/schema/base.yaml +0 -0
  307. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/utils/__init__.py +0 -0
  308. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/utils/banner.py +0 -0
  309. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/utils/checkpoint.py +0 -0
  310. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/utils/convergence.py +0 -0
  311. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/utils/dataframetools.py +0 -0
  312. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/utils/inputcheck.py +0 -0
  313. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/utils/logsetup.py +0 -0
  314. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/utils/profiling.py +0 -0
  315. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/utils/stringthings.py +0 -0
  316. {htpolynet-2.18.0 → htpolynet-2.18.1}/src/htpolynet/utils/vmd_viz.py +0 -0
  317. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/__init__.py +0 -0
  318. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/conftest.py +0 -0
  319. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/__init__.py +0 -0
  320. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/fixtures/README-postsim-traces.md +0 -0
  321. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/fixtures/config1.gro +0 -0
  322. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/fixtures/config1.top +0 -0
  323. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/fixtures/config2.gro +0 -0
  324. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/fixtures/config2.top +0 -0
  325. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/fixtures/deform-x-FDE-FCPDA.csv +0 -0
  326. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/fixtures/items31.edr +0 -0
  327. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/fixtures/items43.edr +0 -0
  328. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/fixtures/items45.edr +0 -0
  329. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/fixtures/ladder-FDE-DFDA.csv +0 -0
  330. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/fixtures/short.mdp +0 -0
  331. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_activate.py +0 -0
  332. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_bond_floor.py +0 -0
  333. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_bondtemplate.py +0 -0
  334. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_cap_placement.py +0 -0
  335. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_chain.py +0 -0
  336. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_checkout_shadowing.py +0 -0
  337. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_completion_bias.py +0 -0
  338. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_conda_sync.py +0 -0
  339. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_config_docs_coverage.py +0 -0
  340. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_configuration.py +0 -0
  341. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_convergence.py +0 -0
  342. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_cure_site_functionality.py +0 -0
  343. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_dataframetools.py +0 -0
  344. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_density_gate.py +0 -0
  345. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_gpu_usability.py +0 -0
  346. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_gromacs_get_energy_menu.py +0 -0
  347. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_gromacs_gmx_energy_trace.py +0 -0
  348. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_grompp_warnings.py +0 -0
  349. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_inputcheck.py +0 -0
  350. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_linkcell_pierce.py +0 -0
  351. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_mdp_ensembles.py +0 -0
  352. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_mdrun_gpu_options.py +0 -0
  353. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_mol2_bond_fallback.py +0 -0
  354. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_molecule_charge_report.py +0 -0
  355. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_moleculetype_name.py +0 -0
  356. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_multibody_reactions.py +0 -0
  357. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_overlong_bond_report.py +0 -0
  358. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_paramcache.py +0 -0
  359. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_paramcache_ambertools.py +0 -0
  360. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_parameterize_react.py +0 -0
  361. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_piercings.py +0 -0
  362. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_placement_and_ringclose.py +0 -0
  363. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_plot_smoke.py +0 -0
  364. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_plots_diag.py +0 -0
  365. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_postsim_moduli.py +0 -0
  366. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_postsim_real_traces.py +0 -0
  367. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_postsim_replicas.py +0 -0
  368. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_postsim_shear.py +0 -0
  369. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_productsplice.py +0 -0
  370. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_projectfilesystem.py +0 -0
  371. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_relax_instrumentation.py +0 -0
  372. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_repair_charge_neutrality.py +0 -0
  373. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_repair_conversion.py +0 -0
  374. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_resources.py +0 -0
  375. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_ring.py +0 -0
  376. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_ring_cure_schema.py +0 -0
  377. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_ring_pierce_figs.py +0 -0
  378. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_ringcontacts.py +0 -0
  379. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_ringcontroller.py +0 -0
  380. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_setup_claude.py +0 -0
  381. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_sibling_templates.py +0 -0
  382. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_slurm_script.py +0 -0
  383. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_smiles_input.py +0 -0
  384. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_software_provenance.py +0 -0
  385. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_templategeom.py +0 -0
  386. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_topology/test.top +0 -0
  387. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_topology.py +0 -0
  388. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_transrot_turn_scan.py +0 -0
  389. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_triazine_to_cyanate_cap.py +0 -0
  390. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_triplesearch.py +0 -0
  391. {htpolynet-2.18.0 → htpolynet-2.18.1}/tests/unit/test_user_frcmod.py +0 -0
@@ -7,6 +7,45 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [2.18.1] - 2026-11-24
11
+
12
+ ### Fixed
13
+
14
+ - **Example 2's GMAS-4 to GMAS-15 templates were written with 24 of their 78
15
+ bonds.** Each is a stereoisomer of GMA built from a stereoisomer of GM1, and that
16
+ GM1 isomer, built on GM1's topology, carried no mol2 bond table; merging it in
17
+ silently kept only the other reactant's bonds plus the new one. A stereoisomer
18
+ built on its parent's topology now reads its own mol2's bonds, and a merge where
19
+ one side has no mol2 bond table builds one from its topology bonds and says so,
20
+ instead of dropping them. Simulations were not affected: GROMACS takes its bonds
21
+ from the topology, which was complete. Regenerated, all fifteen match GMA's 78
22
+ bonds and bond orders. Library entries written before this fix keep their short
23
+ tables, and now say so when loaded; rebuild them with `--force-parameterization
24
+ --force-checkin`. Found by htpolynet-sweep.
25
+ - **The mol2/topology bond check could pass a short mol2.** It compared the two
26
+ sorted lists with `zip`, which stops at the shorter, so a mol2 missing only the
27
+ bonds that sort last passed. It now compares the sets and reports how many
28
+ bonds each source has and how many are missing from each.
29
+ - **A mol2 with 100 or more residues could not be read back.** The MOLECULE line's
30
+ counts were written at fixed widths with no separator, so 200 residues ran into
31
+ the bond count (` 3600 3600200`). Each count now has a space before it; files
32
+ whose counts fit the old widths are byte-identical.
33
+ - **`plots post` no longer fails on a project whose deform or anneal/equilibrate
34
+ stages have not run.** With no deform directories it raised `ValueError: min()
35
+ iterable argument is empty` after the Tg ladder data had already been written, so
36
+ it exited nonzero with good output on disk, and a script that checks the exit code
37
+ threw that output away. A config listing `anneal` and `equilibrate` whose CSVs
38
+ were missing raised before the ladders were even read. Each missing stage is now
39
+ named in a warning and left out, and the stages that ran are analyzed as usual.
40
+
41
+ ### Changed
42
+
43
+ - **The docs give AM1-BCC's measured parameterization time for examples 2-6**, from
44
+ under 5 minutes (example 5) to about 4 hours (example 3) on 16 CPU cores, and say
45
+ that molecule size, not template count, sets it. They had said cost grew with the
46
+ number of reaction templates; example 2 parameterizes 61 molecules in 2.5 hours and
47
+ example 3 only 16 in 4.2.
48
+
10
49
  ## [2.18.0] - 2026-11-16
11
50
 
12
51
  ### Added
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: htpolynet
3
- Version: 2.18.0
3
+ Version: 2.18.1
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/
@@ -1621,8 +1621,9 @@ Coverage as of the last measurement: **38.8%** overall.
1621
1621
  that does not set `charge_method` gets `gas`.
1622
1622
  - *Re-record tutorials 0-6 from the AM1-BCC sweep*, with the size re-recording
1623
1623
  below, and remove the "still from the Gasteiger builds" note on the tutorials
1624
- index. Check each example's parameterization time then: only example 6's (two
1625
- molecules) has been measured.
1624
+ index. Parameterization times for examples 2-6 are measured (htpolynet-sweep,
1625
+ job 26774043, 2026-11-16) and in the docs; example 1's and 0's are not, but
1626
+ each is one or a few styrene-sized molecules.
1626
1627
  - *GAFF2.* The docs say only to pick a charge model fitted for GAFF2. ABCG2 (He
1627
1628
  et al., J. Chem. Phys. 2020) is the literature candidate, but htpolynet-sweep
1628
1629
  found no Amber statement making it a recommended default, so it is not named
@@ -1849,10 +1850,25 @@ Coverage as of the last measurement: **38.8%** overall.
1849
1850
  flagged by a note on each index page. Replace them from sweep's runs at the new size,
1850
1851
  then remove the notes. Check too whether 150 cure iterations and the cure
1851
1852
  timings still hold at 8x.
1852
- Example 6's config carries `min_rings_per_iteration: 32` because sweep's runs
1853
- use the released 2.17.1, which lacks `min_ring_fraction_per_iteration`. Once a
1854
- release with it is out, the line is redundant (the default also gives 32) and can
1855
- be removed with its comment.
1853
+
1854
+ - **Postsim ladders blow up near 800 K on example 2, and nothing tried fixes it.**
1855
+ Within about 35 K of an 800 K ceiling, LINCS errors appear, coordinates
1856
+ explode, and mdrun dies either with `Box={-nan,-nan,inf}`, "Can not fix pbc"
1857
+ and SIGSEGV, or with CUDA error #700 (illegal address), which is the same event
1858
+ seen downstream. It is chemistry-specific: example 2 lost 3 of 5 postsims in the
1859
+ 765-785 K band of the AM1-BCC sweep (job 26795870, replicas 0, 2 and 4, postsim
1860
+ rc=1; checked here from the task logs). Example 4 lost 2 of 5 once and none
1861
+ since, and examples 3 and 5 essentially never fail.
1862
+ `lincs-iter = 2` is **not** a fix (htpolynet-sweep, 2026-11-19, retracting its
1863
+ 2026-11-10 conclusion). That conclusion rested on two retried cells that passed
1864
+ with it, while plain retries were passing at about the same rate. The AM1-BCC
1865
+ campaign then ran `lincs-iter 2` in all 24 tasks and still lost those three.
1866
+ `-update cpu` is a separate, real fix for a different crash
1867
+ (UpdateConstrainGpu) and is not in question. Telling a fix from luck here needs
1868
+ about 10 cells per arm, a stability study rather than a measurement. Until
1869
+ someone does one, the practical answer is to retry, or to cap example 2's
1870
+ ladder lower. Tutorial 2 runs to 850 K because its heating fit needed that top,
1871
+ and that is the band where it fails.
1856
1872
 
1857
1873
  - **grompp warns 8 times per example 2 build about two transposed hydrogens.**
1858
1874
  Surfaced by 2.15.0 relaying grompp's warnings (htpolynet-sweep, v2.15.0
@@ -28,10 +28,11 @@ We present here a series of tutorials to help illustrate usage of ``htpolynet``.
28
28
  with GAFF (``gaff``, i.e. GAFF1). GAFF's Lennard-Jones and bonded
29
29
  parameters were fitted alongside RESP charges, and AM1-BCC exists to
30
30
  reproduce RESP cheaply, so this is the pairing GAFF is meant to be used
31
- with. It costs a semi-empirical (``sqm``) calculation for every monomer
32
- and every reaction template before the build starts: 18 minutes on 16 CPU
33
- cores for example 6's two molecules, and more for examples with more or
34
- larger templates. ``sqm`` does not use a GPU.
31
+ with. It costs a semi-empirical (``sqm``) calculation for every distinct
32
+ molecule before the build starts, which on 16 CPU cores takes from under
33
+ 5 minutes (example 5) to about 4 hours (example 3); molecule size, not the
34
+ number of templates, sets it. ``sqm`` does not use a GPU, and the results
35
+ are kept in the library, so only the first build pays.
35
36
 
36
37
  Through htpolynet 2.17 the examples used Gasteiger charges
37
38
  (``charge_method: gas``), which are fast but are not designed to reproduce
@@ -59,7 +59,7 @@ In this section we show all subdirectives for each of the five main directives i
59
59
 
60
60
  You can choose any charge method ``antechamber`` accepts; the value is passed through unchanged. The ``ambertools`` directive is optional.
61
61
 
62
- The default, ``gas`` (Gasteiger), is chosen for speed, not accuracy; every shipped example sets ``bcc`` instead. GAFF's parameters were fitted alongside RESP charges, and AM1-BCC (``bcc``) is the standard inexpensive substitute for RESP, so ``bcc`` with ``gaff`` is the combination GAFF is meant to be used with; Gasteiger charges do not attempt to reproduce RESP. The cost of ``bcc`` is one semi-empirical ``sqm`` calculation per molecule parameterized, which includes every reaction template, not just the monomers. For example 6, which parameterizes two molecules (the monomer and the triazine template), that took 18 minutes on 16 CPU cores; ``sqm`` does not use a GPU. Examples with more reaction templates cost proportionally more, and a large template can take far longer than a monomer. The choice changes results, not just cost. In one example-6 build at ``bcc``, compared with five at ``gas`` and otherwise identical (htpolynet 2.17), the density at 300 K was about 1.1% higher (13 kg/m\ :sup:`3`, which moved it onto the experimental value), and Young's modulus was about 20% higher, well outside the spread of the ``gas`` builds; Tg did not change by more than that spread. Use ``bcc`` for any build whose numbers you will compare with experiment. If you set ``atom_type: gaff2``, choose a charge model fitted for GAFF2 rather than assuming the GAFF1 pairing carries over.
62
+ The default, ``gas`` (Gasteiger), is chosen for speed, not accuracy; every shipped example sets ``bcc`` instead. GAFF's parameters were fitted alongside RESP charges, and AM1-BCC (``bcc``) is the standard inexpensive substitute for RESP, so ``bcc`` with ``gaff`` is the combination GAFF is meant to be used with; Gasteiger charges do not attempt to reproduce RESP. The cost of ``bcc`` is one semi-empirical ``sqm`` calculation per molecule parameterized, which includes every reaction template, not just the monomers. ``sqm`` does not use a GPU. The cost follows the size of the molecules, not their number: on 16 CPU cores, example 2 parameterizes 61 molecules in 2.5 hours, while example 3, whose templates join DGEBA and PACM into large molecules, parameterizes 16 in 4.2 hours. Example 4 took 78 minutes for 16 molecules, example 5 under 5 minutes for 12, and example 6 18 minutes for two (the monomer and its 835 g/mol triazine template). The number of molecules sent to ``sqm`` is the number of ``.parm`` records written, which is smaller than the number of templates the run reports generating: example 5 generates 35 templates but parameterizes 12 molecules, because symmetric copies and some products reuse parameters. Each molecule is parameterized once and kept in the library, so later builds of the same system skip this cost. The choice changes results, not just cost. In one example-6 build at ``bcc``, compared with five at ``gas`` and otherwise identical (htpolynet 2.17), the density at 300 K was about 1.1% higher (13 kg/m\ :sup:`3`, which moved it onto the experimental value), and Young's modulus was about 20% higher, well outside the spread of the ``gas`` builds; Tg did not change by more than that spread. Use ``bcc`` for any build whose numbers you will compare with experiment. If you set ``atom_type: gaff2``, choose a charge model fitted for GAFF2 rather than assuming the GAFF1 pairing carries over.
63
63
 
64
64
  These three directives determine the parameters ``antechamber`` produces, so each parameterization records them in a ``.parm`` file checked into the library alongside its ``gro``, ``top``, ``itp``, ``tpx`` and ``grx`` files. Because the library is keyed on molecule name, that record is the only thing distinguishing a molecule parameterized one way from the same molecule parameterized another. A run whose directives disagree with the record re-parameterizes rather than reusing the cached files, and says which directives differed.
65
65
 
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "htpolynet"
7
- version = "2.18.0"
7
+ version = "2.18.1"
8
8
  authors = [
9
9
  { name="Cameron F Abrams", email="cfa22@drexel.edu" },
10
10
  ]
@@ -900,6 +900,7 @@ def do_E_plots(phases,projdirs,outfile='e.png',save_data='E.csv',fit_strain=None
900
900
  fit_strain=list(sorted(windows)[0])
901
901
  lo,hi=fit_strain
902
902
  curves=[]
903
+ missing=[]
903
904
  for p in phases:
904
905
  params={**PostSimDeform.default_params,**p['deform']}
905
906
  dir=params['direction']
@@ -912,12 +913,25 @@ def do_E_plots(phases,projdirs,outfile='e.png',save_data='E.csv',fit_strain=None
912
913
  if not found and os.path.isdir(os.path.join(d,params['subdir'])):
913
914
  # a run from before replicas existed, or one with replicas: 1
914
915
  found=[params['subdir']]
916
+ elif not found:
917
+ missing.append(f'{d}/{params["subdir"]}')
918
+ continue
915
919
  elif len(found)<len(subs):
916
920
  logger.warning(f'{d}: found {len(found)} of {len(subs)} replica directories for '
917
921
  f'{params["subdir"]}; fitting those')
918
922
  for sub in found:
919
923
  df=pd.read_csv(os.path.join(d,sub,f'deform-{dir}.csv'),index_col=None,header=0)
920
924
  curves.append((os.path.join(d,sub),pd.DataFrame({'strain':df[strain_name],'stress':(df[stress_name]*MPa_per_bar)})))
925
+ if not curves:
926
+ # no deform stage has run in any project; a ladder-only project is a normal
927
+ # state, and the Tg output already written must not be undone by an error
928
+ # here (htpolynet-sweep, 2026-11-19: min() of an empty list, after the ladder
929
+ # CSVs were written, made plots post exit nonzero)
930
+ logger.warning(f'no deform stage has run ({", ".join(missing)} not found); '
931
+ f'skipping Young\'s modulus')
932
+ return None
933
+ if missing:
934
+ logger.warning(f'deform stages not found, left out of E: {", ".join(missing)}')
921
935
  reached=min(c['strain'].max() for _,c in curves)
922
936
  if reached<hi:
923
937
  logger.warning(f'the shortest pull reaches strain {reached:.4f}, short of the fit window\'s '
@@ -985,6 +999,14 @@ def post_plots(args):
985
999
  mdf=[]
986
1000
  for p in args.proj:
987
1001
  if 'anneal' in phasenames and 'equilibrate' in phasenames:
1002
+ need=[os.path.join(p,'postsim',s,f'{s}.csv') for s in ('anneal','equilibrate')]
1003
+ absent=[f for f in need if not os.path.exists(f)]
1004
+ if absent:
1005
+ # a stage that has not run is reported, not fatal: it used to raise
1006
+ # here, before the ladders and pulls that had run were analyzed
1007
+ logger.warning(f'{", ".join(absent)} not found; leaving {p} out of the '
1008
+ f'anneal/equilibrate density')
1009
+ continue
988
1010
  mdf.append(postsim_density_evolution(p))
989
1011
  if mdf:
990
1012
  multi_trace(mdf,xnames=['time(ps)']*len(mdf),ynames=['Density']*len(mdf),labels=args.proj,ylabel='Density [kg/m$^3$]',outfile='anneal-equil-density.png')
@@ -547,7 +547,14 @@ class Molecule:
547
547
  else:
548
548
  if self.name != self.parentname:
549
549
  logger.info(f'Built {self.name} using topology of {self.parentname}; copying {self.parentname}.top to {self.name}.top')
550
- self.load_top_gro(f'{self.parentname}.top', f'{self.name}.gro', tpxfilename=f'{self.parentname}.tpx', wrap_coords=False)
550
+ # Read back the mol2 this molecule just wrote, for its bond table only
551
+ # (coordinates stay from the gro). Without it the molecule has no
552
+ # mol2_bonds, and a later template that merges it in -- GMAS-4..15 merge
553
+ # GM1S-k -- kept only its other reactant's bonds: 24 of 78 in example 2
554
+ # (htpolynet-sweep, 2026-11-24). Reading it also runs the bond check now.
555
+ own_mol2 = f'{self.name}.mol2' if os.path.exists(f'{self.name}.mol2') else ''
556
+ self.load_top_gro(f'{self.parentname}.top', f'{self.name}.gro', tpxfilename=f'{self.parentname}.tpx',
557
+ mol2filename=own_mol2, wrap_coords=False)
551
558
  shutil.copy(f'{self.parentname}.top', f'{self.name}.top')
552
559
  shutil.copy(f'{self.parentname}.grx', f'{self.name}.grx')
553
560
  shutil.copy(f'{self.parentname}.tpx', f'{self.name}.tpx')
@@ -358,16 +358,23 @@ class Topology:
358
358
  bmi = grobonds.set_index(['ai', 'aj']).index
359
359
  mol2bonds = self.D['mol2_bonds'].sort_values(by=['ai', 'aj'])
360
360
  mbmi = mol2bonds.set_index(['ai', 'aj']).index
361
- check = all([x == y for x, y in zip(bmi, mbmi)])
362
- # logger.debug(f'Result: {check}')
361
+ # zip() used to stop at the shorter list, so a mol2 missing only bonds that
362
+ # sort last compared equal and passed (htpolynet-sweep, 2026-11-24)
363
+ canon = lambda idx: {(min(int(a), int(b)), max(int(a), int(b))) for a, b in idx}
364
+ gset, mset = canon(bmi), canon(mbmi)
365
+ check = len(bmi) == len(mbmi) and gset == mset
363
366
  if not check:
364
- logger.error(f'Gromacs/Mol2 bond inconsistency detected')
367
+ logger.error(f'Gromacs/Mol2 bond inconsistency detected: the topology has {len(bmi)} bonds and '
368
+ f'the mol2 {len(mbmi)}; {len(gset - mset)} topology bonds are missing from the mol2 '
369
+ f'and {len(mset - gset)} mol2 bonds are not in the topology')
365
370
  logger.debug(f'GROMACS:')
366
371
  logger.debug(grobonds[['ai','aj']].head().to_string())
367
372
  logger.debug(f'MOL2:')
368
373
  logger.debug(mol2bonds[['ai','aj']].head().to_string())
369
374
  for x, y in zip(bmi, mbmi):
370
375
  logger.debug(f'{x} {y} {x == y}')
376
+ return check
377
+ return None
371
378
 
372
379
  def shiftatomsidx(self, idxshift, directive, rows=[], idxlabels=[]):
373
380
  """Shifts all atom indexes in a topology directive dataframe.
@@ -1175,9 +1182,36 @@ class Topology:
1175
1182
  for t in L:
1176
1183
  self._myconcat(other, directive=t, drop_duplicates=True)
1177
1184
 
1185
+ def _fill_missing_mol2_bonds(self, other):
1186
+ """Before a merge, gives a mol2 bond table to whichever side has bonds but none.
1187
+
1188
+ ``_myconcat`` skips a directive the incoming side lacks, so merging a molecule
1189
+ with no mol2 table into one that has one kept only the first's bonds: example 2's
1190
+ GMAS-4..15 templates were written with 24 of their 78 bonds (htpolynet-sweep,
1191
+ 2026-11-24). The reverse case adopted the incoming table without shifting its
1192
+ atom indices. The missing table is built from the GROMACS bonds, as single bonds
1193
+ since a topology carries no bond orders, and the gap is logged. Nothing happens
1194
+ when neither side has a table, or when a side has no bonds at all (an empty
1195
+ Topology about to receive its first molecule).
1196
+ """
1197
+ def has_bonds(T):
1198
+ return 'bonds' in T.D and not T.D['bonds'].empty
1199
+ sides = [(self, 'the molecule being built'), (other, 'the molecule merged into it')]
1200
+ if not any('mol2_bonds' in T.D for T, _ in sides):
1201
+ return
1202
+ for T, label in sides:
1203
+ if 'mol2_bonds' not in T.D and has_bonds(T):
1204
+ b = T.D['bonds'][['ai', 'aj']].reset_index(drop=True)
1205
+ T.D['mol2_bonds'] = pd.DataFrame({'bondIdx': range(1, len(b) + 1), 'ai': b['ai'].astype(int),
1206
+ 'aj': b['aj'].astype(int), 'order': '1'})
1207
+ logger.warning(f'{label} has no mol2 bond table; using its {len(b)} topology bonds, '
1208
+ f'as single bonds, so the merged table is complete')
1209
+
1178
1210
  def merge_ex(self, other):
1179
1211
  logger.debug(f' extensive merging...')
1180
1212
  ''' merge EXTENSIVE quantities '''
1213
+ # before any concat: _myconcat shifts the incoming side's indices in place
1214
+ self._fill_missing_mol2_bonds(other)
1181
1215
  idxshift = 0 if 'atoms' not in self.D else len(self.D['atoms'])
1182
1216
  rdxshift = 0 if 'atoms' not in self.D else self.D['atoms'].iloc[-1]['resnr']
1183
1217
  if 'atoms' in other.D:
@@ -170,7 +170,10 @@ def write(filename, A, mol2_bonds, metadat, name,
170
170
  with open(filename, 'w') as f:
171
171
  f.write('@<TRIPOS>MOLECULE\n')
172
172
  f.write(f'{molname if molname else name}\n')
173
- f.write('{:>6d}{:>6d}{:>3d}{:>3d}{:>3d}\n'.format(
173
+ # each field is a space plus the old width, so the line is byte-identical
174
+ # whenever a value fits; the old fixed widths ran 100+ residues into the
175
+ # bond count (' 3600 3600200') and the header could not be read back
176
+ f.write(' {:>5d} {:>5d} {:>2d} {:>2d} {:>2d}\n'.format(
174
177
  N, nBonds, nSubs,
175
178
  metadat.get('nFeatures', 0),
176
179
  metadat.get('nSets', 0),
@@ -91,7 +91,6 @@ ring_cure:
91
91
  radial_increment: 0.05 # nm; widen the search by this when an iteration is short of rings
92
92
  desired_conversion: 0.97 # fraction of cyanate GROUPS consumed, three per ring
93
93
  max_iterations: 150
94
- min_rings_per_iteration: 32 # 8 x the default 4, for 8 x the box; see below
95
94
  closure:
96
95
  nstages: 6 # restraint stages that pull each candidate ring shut
97
96
  # Every other ring_cure setting is left at its default. Two are worth knowing:
@@ -104,8 +103,9 @@ ring_cure:
104
103
  #
105
104
  # The ring floor must grow with the box. At a fixed floor of 4 this box finds more
106
105
  # candidates than that at every iteration, so the search never widens past 0.5 nm and
107
- # the cure stalls at about 0.75 (htpolynet-sweep, 2026-11-09). From the next release
108
- # on, min_ring_fraction_per_iteration scales the floor by default and gives 32 here.
106
+ # the cure stalls at about 0.75 (htpolynet-sweep, 2026-11-09). Since 2.18.0,
107
+ # min_ring_fraction_per_iteration (default 0.0167) scales the floor with the box and
108
+ # gives 32 here, so nothing needs setting.
109
109
  #
110
110
  # Fang & Shimp's end-group arithmetic caps acyclic growth at 75% cyanate conversion,
111
111
  # so a network that reaches 0.97 necessarily contains macrocycles. That is the real
@@ -0,0 +1,109 @@
1
+ """
2
+
3
+ .. module:: test_mol2_partial_bonds
4
+ :synopsis: a merged template keeps every reactant's mol2 bonds, and the bond check sees a short table
5
+
6
+ .. moduleauthor: Cameron F. Abrams, <cfa22@drexel.edu>
7
+
8
+ htpolynet-sweep, 2026-11-24: example 2's GMAS-4..15 were written with 24 of their
9
+ 78 bonds. Their reactant GM1S-k, a stereoisomer built on GM1's topology, had no mol2
10
+ bond table, and merging it in kept only the other reactant's bonds. The check that
11
+ reported it compared the two lists with zip(), so a table short only at the end passed.
12
+ """
13
+ import os
14
+ import shutil
15
+ import tempfile
16
+ import unittest
17
+
18
+ import pandas as pd
19
+
20
+ from htpolynet.core.topocoord import TopoCoord
21
+
22
+ _FIX = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'fixtures')
23
+
24
+
25
+ def _tc(with_mol2):
26
+ TC = TopoCoord(topfilename=os.path.join(_FIX, 'config1.top'),
27
+ grofilename=os.path.join(_FIX, 'config1.gro'))
28
+ if with_mol2:
29
+ b = TC.Topology.D['bonds'][['ai', 'aj']].reset_index(drop=True)
30
+ TC.Topology.D['mol2_bonds'] = pd.DataFrame({'bondIdx': range(1, len(b) + 1),
31
+ 'ai': b['ai'].astype(int),
32
+ 'aj': b['aj'].astype(int), 'order': '1'})
33
+ return TC
34
+
35
+
36
+ def _pairs(df):
37
+ return {(min(a, b), max(a, b)) for a, b in zip(df['ai'].astype(int), df['aj'].astype(int))}
38
+
39
+
40
+ class TestMergeKeepsEveryMol2Bond(unittest.TestCase):
41
+ def check_merge(self, first_has, second_has):
42
+ A, B = _tc(first_has), _tc(second_has)
43
+ n = len(A.Topology.D['bonds'])
44
+ with self.assertLogs('htpolynet.core.topology', level='WARNING') as logs:
45
+ A.merge(B)
46
+ T = A.Topology.D
47
+ self.assertEqual(len(T['mol2_bonds']), 2 * n)
48
+ self.assertEqual(_pairs(T['mol2_bonds']), _pairs(T['bonds']))
49
+ self.assertEqual(list(T['mol2_bonds']['bondIdx']), list(range(1, 2 * n + 1)))
50
+ self.assertIn('no mol2 bond table', '\n'.join(logs.output))
51
+
52
+ def test_incoming_molecule_without_a_table(self):
53
+ """The GMAS-4 case: the merged-in reactant had no table and was dropped."""
54
+ self.check_merge(True, False)
55
+
56
+ def test_molecule_being_built_without_a_table(self):
57
+ """The reverse used to adopt the incoming table without shifting its indices."""
58
+ self.check_merge(False, True)
59
+
60
+ def test_both_with_tables_is_quiet(self):
61
+ A, B = _tc(True), _tc(True)
62
+ n = len(A.Topology.D['bonds'])
63
+ with self.assertNoLogs('htpolynet.core.topology', level='WARNING'):
64
+ A.merge(B)
65
+ self.assertEqual(len(A.Topology.D['mol2_bonds']), 2 * n)
66
+
67
+ def test_neither_with_a_table_invents_none(self):
68
+ A, B = _tc(False), _tc(False)
69
+ A.merge(B)
70
+ self.assertNotIn('mol2_bonds', A.Topology.D)
71
+
72
+
73
+ class TestBondSourceCheck(unittest.TestCase):
74
+ def test_complete_table_passes(self):
75
+ self.assertTrue(_tc(True).Topology.bond_source_check())
76
+
77
+ def test_table_short_only_at_the_end_fails(self):
78
+ """zip() over a prefix used to call this consistent."""
79
+ T = _tc(True).Topology
80
+ mb = T.D['mol2_bonds'].sort_values(by=['ai', 'aj'])
81
+ T.D['mol2_bonds'] = mb.iloc[:-3].reset_index(drop=True)
82
+ with self.assertLogs('htpolynet.core.topology', level='ERROR') as logs:
83
+ self.assertFalse(T.bond_source_check())
84
+ self.assertIn('3 topology bonds are missing from the mol2', '\n'.join(logs.output))
85
+
86
+ def test_reversed_pair_order_is_the_same_bond(self):
87
+ T = _tc(True).Topology
88
+ mb = T.D['mol2_bonds']
89
+ T.D['mol2_bonds'] = mb.assign(ai=mb['aj'], aj=mb['ai'])
90
+ self.assertTrue(T.bond_source_check())
91
+
92
+
93
+ class TestStereoisomerReadsItsOwnBonds(unittest.TestCase):
94
+ """A topology loaded with the molecule's own mol2 carries that mol2's bond table."""
95
+
96
+ def test_top_gro_plus_mol2_keeps_the_table(self):
97
+ src = _tc(True)
98
+ with tempfile.TemporaryDirectory() as td:
99
+ m = os.path.join(td, 'X.mol2')
100
+ src.write_mol2(m, molname='X')
101
+ TC = TopoCoord(topfilename=os.path.join(_FIX, 'config1.top'),
102
+ grofilename=os.path.join(_FIX, 'config1.gro'), mol2filename=m)
103
+ self.assertIn('mol2_bonds', TC.Topology.D)
104
+ self.assertEqual(len(TC.Topology.D['mol2_bonds']), len(TC.Topology.D['bonds']))
105
+ self.assertTrue(TC.Topology.bond_source_check())
106
+
107
+
108
+ if __name__ == '__main__':
109
+ unittest.main()
@@ -44,6 +44,41 @@ class TestComputeEStrainWindow(unittest.TestCase):
44
44
  compute_E(np.array([0.0, 0.0001]), np.array([0.0, 1.0]), fit_strain=[0.001, 0.02])
45
45
 
46
46
 
47
+ class TestMissingDeformStages(unittest.TestCase):
48
+ """htpolynet-sweep, 2026-11-19: no deform directories crashed with min() of an empty
49
+ list, after the ladder CSVs were written, so plots post exited nonzero."""
50
+
51
+ def run_in(self, writer, phases):
52
+ with tempfile.TemporaryDirectory() as d:
53
+ writer(d)
54
+ cwd = os.getcwd()
55
+ os.chdir(d)
56
+ try:
57
+ with self.assertLogs('htpolynet.analysis.plot', level='INFO') as logs:
58
+ result = do_E_plots(phases, [d])
59
+ written = sorted(os.listdir(d))
60
+ finally:
61
+ os.chdir(cwd)
62
+ return result, '\n'.join(logs.output), written
63
+
64
+ def test_no_deform_stage_run_is_skipped_with_a_warning(self):
65
+ phases = TestDoEPlots.phases()
66
+ result, log, written = self.run_in(lambda d: None, phases)
67
+ self.assertIsNone(result)
68
+ self.assertIn('no deform stage has run', log)
69
+ self.assertIn('skipping Young', log)
70
+ self.assertNotIn('E.csv', written)
71
+
72
+ def test_one_missing_direction_is_named_and_the_others_fitted(self):
73
+ def w(root):
74
+ for i, ax in enumerate('xy'):
75
+ write_deform(root, f'postsim/deform-{ax}', ax, 3.0e4, 1.0, seed=i)
76
+ result, log, written = self.run_in(w, TestDoEPlots.phases())
77
+ self.assertEqual(result['n'], 2)
78
+ self.assertIn('left out of E', log)
79
+ self.assertIn('deform-z', log)
80
+
81
+
47
82
  class TestDoEPlots(unittest.TestCase):
48
83
  def run_E(self, phases, writer):
49
84
  with tempfile.TemporaryDirectory() as d:
@@ -303,6 +303,41 @@ class TestDoTgPlots(unittest.TestCase):
303
303
  self.assertIn('differ by 56 K', log)
304
304
 
305
305
 
306
+ class TestPostPlotsOnAPartialProject(unittest.TestCase):
307
+ """Ladders finished; anneal, equilibrate and deform listed but not run. The ladder
308
+ output must be written and plots post must return normally (htpolynet-sweep,
309
+ 2026-11-19: it raised after writing the ladder CSVs, so a harness gating on the
310
+ exit code discarded them)."""
311
+
312
+ def test_ladders_are_analyzed_and_nothing_raises(self):
313
+ import yaml
314
+ h = {'ladder': dict(LADDER, subdir='postsim/heat')}
315
+ c = {'ladder': dict(LADDER, subdir='postsim/cool', deltaT=-LADDER['deltaT'])}
316
+ phases = ([{'anneal': {'subdir': 'postsim/anneal'}},
317
+ {'equilibrate': {'subdir': 'postsim/equilibrate'}}, c, h]
318
+ + [{'deform': {'direction': a, 'subdir': f'postsim/deform-{a}'}} for a in 'xyz'])
319
+ with tempfile.TemporaryDirectory() as top:
320
+ proj = os.path.join(top, 'proj-0')
321
+ write_ladder(proj, 'postsim/heat', kinked(TEMPS))
322
+ write_ladder(proj, 'postsim/cool', kinked(TEMPS, Tg=440.0))
323
+ cfg = os.path.join(top, 'post.yaml')
324
+ with open(cfg, 'w') as f:
325
+ yaml.safe_dump(phases, f)
326
+ cwd = os.getcwd()
327
+ os.chdir(top)
328
+ try:
329
+ with self.assertLogs('htpolynet.analysis.plot', level='INFO') as logs:
330
+ post_plots(types.SimpleNamespace(n_points=[10, 20], cfg=[cfg], proj=[proj]))
331
+ written = sorted(os.listdir(top))
332
+ finally:
333
+ os.chdir(cwd)
334
+ log = '\n'.join(logs.output)
335
+ self.assertIn('ladder0-data.csv', written)
336
+ self.assertIn('ladder1-data.csv', written)
337
+ self.assertIn('equilibrate.csv not found', log)
338
+ self.assertIn('no deform stage has run', log)
339
+
340
+
306
341
  class TestPostPlotsNeedsItsConfig(unittest.TestCase):
307
342
  def test_no_cfg_is_an_error_not_a_silent_success(self):
308
343
  args = types.SimpleNamespace(n_points=[10, 20], cfg=[], proj=['proj-0'])
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