HTPolyNet 1.0.8__tar.gz → 2.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (314) hide show
  1. htpolynet-2.0.0/.claude/settings.json +23 -0
  2. htpolynet-2.0.0/.github/workflows/docker.yml +35 -0
  3. htpolynet-2.0.0/.github/workflows/release.yaml +102 -0
  4. {htpolynet-1.0.8 → htpolynet-2.0.0}/.gitignore +8 -0
  5. htpolynet-2.0.0/.readthedocs.yaml +15 -0
  6. htpolynet-2.0.0/CHANGELOG.md +41 -0
  7. htpolynet-2.0.0/Dockerfile +35 -0
  8. htpolynet-2.0.0/MANIFEST.in +1 -0
  9. {htpolynet-1.0.8 → htpolynet-2.0.0}/PKG-INFO +22 -31
  10. htpolynet-2.0.0/README.md +50 -0
  11. htpolynet-2.0.0/compose.yml +7 -0
  12. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/README.rst +2 -2
  13. htpolynet-2.0.0/docs/make.bat +35 -0
  14. htpolynet-2.0.0/docs/requirements.txt +7 -0
  15. htpolynet-2.0.0/docs/source/changelog.rst +7 -0
  16. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/conf.py +10 -20
  17. htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/1-polystyrene/configuration.rst +164 -0
  18. {htpolynet-1.0.8/docs/source/example-tutorials/shortbuilds/1-polymethylstyrene → htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/1-polystyrene}/index.rst +5 -6
  19. htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/1-polystyrene/introduction.rst +38 -0
  20. htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/1-polystyrene/monomer.rst +90 -0
  21. htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/1-polystyrene/reactions.rst +70 -0
  22. htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/1-polystyrene/results.rst +32 -0
  23. htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/1-polystyrene/run.rst +48 -0
  24. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/example-tutorials/shortbuilds/2-DGEBA-PACM/configuration.rst +5 -5
  25. htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/2-DGEBA-PACM/introduction.rst +69 -0
  26. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/example-tutorials/shortbuilds/2-DGEBA-PACM/monomers.rst +5 -5
  27. htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/2-DGEBA-PACM/pics/buildtraces.png +0 -0
  28. htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/2-DGEBA-PACM/pics/cure_info.png +0 -0
  29. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/example-tutorials/shortbuilds/2-DGEBA-PACM/reactions.rst +1 -1
  30. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/example-tutorials/shortbuilds/2-DGEBA-PACM/results.rst +2 -2
  31. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/example-tutorials/shortbuilds/2-DGEBA-PACM/run.rst +109 -107
  32. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/example-tutorials/shortbuilds/3-VE-STY/configuration.rst +1 -1
  33. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/example-tutorials/shortbuilds/3-VE-STY/introduction.rst +5 -5
  34. htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/3-VE-STY/pics/buildtraces.png +0 -0
  35. htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/3-VE-STY/pics/cure_info.png +0 -0
  36. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/example-tutorials/shortbuilds/3-VE-STY/reactions.rst +2 -2
  37. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/example-tutorials/shortbuilds/3-VE-STY/results.rst +3 -1
  38. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/example-tutorials/shortbuilds/3-VE-STY/run.rst +117 -128
  39. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/example-tutorials/shortbuilds/index.rst +1 -1
  40. htpolynet-2.0.0/docs/source/htpolynetpackage.rst +199 -0
  41. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/index.rst +5 -4
  42. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/install.rst +20 -10
  43. htpolynet-2.0.0/docs/source/release-history.rst +69 -0
  44. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/user-guide/configs/configs-for-analyze.rst +6 -6
  45. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/user-guide/configs/configs-for-postsim.rst +1 -1
  46. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/user-guide/configs/configs-for-run.rst +28 -25
  47. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/user-guide/configuration-files.rst +1 -1
  48. htpolynet-2.0.0/docs/source/user-guide/container-usage.rst +122 -0
  49. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/user-guide/index.rst +1 -0
  50. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/user-guide/molecular-structure-inputs.rst +8 -8
  51. htpolynet-2.0.0/docs/source/user-guide/pics/STY.png +0 -0
  52. htpolynet-2.0.0/docs/source/user-guide/pics/STYCC.png +0 -0
  53. htpolynet-2.0.0/docs/source/user-guide/pics/ring_pierce/ring_pierce_cases.png +0 -0
  54. htpolynet-2.0.0/docs/source/user-guide/pics/ring_pierce/ring_pierce_linkcell.png +0 -0
  55. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/user-guide/program-flow.rst +7 -7
  56. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/user-guide/usage.rst +52 -43
  57. {htpolynet-1.0.8 → htpolynet-2.0.0}/pyproject.toml +13 -7
  58. htpolynet-2.0.0/scripts/release.sh +88 -0
  59. htpolynet-2.0.0/src/htpolynet/__init__.py +2 -0
  60. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet/analysis}/analyze.py +48 -50
  61. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet/analysis}/plot.py +79 -98
  62. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet/analysis}/postsim.py +85 -85
  63. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet/analysis}/utils.py +83 -89
  64. htpolynet-2.0.0/src/htpolynet/cli.py +488 -0
  65. htpolynet-2.0.0/src/htpolynet/core/bondtemplate.py +112 -0
  66. htpolynet-2.0.0/src/htpolynet/core/configuration.py +83 -0
  67. htpolynet-2.0.0/src/htpolynet/core/coordinates.py +644 -0
  68. htpolynet-2.0.0/src/htpolynet/core/molecule.py +998 -0
  69. htpolynet-2.0.0/src/htpolynet/core/projectfilesystem.py +616 -0
  70. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet/core}/runtime.py +280 -217
  71. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet/core}/topocoord.py +896 -877
  72. htpolynet-2.0.0/src/htpolynet/core/topology.py +1138 -0
  73. htpolynet-2.0.0/src/htpolynet/cure/chain.py +135 -0
  74. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet/cure}/curecontroller.py +152 -174
  75. htpolynet-2.0.0/src/htpolynet/cure/expandreactions.py +294 -0
  76. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet/cure}/reaction.py +72 -74
  77. htpolynet-2.0.0/src/htpolynet/external/__init__.py +0 -0
  78. htpolynet-2.0.0/src/htpolynet/external/ambertools.py +97 -0
  79. htpolynet-2.0.0/src/htpolynet/external/command.py +73 -0
  80. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet/external}/gromacs.py +78 -103
  81. htpolynet-2.0.0/src/htpolynet/external/slurm.py +111 -0
  82. htpolynet-2.0.0/src/htpolynet/external/software.py +183 -0
  83. htpolynet-2.0.0/src/htpolynet/geometry/__init__.py +0 -0
  84. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet/geometry}/bondlist.py +56 -55
  85. htpolynet-2.0.0/src/htpolynet/geometry/lattice.py +32 -0
  86. htpolynet-2.0.0/src/htpolynet/geometry/linkcell.py +210 -0
  87. htpolynet-2.0.0/src/htpolynet/geometry/matrix4.py +110 -0
  88. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet/geometry}/ring.py +273 -292
  89. htpolynet-2.0.0/src/htpolynet/io/__init__.py +6 -0
  90. htpolynet-2.0.0/src/htpolynet/io/gro.py +195 -0
  91. htpolynet-2.0.0/src/htpolynet/io/mol2.py +210 -0
  92. htpolynet-2.0.0/src/htpolynet/io/pdb.py +157 -0
  93. htpolynet-2.0.0/src/htpolynet/resources/__init__.py +0 -0
  94. htpolynet-2.0.0/src/htpolynet/resources/example_depot/0-liquid-styrene.sh +134 -0
  95. htpolynet-2.0.0/src/htpolynet/resources/example_depot/0-liquid-styrene.tgz +0 -0
  96. htpolynet-2.0.0/src/htpolynet/resources/example_depot/1-polystyrene.sh +202 -0
  97. htpolynet-2.0.0/src/htpolynet/resources/example_depot/1-polystyrene.tgz +0 -0
  98. htpolynet-2.0.0/src/htpolynet/resources/example_depot/2-bisgma-styrene-thermoset.sh +353 -0
  99. htpolynet-2.0.0/src/htpolynet/resources/example_depot/2-bisgma-styrene-thermoset.tgz +0 -0
  100. htpolynet-2.0.0/src/htpolynet/resources/example_depot/3-pacm-dgeba-epoxy-thermoset.sh +242 -0
  101. htpolynet-2.0.0/src/htpolynet/resources/example_depot/3-pacm-dgeba-epoxy-thermoset.tgz +0 -0
  102. htpolynet-2.0.0/src/htpolynet/resources/example_depot/4-dfda-fde-epoxy-thermoset.sh +216 -0
  103. htpolynet-2.0.0/src/htpolynet/resources/example_depot/4-dfda-fde-epoxy-thermoset.tgz +0 -0
  104. htpolynet-2.0.0/src/htpolynet/resources/molecules/sample-inputs/STY.mol2 +44 -0
  105. htpolynet-2.0.0/src/htpolynet/utils/__init__.py +0 -0
  106. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet/utils}/banner.py +6 -5
  107. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet/utils}/checkpoint.py +15 -18
  108. htpolynet-2.0.0/src/htpolynet/utils/dataframetools.py +92 -0
  109. htpolynet-2.0.0/src/htpolynet/utils/inputcheck.py +49 -0
  110. htpolynet-2.0.0/src/htpolynet/utils/logsetup.py +44 -0
  111. htpolynet-2.0.0/tests/__init__.py +0 -0
  112. htpolynet-2.0.0/tests/conftest.py +72 -0
  113. htpolynet-2.0.0/tests/unit/__init__.py +0 -0
  114. htpolynet-2.0.0/tests/unit/test_bondtemplate.py +408 -0
  115. htpolynet-2.0.0/tests/unit/test_chain.py +170 -0
  116. htpolynet-2.0.0/tests/unit/test_configuration.py +456 -0
  117. {htpolynet-1.0.8 → htpolynet-2.0.0}/tests/unit/test_dataframetools.py +5 -9
  118. {htpolynet-1.0.8 → htpolynet-2.0.0}/tests/unit/test_gromacs_get_energy_menu.py +1 -1
  119. {htpolynet-1.0.8 → htpolynet-2.0.0}/tests/unit/test_gromacs_gmx_energy_trace.py +1 -1
  120. htpolynet-2.0.0/tests/unit/test_linkcell_pierce.py +333 -0
  121. htpolynet-2.0.0/tests/unit/test_parameterize_react.py +345 -0
  122. htpolynet-2.0.0/tests/unit/test_projectfilesystem.py +478 -0
  123. {htpolynet-1.0.8 → htpolynet-2.0.0}/tests/unit/test_resources.py +2 -2
  124. {htpolynet-1.0.8 → htpolynet-2.0.0}/tests/unit/test_ring.py +2 -2
  125. htpolynet-2.0.0/tests/unit/test_ring_pierce_figs.py +450 -0
  126. {htpolynet-1.0.8 → htpolynet-2.0.0}/tests/unit/test_topology.py +1 -1
  127. htpolynet-1.0.8/.github/workflows/sphinx.yml +0 -31
  128. htpolynet-1.0.8/HTPolyNet/__init__.py +0 -1
  129. htpolynet-1.0.8/HTPolyNet/ambertools.py +0 -94
  130. htpolynet-1.0.8/HTPolyNet/bondtemplate.py +0 -111
  131. htpolynet-1.0.8/HTPolyNet/command.py +0 -42
  132. htpolynet-1.0.8/HTPolyNet/configuration.py +0 -240
  133. htpolynet-1.0.8/HTPolyNet/coordinates.py +0 -1100
  134. htpolynet-1.0.8/HTPolyNet/countTime.py +0 -26
  135. htpolynet-1.0.8/HTPolyNet/dataframetools.py +0 -134
  136. htpolynet-1.0.8/HTPolyNet/driver.py +0 -257
  137. htpolynet-1.0.8/HTPolyNet/expandreactions.py +0 -154
  138. htpolynet-1.0.8/HTPolyNet/inputcheck.py +0 -51
  139. htpolynet-1.0.8/HTPolyNet/linkcell.py +0 -322
  140. htpolynet-1.0.8/HTPolyNet/matrix4.py +0 -110
  141. htpolynet-1.0.8/HTPolyNet/molecule.py +0 -1247
  142. htpolynet-1.0.8/HTPolyNet/projectfilesystem.py +0 -483
  143. htpolynet-1.0.8/HTPolyNet/resources/example_depot/0-liquid-styrene.tgz +0 -0
  144. htpolynet-1.0.8/HTPolyNet/resources/example_depot/1-polystyrene.tgz +0 -0
  145. htpolynet-1.0.8/HTPolyNet/resources/example_depot/2-polymethylstyrene.tgz +0 -0
  146. htpolynet-1.0.8/HTPolyNet/resources/example_depot/3-bisgma-styrene-thermoset.tgz +0 -0
  147. htpolynet-1.0.8/HTPolyNet/resources/example_depot/4-pacm-dgeba-epoxy-thermoset.tgz +0 -0
  148. htpolynet-1.0.8/HTPolyNet/resources/example_depot/5-dfda-fde-epoxy-thermoset.tgz +0 -0
  149. htpolynet-1.0.8/HTPolyNet/software.py +0 -106
  150. htpolynet-1.0.8/HTPolyNet/topology.py +0 -1228
  151. htpolynet-1.0.8/HTPolyNet/unused_symmetry_stuff.py +0 -291
  152. htpolynet-1.0.8/MANIFEST.in +0 -1
  153. htpolynet-1.0.8/README.md +0 -61
  154. htpolynet-1.0.8/docs/requirements.txt +0 -1
  155. htpolynet-1.0.8/docs/source/HTPolyNetPackage.rst +0 -188
  156. htpolynet-1.0.8/docs/source/example-tutorials/shortbuilds/1-polymethylstyrene/configuration.rst +0 -71
  157. htpolynet-1.0.8/docs/source/example-tutorials/shortbuilds/1-polymethylstyrene/files/EMB.mol2 +0 -50
  158. htpolynet-1.0.8/docs/source/example-tutorials/shortbuilds/1-polymethylstyrene/introduction.rst +0 -76
  159. htpolynet-1.0.8/docs/source/example-tutorials/shortbuilds/1-polymethylstyrene/monomer.rst +0 -142
  160. htpolynet-1.0.8/docs/source/example-tutorials/shortbuilds/1-polymethylstyrene/pics/4meb.png +0 -0
  161. htpolynet-1.0.8/docs/source/example-tutorials/shortbuilds/1-polymethylstyrene/pics/EMB1_1_labelled.png +0 -0
  162. htpolynet-1.0.8/docs/source/example-tutorials/shortbuilds/1-polymethylstyrene/pics/buildtraces.png +0 -0
  163. htpolynet-1.0.8/docs/source/example-tutorials/shortbuilds/1-polymethylstyrene/pics/cure_info.png +0 -0
  164. htpolynet-1.0.8/docs/source/example-tutorials/shortbuilds/1-polymethylstyrene/pics/densification-density.png +0 -0
  165. htpolynet-1.0.8/docs/source/example-tutorials/shortbuilds/1-polymethylstyrene/pics/emb-labelled.png +0 -0
  166. htpolynet-1.0.8/docs/source/example-tutorials/shortbuilds/1-polymethylstyrene/pics/global_traces.png +0 -0
  167. htpolynet-1.0.8/docs/source/example-tutorials/shortbuilds/1-polymethylstyrene/pics/hi-pre.png +0 -0
  168. htpolynet-1.0.8/docs/source/example-tutorials/shortbuilds/1-polymethylstyrene/pics/hi.png +0 -0
  169. htpolynet-1.0.8/docs/source/example-tutorials/shortbuilds/1-polymethylstyrene/pics/iter-1-cure_equilibrate-density.png +0 -0
  170. htpolynet-1.0.8/docs/source/example-tutorials/shortbuilds/1-polymethylstyrene/pics/iter-2-cap_equilibrate-density.png +0 -0
  171. htpolynet-1.0.8/docs/source/example-tutorials/shortbuilds/1-polymethylstyrene/pics/iter-2-cure_equilibrate-density.png +0 -0
  172. htpolynet-1.0.8/docs/source/example-tutorials/shortbuilds/1-polymethylstyrene/pics/mst-vinyl.png +0 -0
  173. htpolynet-1.0.8/docs/source/example-tutorials/shortbuilds/1-polymethylstyrene/pics/pmsty_sys.eps +0 -316
  174. htpolynet-1.0.8/docs/source/example-tutorials/shortbuilds/1-polymethylstyrene/pics/pmsty_sys.fig +0 -140
  175. htpolynet-1.0.8/docs/source/example-tutorials/shortbuilds/1-polymethylstyrene/pics/pmsty_sys.png +0 -0
  176. htpolynet-1.0.8/docs/source/example-tutorials/shortbuilds/1-polymethylstyrene/pics/postcure-anneal-T.png +0 -0
  177. htpolynet-1.0.8/docs/source/example-tutorials/shortbuilds/1-polymethylstyrene/pics/postcure-postequilibration-density.png +0 -0
  178. htpolynet-1.0.8/docs/source/example-tutorials/shortbuilds/1-polymethylstyrene/pics/precure-anneal-T.png +0 -0
  179. htpolynet-1.0.8/docs/source/example-tutorials/shortbuilds/1-polymethylstyrene/pics/precure-postequilibration-density.png +0 -0
  180. htpolynet-1.0.8/docs/source/example-tutorials/shortbuilds/1-polymethylstyrene/pics/precure-preequilibration-density.png +0 -0
  181. htpolynet-1.0.8/docs/source/example-tutorials/shortbuilds/1-polymethylstyrene/reactions.rst +0 -110
  182. htpolynet-1.0.8/docs/source/example-tutorials/shortbuilds/1-polymethylstyrene/results.rst +0 -272
  183. htpolynet-1.0.8/docs/source/example-tutorials/shortbuilds/1-polymethylstyrene/run.rst +0 -366
  184. htpolynet-1.0.8/docs/source/example-tutorials/shortbuilds/2-DGEBA-PACM/introduction.rst +0 -58
  185. htpolynet-1.0.8/docs/source/example-tutorials/shortbuilds/2-DGEBA-PACM/pics/buildtraces.png +0 -0
  186. htpolynet-1.0.8/docs/source/example-tutorials/shortbuilds/2-DGEBA-PACM/pics/cure_info.png +0 -0
  187. htpolynet-1.0.8/docs/source/example-tutorials/shortbuilds/3-VE-STY/pics/buildtraces.png +0 -0
  188. htpolynet-1.0.8/docs/source/example-tutorials/shortbuilds/3-VE-STY/pics/cure_info.png +0 -0
  189. htpolynet-1.0.8/tests/conftest.py +0 -36
  190. {htpolynet-1.0.8 → htpolynet-2.0.0}/LICENSE +0 -0
  191. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/Makefile +0 -0
  192. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/example-tutorials/index.rst +0 -0
  193. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/example-tutorials/postsim_analyses/index.rst +0 -0
  194. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/example-tutorials/postsim_analyses/pics/equil-rho_v_ns.png +0 -0
  195. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/example-tutorials/postsim_analyses/pics/postsim-typical.png +0 -0
  196. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/example-tutorials/postsim_analyses/pics/prod-e.png +0 -0
  197. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/example-tutorials/postsim_analyses/pics/prod-equil-rho_v_ns.png +0 -0
  198. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/example-tutorials/postsim_analyses/pics/prod-rho_v_ns.png +0 -0
  199. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/example-tutorials/postsim_analyses/pics/prod-tg.png +0 -0
  200. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/example-tutorials/postsim_analyses/pics/rho_v_ns.png +0 -0
  201. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/example-tutorials/postsim_analyses/pics/short-e.png +0 -0
  202. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/example-tutorials/postsim_analyses/pics/short-tg.png +0 -0
  203. {htpolynet-1.0.8/HTPolyNet/resources/molecules/inputs → htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/1-polystyrene/files}/STY.mol2 +0 -0
  204. {htpolynet-1.0.8/docs/source/user-guide → htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/1-polystyrene/pics}/STY.png +0 -0
  205. {htpolynet-1.0.8/docs/source/user-guide → htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/1-polystyrene/pics}/STYCC.png +0 -0
  206. {htpolynet-1.0.8/docs/source/example-tutorials/shortbuilds/1-polymethylstyrene → htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/1-polystyrene}/pics/styrene-polymerization.png +0 -0
  207. {htpolynet-1.0.8/HTPolyNet/resources/molecules/sample-inputs → htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/2-DGEBA-PACM/files}/DGE.mol2 +0 -0
  208. {htpolynet-1.0.8/HTPolyNet/resources/molecules/sample-inputs → htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/2-DGEBA-PACM/files}/PAC.mol2 +0 -0
  209. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/example-tutorials/shortbuilds/2-DGEBA-PACM/index.rst +0 -0
  210. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/example-tutorials/shortbuilds/2-DGEBA-PACM/pics/DGE-epoxy.png +0 -0
  211. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/example-tutorials/shortbuilds/2-DGEBA-PACM/pics/DGE-labelled.png +0 -0
  212. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/example-tutorials/shortbuilds/2-DGEBA-PACM/pics/PAC-2d.png +0 -0
  213. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/example-tutorials/shortbuilds/2-DGEBA-PACM/pics/PAC-labelled.png +0 -0
  214. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/example-tutorials/shortbuilds/2-DGEBA-PACM/pics/densification-density.png +0 -0
  215. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/example-tutorials/shortbuilds/2-DGEBA-PACM/pics/dge-pac-cured.png +0 -0
  216. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/example-tutorials/shortbuilds/2-DGEBA-PACM/pics/dge-pac-liq.png +0 -0
  217. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/example-tutorials/shortbuilds/2-DGEBA-PACM/pics/dgesys.eps +0 -0
  218. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/example-tutorials/shortbuilds/2-DGEBA-PACM/pics/dgesys.fig +0 -0
  219. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/example-tutorials/shortbuilds/2-DGEBA-PACM/pics/dgesys.png +0 -0
  220. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/example-tutorials/shortbuilds/2-DGEBA-PACM/pics/r1.png +0 -0
  221. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/example-tutorials/shortbuilds/2-DGEBA-PACM/pics/r2.png +0 -0
  222. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/example-tutorials/shortbuilds/2-DGEBA-PACM/pics/r3.png +0 -0
  223. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/example-tutorials/shortbuilds/3-VE-STY/index.rst +0 -0
  224. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/example-tutorials/shortbuilds/3-VE-STY/pics/BPA.png +0 -0
  225. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/example-tutorials/shortbuilds/3-VE-STY/pics/GMA.png +0 -0
  226. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/example-tutorials/shortbuilds/3-VE-STY/pics/HIE.png +0 -0
  227. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/example-tutorials/shortbuilds/3-VE-STY/pics/densification-density.png +0 -0
  228. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/example-tutorials/shortbuilds/3-VE-STY/pics/four_dimers.eps +0 -0
  229. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/example-tutorials/shortbuilds/3-VE-STY/pics/four_dimers.fig +0 -0
  230. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/example-tutorials/shortbuilds/3-VE-STY/pics/four_dimers.png +0 -0
  231. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/example-tutorials/shortbuilds/3-VE-STY/pics/gma-sty-cured.png +0 -0
  232. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/example-tutorials/shortbuilds/3-VE-STY/pics/gma-sty-liq.png +0 -0
  233. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/example-tutorials/shortbuilds/3-VE-STY/pics/p1-traces.png +0 -0
  234. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/example-tutorials/shortbuilds/3-VE-STY/pics/vesys.eps +0 -0
  235. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/example-tutorials/shortbuilds/3-VE-STY/pics/vesys.fig +0 -0
  236. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/example-tutorials/shortbuilds/3-VE-STY/pics/vesys.png +0 -0
  237. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/references/index.rst +0 -0
  238. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/references/mol2-reference.pdf +0 -0
  239. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/references.bib +0 -0
  240. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/user-guide/CURE.odg +0 -0
  241. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/user-guide/bond_filter.odg +0 -0
  242. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/user-guide/flow1.odg +0 -0
  243. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/user-guide/flow1yaml.odg +0 -0
  244. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/user-guide/hydrogenated.eps +0 -0
  245. {htpolynet-1.0.8 → htpolynet-2.0.0}/docs/source/user-guide/hydrogenated.fig +0 -0
  246. {htpolynet-1.0.8/docs/source/user-guide → htpolynet-2.0.0/docs/source/user-guide/pics}/CURE.png +0 -0
  247. {htpolynet-1.0.8/docs/source/user-guide → htpolynet-2.0.0/docs/source/user-guide/pics}/TypicalUsageFlow.png +0 -0
  248. {htpolynet-1.0.8/docs/source/user-guide → htpolynet-2.0.0/docs/source/user-guide/pics}/bond_filter.png +0 -0
  249. {htpolynet-1.0.8/docs/source/user-guide → htpolynet-2.0.0/docs/source/user-guide/pics}/chemdoodle-2dsketcher-emb.png +0 -0
  250. {htpolynet-1.0.8/docs/source/user-guide → htpolynet-2.0.0/docs/source/user-guide/pics}/chemdoodle-2dsketcher-styrene.png +0 -0
  251. {htpolynet-1.0.8/docs/source/user-guide → htpolynet-2.0.0/docs/source/user-guide/pics}/flow1.png +0 -0
  252. {htpolynet-1.0.8/docs/source/user-guide → htpolynet-2.0.0/docs/source/user-guide/pics}/hydrogenated.png +0 -0
  253. {htpolynet-1.0.8/HTPolyNet/resources → htpolynet-2.0.0/src/htpolynet/analysis}/__init__.py +0 -0
  254. {htpolynet-1.0.8/tests → htpolynet-2.0.0/src/htpolynet/core}/__init__.py +0 -0
  255. {htpolynet-1.0.8/tests/unit → htpolynet-2.0.0/src/htpolynet/cure}/__init__.py +0 -0
  256. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet}/resources/README.md +0 -0
  257. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet}/resources/cfg/DGE-PAC-hi.yaml +0 -0
  258. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet}/resources/cfg/DGE-PAC-lo.yaml +0 -0
  259. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet}/resources/cfg/FDE-DFDA-hi.yaml +0 -0
  260. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet}/resources/cfg/FDE-DFDA-lo.yaml +0 -0
  261. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet}/resources/cfg/GMASTY-hi.yaml +0 -0
  262. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet}/resources/cfg/GMASTY-lo.yaml +0 -0
  263. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet}/resources/cfg/README.md +0 -0
  264. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet}/resources/cfg/STY.yaml +0 -0
  265. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet}/resources/cfg/pMSTY-hi.yaml +0 -0
  266. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet}/resources/cfg/pMSTY-lo.yaml +0 -0
  267. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet}/resources/cfg/pSTY-hi.yaml +0 -0
  268. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet}/resources/cfg/pSTY-lo.yaml +0 -0
  269. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet}/resources/mdp/README.md +0 -0
  270. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet}/resources/mdp/drag-min.mdp +0 -0
  271. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet}/resources/mdp/drag-npt.mdp +0 -0
  272. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet}/resources/mdp/drag-nvt.mdp +0 -0
  273. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet}/resources/mdp/min.mdp +0 -0
  274. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet}/resources/mdp/npt.mdp +0 -0
  275. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet}/resources/mdp/nvt.mdp +0 -0
  276. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet}/resources/mdp/relax-min.mdp +0 -0
  277. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet}/resources/mdp/relax-npt.mdp +0 -0
  278. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet}/resources/mdp/relax-nvt.mdp +0 -0
  279. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet}/resources/mdp/single-molecule-min.mdp +0 -0
  280. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet}/resources/mdp/single-molecule-nvt.mdp +0 -0
  281. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet}/resources/molecules/inputs/DFA.pdb +0 -0
  282. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet}/resources/molecules/inputs/DGE.mol2 +0 -0
  283. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet}/resources/molecules/inputs/EMB.mol2 +0 -0
  284. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet}/resources/molecules/inputs/FDE.pdb +0 -0
  285. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet}/resources/molecules/inputs/GMA.mol2 +0 -0
  286. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet}/resources/molecules/inputs/PAC.mol2 +0 -0
  287. {htpolynet-1.0.8/HTPolyNet/resources/molecules/sample-inputs → htpolynet-2.0.0/src/htpolynet/resources/molecules/inputs}/STY.mol2 +0 -0
  288. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet}/resources/molecules/make-monomers.sh +0 -0
  289. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet}/resources/molecules/pics/DFA.png +0 -0
  290. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet}/resources/molecules/pics/DGE.png +0 -0
  291. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet}/resources/molecules/pics/EMB.png +0 -0
  292. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet}/resources/molecules/pics/FDE.png +0 -0
  293. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet}/resources/molecules/pics/GMA.png +0 -0
  294. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet}/resources/molecules/pics/PAC.png +0 -0
  295. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet}/resources/molecules/pics/STY.png +0 -0
  296. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet}/resources/molecules/sample-inputs/DFA.pdb +0 -0
  297. {htpolynet-1.0.8/docs/source/example-tutorials/shortbuilds/2-DGEBA-PACM/files → htpolynet-2.0.0/src/htpolynet/resources/molecules/sample-inputs}/DGE.mol2 +0 -0
  298. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet}/resources/molecules/sample-inputs/EMB.mol2 +0 -0
  299. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet}/resources/molecules/sample-inputs/FDE.pdb +0 -0
  300. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet}/resources/molecules/sample-inputs/GMA.mol2 +0 -0
  301. {htpolynet-1.0.8/docs/source/example-tutorials/shortbuilds/2-DGEBA-PACM/files → htpolynet-2.0.0/src/htpolynet/resources/molecules/sample-inputs}/PAC.mol2 +0 -0
  302. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet}/resources/tcl/readbonds.tcl +0 -0
  303. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet}/resources/tcl/readgrx.tcl +0 -0
  304. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet}/resources/tcl/render.tcl +0 -0
  305. {htpolynet-1.0.8/HTPolyNet → htpolynet-2.0.0/src/htpolynet/utils}/stringthings.py +0 -0
  306. {htpolynet-1.0.8 → htpolynet-2.0.0}/tests/unit/fixtures/config1.gro +0 -0
  307. {htpolynet-1.0.8 → htpolynet-2.0.0}/tests/unit/fixtures/config1.top +0 -0
  308. {htpolynet-1.0.8 → htpolynet-2.0.0}/tests/unit/fixtures/config2.gro +0 -0
  309. {htpolynet-1.0.8 → htpolynet-2.0.0}/tests/unit/fixtures/config2.top +0 -0
  310. {htpolynet-1.0.8 → htpolynet-2.0.0}/tests/unit/fixtures/items31.edr +0 -0
  311. {htpolynet-1.0.8 → htpolynet-2.0.0}/tests/unit/fixtures/items43.edr +0 -0
  312. {htpolynet-1.0.8 → htpolynet-2.0.0}/tests/unit/fixtures/items45.edr +0 -0
  313. {htpolynet-1.0.8 → htpolynet-2.0.0}/tests/unit/fixtures/short.mdp +0 -0
  314. {htpolynet-1.0.8 → htpolynet-2.0.0}/tests/unit/test_topology/test.top +0 -0
@@ -0,0 +1,23 @@
1
+ {
2
+ "permissions": {
3
+ "allow": [
4
+ "Bash(wc -l /home/cfa/Git/HTPolyNet/src/htpolynet/*.py)",
5
+ "Bash(grep -rn \"^\\\\s*\\\\\\(from\\\\|import\\\\\\)\" /home/cfa/Git/HTPolyNet/src/htpolynet/core/*.py)",
6
+ "Bash(grep -rn \"^\\\\s*\\\\\\(from\\\\|import\\\\\\)\" /home/cfa/Git/HTPolyNet/src/htpolynet/cure/*.py)",
7
+ "Bash(grep -rn \"^\\\\s*\\\\\\(from\\\\|import\\\\\\)\" /home/cfa/Git/HTPolyNet/src/htpolynet/geometry/*.py)",
8
+ "Bash(sort grep:*)",
9
+ "Bash(grep -rn \"^\\\\s*\\\\\\(from\\\\|import\\\\\\)\" /home/cfa/Git/HTPolyNet/src/htpolynet/analysis/*.py)",
10
+ "Bash(BASE=/home/cfa/Git/HTPolyNet __NEW_LINE_9d067e0cee514a78__ SED_CMD=':*)",
11
+ "Bash(xargs sed:*)",
12
+ "Bash(wc -l /home/cfa/Git/htpolynet/src/htpolynet/cure/*.py /home/cfa/Git/htpolynet/src/htpolynet/external/*.py /home/cfa/Git/htpolynet/src/htpolynet/geometry/*.py /home/cfa/Git/htpolynet/src/htpolynet/utils/*.py /home/cfa/Git/htpolynet/src/htpolynet/driver.py /home/cfa/Git/htpolynet/src/htpolynet/resources/__init__.py)",
13
+ "Bash(grep -rل \"Args:\" /home/cfa/Git/htpolynet/src/htpolynet --include=\"*.py\" -l)",
14
+ "Bash(/home/cfa/anaconda3/envs/panacea/bin/pip index:*)",
15
+ "Read(//home/cfa/Git/**)",
16
+ "Bash(gh run:*)",
17
+ "Bash(git ls-tree:*)"
18
+ ],
19
+ "additionalDirectories": [
20
+ "/home/cfa/Git/HTPolyNet/.github/workflows"
21
+ ]
22
+ }
23
+ }
@@ -0,0 +1,35 @@
1
+ name: Build and push Docker image
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - "v*"
7
+ - "d*"
8
+ schedule:
9
+ # Rebuild weekly (Monday 03:00 UTC) to pick up latest Gromacs/AmberTools
10
+ - cron: '0 3 * * 1'
11
+
12
+ jobs:
13
+ docker:
14
+ runs-on: ubuntu-latest
15
+ permissions:
16
+ contents: read
17
+ packages: write
18
+ steps:
19
+ - uses: actions/checkout@v4
20
+
21
+ - name: Log in to GitHub Container Registry
22
+ uses: docker/login-action@v3
23
+ with:
24
+ registry: ghcr.io
25
+ username: ${{ github.actor }}
26
+ password: ${{ secrets.GITHUB_TOKEN }}
27
+
28
+ - name: Build and push
29
+ uses: docker/build-push-action@v6
30
+ with:
31
+ context: .
32
+ push: true
33
+ tags: |
34
+ ghcr.io/abramsgroup/htpolynet:latest
35
+ ghcr.io/abramsgroup/htpolynet:${{ github.sha }}
@@ -0,0 +1,102 @@
1
+ name: Release & Upload to PyPI
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - "v*"
7
+ workflow_dispatch:
8
+
9
+ jobs:
10
+ release:
11
+ runs-on: ubuntu-latest
12
+ permissions:
13
+ contents: write
14
+
15
+ steps:
16
+ - name: Checkout code
17
+ uses: actions/checkout@v4
18
+ with:
19
+ fetch-depth: 0
20
+
21
+ - name: Set up Python
22
+ uses: actions/setup-python@v5
23
+ with:
24
+ python-version: "3.12"
25
+
26
+ - name: Install package
27
+ run: pip install -e .
28
+
29
+ - name: Install Hatch
30
+ run: python -m pip install --upgrade hatch
31
+
32
+ - name: Verify tag matches pyproject version and CHANGELOG
33
+ if: startsWith(github.ref, 'refs/tags/v')
34
+ run: |
35
+ TAG="${GITHUB_REF_NAME#v}"
36
+ VER="$(grep '^version = ' pyproject.toml | sed 's/version = "\(.*\)"/\1/')"
37
+ echo "Tag version: $TAG"
38
+ echo "Project version: $VER"
39
+ test "$TAG" = "$VER" || { echo "ERROR: tag $TAG != pyproject version $VER"; exit 1; }
40
+ grep -q "^## \[$VER\]" CHANGELOG.md || { echo "ERROR: no CHANGELOG entry for $VER"; exit 1; }
41
+
42
+ - name: Clean previous builds
43
+ run: rm -rf dist/
44
+
45
+ - name: Build the package with Hatch
46
+ run: hatch build
47
+
48
+ - name: Extract release notes from CHANGELOG.md
49
+ run: |
50
+ echo 'RELEASE_BODY<<EOF' >> $GITHUB_ENV
51
+ awk '
52
+ BEGIN {found=0; capture=0}
53
+ /^## \[Unreleased\]/ {next}
54
+ /^## \[/ {
55
+ if (found) exit;
56
+ found = 1;
57
+ capture = 1;
58
+ next
59
+ }
60
+ /^## / {capture=0}
61
+ capture {print}
62
+ ' CHANGELOG.md >> $GITHUB_ENV
63
+ echo 'EOF' >> $GITHUB_ENV
64
+
65
+ - name: Create GitHub Release
66
+ uses: softprops/action-gh-release@v2
67
+ with:
68
+ tag_name: ${{ github.ref_name }}
69
+ name: Release ${{ github.ref_name }}
70
+ body: ${{ env.RELEASE_BODY }}
71
+ files: |
72
+ dist/*.tar.gz
73
+ dist/*.whl
74
+
75
+ - name: Upload dist artifacts
76
+ uses: actions/upload-artifact@v4
77
+ with:
78
+ name: dist
79
+ path: dist/
80
+
81
+ - name: Trigger ReadTheDocs build
82
+ run: |
83
+ curl -X POST \
84
+ -H "Authorization: Token ${{ secrets.RTD_SECRET }}" \
85
+ https://readthedocs.org/api/v3/projects/htpolynet/versions/latest/builds/
86
+ curl -X POST \
87
+ -H "Authorization: Token ${{ secrets.RTD_SECRET }}" \
88
+ https://readthedocs.org/api/v3/projects/htpolynet/versions/${{ github.ref_name }}/builds/
89
+
90
+ publish:
91
+ needs: release
92
+ runs-on: ubuntu-latest
93
+ permissions:
94
+ id-token: write
95
+ steps:
96
+ - name: Download dist artifacts
97
+ uses: actions/download-artifact@v4
98
+ with:
99
+ name: dist
100
+ path: dist/
101
+ - name: Publish to PyPI
102
+ uses: pypa/gh-action-pypi-publish@release/v1
@@ -1,3 +1,9 @@
1
+ # Singularity/Apptainer images and Docker artifacts
2
+ *.sif
3
+ *.simg
4
+ *.img
5
+ docker-*.tar
6
+
1
7
  *.bak
2
8
  __defunct__/
3
9
  # Byte-compiled / optimized / DLL files
@@ -11,6 +17,8 @@ __pycache__/
11
17
  # C extensions
12
18
  *.so
13
19
 
20
+ CLAUDE.md
21
+
14
22
  # Distribution / packaging
15
23
  .Python
16
24
  build/
@@ -0,0 +1,15 @@
1
+ version: 2
2
+
3
+ build:
4
+ os: ubuntu-22.04
5
+ tools:
6
+ python: "3.12"
7
+
8
+ sphinx:
9
+ configuration: docs/source/conf.py
10
+
11
+ python:
12
+ install:
13
+ - requirements: docs/requirements.txt
14
+ - method: pip
15
+ path: .
@@ -0,0 +1,41 @@
1
+ # Changelog
2
+
3
+ All notable changes to htpolynet will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [Unreleased]
9
+
10
+ ## [2.0.0] - 2026-05-07
11
+
12
+ ### Changed
13
+
14
+ - Package renamed from `HTPolyNet` to `htpolynet` (fully lowercase) for PEP 8 compliance and PyPI consistency.
15
+ - Runtime now logs the HTPolyNet git commit hash at startup, with a warning when uncommitted changes are present.
16
+
17
+ ### Added
18
+
19
+ - Apptainer/Singularity container support: distributed as a `.sif` image for reproducible execution on HPC clusters.
20
+ - New `gen-slurm-script` subcommand generates a ready-to-submit SLURM batch script from an htpolynet YAML config file.
21
+
22
+ ### Fixed
23
+
24
+ - Chain-expansion bug: bond-chain `ChainManager` was not rebuilt for monomers on the fetch path, causing `bondchain_expand_reactions` to produce no chain-extended oligomers in runs that reused cached parameterizations.
25
+
26
+ ## [1.0.9] - 2025-01-01
27
+
28
+ ### Added
29
+
30
+ - `minimum_bondcycle_length` parameter to allow for cyclic polymerization above a certain threshold length.
31
+
32
+ ### Fixed
33
+
34
+ - Rings not transferred from monomer templates if they are pre-parameterized.
35
+ - Atom indexes in bondchain structure not remapped after atom deletion.
36
+
37
+ ## [1.0.8] - 2024-01-04
38
+
39
+ ### Changed
40
+
41
+ - Uses `chordless_cycles` to find rings; `ringidx` is no longer a unique atom attribute; improved ring-pierce detection.
@@ -0,0 +1,35 @@
1
+ # HTPolyNet container image
2
+ # Includes Gromacs, AmberTools (antechamber, tleap, parmchk2), and OpenBabel via conda-forge.
3
+ #
4
+ # Usage:
5
+ # docker run --rm -v $(pwd):/work ghcr.io/abramsgroup/htpolynet htpolynet run config.yaml
6
+ #
7
+ # To avoid files being written as root, pass your host uid/gid:
8
+ # docker run --rm -v $(pwd):/work --user $(id -u):$(id -g) ghcr.io/abramsgroup/htpolynet htpolynet run config.yaml
9
+ #
10
+ # GPU support (requires nvidia-container-toolkit):
11
+ # docker run --rm --gpus all -v $(pwd):/work ghcr.io/abramsgroup/htpolynet htpolynet run config.yaml
12
+
13
+ FROM continuumio/miniconda3:latest
14
+
15
+ # Install Gromacs and AmberTools (latest available on conda-forge)
16
+ RUN apt-get update && apt-get install -y --no-install-recommends \
17
+ openbabel \
18
+ && apt-get clean && rm -rf /var/lib/apt/lists/*
19
+
20
+ RUN conda install -y -c conda-forge \
21
+ ambertools \
22
+ gromacs \
23
+ parmed \
24
+ && conda clean -afy
25
+
26
+ # Install HTPolyNet
27
+ COPY . /htpolynet
28
+ WORKDIR /htpolynet
29
+ RUN pip install --no-cache-dir .
30
+
31
+ # User data is mounted here at runtime
32
+ WORKDIR /work
33
+
34
+ ENTRYPOINT ["htpolynet"]
35
+ CMD ["--help"]
@@ -0,0 +1 @@
1
+ recursive-include htpolynet resources
@@ -1,10 +1,10 @@
1
- Metadata-Version: 2.1
2
- Name: HTPolyNet
3
- Version: 1.0.8
1
+ Metadata-Version: 2.4
2
+ Name: htpolynet
3
+ Version: 2.0.0
4
4
  Summary: Automated MD System Builder for Amorphous Network Polymers
5
- Project-URL: Source, https://github.com/AbramsGroup/HTPolyNet
6
- Project-URL: Documentation, https://abramsgroup.github.io/HTPolyNet/
7
- Project-URL: Bug Tracker, https://github.com/AbramsGroup/HTPolyNet/issues
5
+ Project-URL: Source, https://github.com/AbramsGroup/htpolynet
6
+ Project-URL: Documentation, https://htpolynet.readthedocs.io/
7
+ Project-URL: Bug Tracker, https://github.com/AbramsGroup/htpolynet/issues
8
8
  Author-email: Cameron F Abrams <cfa22@drexel.edu>
9
9
  License-File: LICENSE
10
10
  Classifier: Development Status :: 3 - Alpha
@@ -22,12 +22,14 @@ Requires-Dist: parmed>=4
22
22
  Requires-Dist: pyyaml>=6
23
23
  Requires-Dist: requests>=2.28
24
24
  Requires-Dist: scipy>=1.10
25
+ Provides-Extra: dev
26
+ Requires-Dist: pytest; extra == 'dev'
25
27
  Description-Content-Type: text/markdown
26
28
 
27
- # HTPolyNet
29
+ # htpolynet
28
30
  > High-Throughput Polymer Network Atomistic Simulations
29
31
 
30
- HTPolyNet is a Python utility for generating atomistic models of cross-linked polymer networks together with appropriate topology and parameter files required for molecular dynamics simulations using Gromacs. It is intended as a fully automated system builder requiring as inputs only the molecular structures of any monomer species, a description of the polymerization chemistry, and a handful of options describing desired system size and composition. HTPolyNet uses the Generalized Amber Force Field for atom-typing and parameter generation.
32
+ htpolynet is a Python utility for generating atomistic models of cross-linked polymer networks together with appropriate topology and parameter files required for molecular dynamics simulations using Gromacs. It is intended as a fully automated system builder requiring as inputs only the molecular structures of any monomer species, a description of the polymerization chemistry, and a handful of options describing desired system size and composition. htpolynet uses the Generalized Amber Force Field for atom-typing and parameter generation.
31
33
 
32
34
  ## Installation
33
35
 
@@ -36,36 +38,25 @@ From PyPI:
36
38
  pip install htpolynet
37
39
  ```
38
40
 
41
+ From conda-forge:
42
+ ```bash
43
+ conda install -c conda-forge htpolynet
44
+ ```
45
+
39
46
  From source:
40
47
  ```bash
41
- git clone git@github.com:AbramsGroup/HTPolyNet.git
42
- cd HTPolyNet
48
+ git clone git@github.com:AbramsGroup/htpolynet.git
49
+ cd htpolynet
43
50
  pip install -e .
44
51
  ```
45
52
 
46
- Once installed, the user has access to the main `htpolynet` command.
47
-
48
- The programs ``antechamber``, ``parmchk2`` and ``tleap`` from AmberTools must be in your path. These can be installed using the ``ambertools`` package from ``conda-forge`` or compiled from source.
53
+ Once installed, the user has access to the main ``htpolynet`` command.
49
54
 
55
+ IMPORTANT NOTES: The programs ``antechamber``, ``parmchk2`` and ``tleap`` from AmberTools must be in your path. These can be installed using the ``ambertools`` package from ``conda-forge`` or compiled from source. You also need Gromacs installed so ``gmx`` is in your path. The examples show how to build input monomer structures using OpenBabel, so to use them you need ``obabel`` in your path as well.
50
56
 
51
- ## Release History
57
+ ## Documentation
52
58
 
53
- * 1.0.8
54
- * uses `chordless_cycles` to find rings; ringidx no long unique atom attribute; improved ring-pierce detection
55
- * 1.0.7.2
56
- * moved Library package to resources subpackage of HTPolyNet.HTPolyNet
57
- * 1.0.6
58
- * gmx-style analyze subcommand added
59
- * 1.0.5
60
- * Post-build MD simulations and plotting functionalities added
61
- * 1.0.2
62
- * Enhanced molecule-network graph drawing in the plot subcommand
63
- * 1.0.1
64
- * Fixed atom index assignment issue for systems with more than 100,000 atoms
65
- * 1.0.0
66
- * First release
67
- * 0.0.1
68
- * Initial beta version
59
+ Please consult documentation at [abramsgroup.github.io/htpolynet](https://abramsgroup.github.io/htpolynet/).
69
60
 
70
61
  ## Meta
71
62
 
@@ -79,7 +70,7 @@ Distributed under the MIT license. See ``LICENSE`` for more information.
79
70
 
80
71
  ## Contributing
81
72
 
82
- 1. Fork it (<https://github.com/AbramsGroup/HTPolyNet/fork>)
73
+ 1. Fork it (<https://github.com/AbramsGroup/htolynet/fork>)
83
74
  2. Create your feature branch (`git checkout -b feature/fooBar`)
84
75
  3. Commit your changes (`git commit -am 'Add some fooBar'`)
85
76
  4. Push to the branch (`git push origin feature/fooBar`)
@@ -0,0 +1,50 @@
1
+ # htpolynet
2
+ > High-Throughput Polymer Network Atomistic Simulations
3
+
4
+ htpolynet is a Python utility for generating atomistic models of cross-linked polymer networks together with appropriate topology and parameter files required for molecular dynamics simulations using Gromacs. It is intended as a fully automated system builder requiring as inputs only the molecular structures of any monomer species, a description of the polymerization chemistry, and a handful of options describing desired system size and composition. htpolynet uses the Generalized Amber Force Field for atom-typing and parameter generation.
5
+
6
+ ## Installation
7
+
8
+ From PyPI:
9
+ ```bash
10
+ pip install htpolynet
11
+ ```
12
+
13
+ From conda-forge:
14
+ ```bash
15
+ conda install -c conda-forge htpolynet
16
+ ```
17
+
18
+ From source:
19
+ ```bash
20
+ git clone git@github.com:AbramsGroup/htpolynet.git
21
+ cd htpolynet
22
+ pip install -e .
23
+ ```
24
+
25
+ Once installed, the user has access to the main ``htpolynet`` command.
26
+
27
+ IMPORTANT NOTES: The programs ``antechamber``, ``parmchk2`` and ``tleap`` from AmberTools must be in your path. These can be installed using the ``ambertools`` package from ``conda-forge`` or compiled from source. You also need Gromacs installed so ``gmx`` is in your path. The examples show how to build input monomer structures using OpenBabel, so to use them you need ``obabel`` in your path as well.
28
+
29
+ ## Documentation
30
+
31
+ Please consult documentation at [abramsgroup.github.io/htpolynet](https://abramsgroup.github.io/htpolynet/).
32
+
33
+ ## Meta
34
+
35
+ Cameron F. Abrams – cfa22@drexel.edu
36
+
37
+ Distributed under the MIT license. See ``LICENSE`` for more information.
38
+
39
+ [https://github.com/cameronabrams](https://github.com/cameronabrams/)
40
+
41
+ [https://github.com/AbramsGroup](https://github.com/AbramsGroup/)
42
+
43
+ ## Contributing
44
+
45
+ 1. Fork it (<https://github.com/AbramsGroup/htolynet/fork>)
46
+ 2. Create your feature branch (`git checkout -b feature/fooBar`)
47
+ 3. Commit your changes (`git commit -am 'Add some fooBar'`)
48
+ 4. Push to the branch (`git push origin feature/fooBar`)
49
+ 5. Create a new Pull Request
50
+
@@ -0,0 +1,7 @@
1
+ services:
2
+ htpolynet:
3
+ image: ghcr.io/abramsgroup/htpolynet:latest
4
+ volumes:
5
+ - .:/work
6
+ working_dir: /work
7
+ user: "${UID:-0}:${GID:-0}"
@@ -1,6 +1,6 @@
1
- HTPolyNet
1
+ htpolynet
2
2
  =========
3
3
 
4
- HTPolyNet is a tool for building atomically resolved models of amorphous network polymers.
4
+ htpolynet is a tool for building atomically resolved models of amorphous network polymers.
5
5
  It uses the Generalized Amber Force Field and produces output that can be simulated
6
6
  using Gromacs.
@@ -0,0 +1,35 @@
1
+ @ECHO OFF
2
+
3
+ pushd %~dp0
4
+
5
+ REM Command file for Sphinx documentation
6
+
7
+ if "%SPHINXBUILD%" == "" (
8
+ set SPHINXBUILD=sphinx-build
9
+ )
10
+ set SOURCEDIR=source
11
+ set BUILDDIR=build
12
+
13
+ %SPHINXBUILD% >NUL 2>NUL
14
+ if errorlevel 9009 (
15
+ echo.
16
+ echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
17
+ echo.installed, then set the SPHINXBUILD environment variable to point
18
+ echo.the full path of the 'sphinx-build' executable. Alternatively you
19
+ echo.may add the Sphinx directory to PATH.
20
+ echo.
21
+ echo.If you don't have Sphinx installed, grab it from
22
+ echo.https://www.sphinx-doc.org/
23
+ exit /b 1
24
+ )
25
+
26
+ if "%1" == "" goto help
27
+
28
+ %SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
29
+ goto end
30
+
31
+ :help
32
+ %SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
33
+
34
+ :end
35
+ popd
@@ -0,0 +1,7 @@
1
+ sphinx
2
+ myst-parser
3
+ furo
4
+ sphinxcontrib-bibtex
5
+ sphinx-copybutton
6
+ matplotlib
7
+ pytrr
@@ -0,0 +1,7 @@
1
+ .. _changelog:
2
+
3
+ Changelog
4
+ =========
5
+
6
+ .. include:: ../../CHANGELOG.md
7
+ :parser: myst_parser.sphinx_
@@ -12,19 +12,18 @@
12
12
  #
13
13
  import os
14
14
  import sys
15
+ from importlib.metadata import version as _pkg_version
15
16
  sys.path.insert(0, os.path.abspath('../../'))
16
- # dnw:
17
- #from HTPolyNet.__init__.py import HTPOLYNET_VERSION
18
- THIS_HTPOLYNET_VERSION='1.0.7.2'
17
+
19
18
  # -- Project information -----------------------------------------------------
20
19
 
21
- project = 'HTPolyNet'
22
- copyright = '2023, Cameron Abrams, Ming Huang'
20
+ project = 'htpolynet'
21
+ copyright = '2024, Cameron Abrams, Ming Huang'
23
22
  author = 'Cameron Abrams, Ming Huang'
24
23
 
25
24
  # The full version, including alpha/beta/rc tags
26
- release = THIS_HTPOLYNET_VERSION
27
- version = THIS_HTPOLYNET_VERSION
25
+ release = _pkg_version('htpolynet')
26
+ version = release
28
27
 
29
28
 
30
29
  # -- General configuration ---------------------------------------------------
@@ -33,8 +32,8 @@ version = THIS_HTPOLYNET_VERSION
33
32
  # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
34
33
  # ones.
35
34
 
36
- extensions = ['sphinx.ext.autodoc', 'sphinx.ext.coverage', 'sphinx.ext.napoleon', 'sphinx.ext.githubpages',
37
- 'sphinxcontrib.bibtex',]
35
+ extensions = ['sphinx.ext.autodoc', 'sphinx.ext.coverage', 'sphinx.ext.napoleon',
36
+ 'sphinxcontrib.bibtex', 'sphinx_copybutton', 'myst_parser',]
38
37
  # extensions.append('sphinx.ext.todo')
39
38
  # extensions.append('sphinx.ext.intersphinx')
40
39
  # extensions.append('sphinx.ext.mathjax')
@@ -57,7 +56,7 @@ language = 'en'
57
56
  # The theme to use for HTML and HTML Help pages. See the documentation for
58
57
  # a list of builtin themes.
59
58
  #
60
- html_theme = 'alabaster'
59
+ html_theme = 'furo'
61
60
 
62
61
  # Add any paths that contain custom static files (such as style sheets) here,
63
62
  # relative to this directory. They are copied after the builtin static files,
@@ -66,13 +65,4 @@ html_static_path = ['_static']
66
65
 
67
66
  numfig = True
68
67
  autosummary_generate = True
69
- todo_include_todos = True
70
-
71
- html_sidebars = {
72
- '**': [
73
- 'about.html',
74
- 'navigation.html',
75
- 'relations.html',
76
- 'searchbox.html',
77
- ]
78
- }
68
+ todo_include_todos = True