HTPolyNet 2.0.0__tar.gz → 2.1.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 (309) hide show
  1. htpolynet-2.1.0/.envrc +4 -0
  2. {htpolynet-2.0.0 → htpolynet-2.1.0}/.github/workflows/docker.yml +1 -0
  3. htpolynet-2.1.0/CHANGELOG.md +126 -0
  4. {htpolynet-2.0.0 → htpolynet-2.1.0}/PKG-INFO +21 -1
  5. {htpolynet-2.0.0 → htpolynet-2.1.0}/README.md +16 -0
  6. htpolynet-2.1.0/docker/Dockerfile +60 -0
  7. htpolynet-2.1.0/docker/compose.yml +13 -0
  8. htpolynet-2.1.0/docker/docker-entrypoint.sh +36 -0
  9. {htpolynet-2.0.0 → htpolynet-2.1.0}/docs/requirements.txt +1 -0
  10. {htpolynet-2.0.0 → htpolynet-2.1.0}/docs/source/conf.py +2 -2
  11. htpolynet-2.1.0/docs/source/example-tutorials/0-liquid-styrene/configuration.rst +60 -0
  12. htpolynet-2.1.0/docs/source/example-tutorials/0-liquid-styrene/index.rst +21 -0
  13. htpolynet-2.1.0/docs/source/example-tutorials/0-liquid-styrene/introduction.rst +31 -0
  14. htpolynet-2.1.0/docs/source/example-tutorials/0-liquid-styrene/monomer.rst +46 -0
  15. htpolynet-2.1.0/docs/source/example-tutorials/0-liquid-styrene/postsim.rst +57 -0
  16. htpolynet-2.1.0/docs/source/example-tutorials/0-liquid-styrene/results.rst +44 -0
  17. htpolynet-2.1.0/docs/source/example-tutorials/0-liquid-styrene/run.rst +46 -0
  18. htpolynet-2.1.0/docs/source/example-tutorials/1-polystyrene/configuration.rst +67 -0
  19. htpolynet-2.1.0/docs/source/example-tutorials/1-polystyrene/index.rst +24 -0
  20. htpolynet-2.1.0/docs/source/example-tutorials/1-polystyrene/introduction.rst +34 -0
  21. htpolynet-2.1.0/docs/source/example-tutorials/1-polystyrene/monomer.rst +87 -0
  22. htpolynet-2.1.0/docs/source/example-tutorials/1-polystyrene/pics/final-box.png +0 -0
  23. htpolynet-2.1.0/docs/source/example-tutorials/1-polystyrene/postsim.rst +102 -0
  24. htpolynet-2.1.0/docs/source/example-tutorials/1-polystyrene/reactions.rst +90 -0
  25. htpolynet-2.1.0/docs/source/example-tutorials/1-polystyrene/results.rst +64 -0
  26. htpolynet-2.1.0/docs/source/example-tutorials/1-polystyrene/run.rst +92 -0
  27. htpolynet-2.1.0/docs/source/example-tutorials/2-bisgma-styrene-thermoset/configuration.rst +95 -0
  28. htpolynet-2.1.0/docs/source/example-tutorials/2-bisgma-styrene-thermoset/index.rst +24 -0
  29. htpolynet-2.1.0/docs/source/example-tutorials/2-bisgma-styrene-thermoset/introduction.rst +32 -0
  30. htpolynet-2.1.0/docs/source/example-tutorials/2-bisgma-styrene-thermoset/postsim.rst +127 -0
  31. htpolynet-2.1.0/docs/source/example-tutorials/2-bisgma-styrene-thermoset/reactions.rst +163 -0
  32. htpolynet-2.1.0/docs/source/example-tutorials/2-bisgma-styrene-thermoset/results.rst +96 -0
  33. htpolynet-2.1.0/docs/source/example-tutorials/2-bisgma-styrene-thermoset/run.rst +151 -0
  34. htpolynet-2.1.0/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/configuration.rst +93 -0
  35. htpolynet-2.1.0/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/index.rst +34 -0
  36. htpolynet-2.1.0/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/introduction.rst +36 -0
  37. htpolynet-2.1.0/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/monomers.rst +89 -0
  38. htpolynet-2.0.0/docs/source/example-tutorials/postsim_analyses/index.rst → htpolynet-2.1.0/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/postsim.rst +8 -5
  39. htpolynet-2.1.0/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/reactions.rst +122 -0
  40. htpolynet-2.1.0/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/results.rst +80 -0
  41. htpolynet-2.1.0/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/run.rst +139 -0
  42. htpolynet-2.1.0/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/configuration.rst +72 -0
  43. htpolynet-2.1.0/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/index.rst +37 -0
  44. htpolynet-2.1.0/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/introduction.rst +37 -0
  45. htpolynet-2.1.0/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/monomers.rst +86 -0
  46. htpolynet-2.1.0/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/postsim.rst +127 -0
  47. htpolynet-2.1.0/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/reactions.rst +97 -0
  48. htpolynet-2.1.0/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/results.rst +58 -0
  49. htpolynet-2.1.0/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/run.rst +54 -0
  50. htpolynet-2.1.0/docs/source/example-tutorials/index.rst +22 -0
  51. {htpolynet-2.0.0 → htpolynet-2.1.0}/docs/source/install.rst +8 -2
  52. {htpolynet-2.0.0 → htpolynet-2.1.0}/docs/source/user-guide/configs/configs-for-run.rst +17 -8
  53. htpolynet-2.1.0/docs/source/user-guide/container-usage.rst +215 -0
  54. htpolynet-2.1.0/docs/source/user-guide/molecular-structure-inputs.rst +76 -0
  55. {htpolynet-2.0.0 → htpolynet-2.1.0}/docs/source/user-guide/program-flow.rst +57 -9
  56. htpolynet-2.1.0/docs/source/user-guide/usage.rst +473 -0
  57. {htpolynet-2.0.0 → htpolynet-2.1.0}/pyproject.toml +5 -2
  58. htpolynet-2.1.0/scripts/run_all_examples.sh +147 -0
  59. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/cli.py +29 -219
  60. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/core/bondtemplate.py +67 -0
  61. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/core/configuration.py +2 -0
  62. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/core/molecule.py +27 -10
  63. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/core/projectfilesystem.py +22 -7
  64. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/core/runtime.py +231 -34
  65. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/core/topocoord.py +60 -73
  66. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/core/topology.py +74 -3
  67. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/cure/chain.py +18 -6
  68. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/cure/curecontroller.py +16 -14
  69. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/cure/expandreactions.py +1 -1
  70. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/cure/reaction.py +1 -0
  71. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/external/ambertools.py +6 -1
  72. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/external/command.py +5 -0
  73. htpolynet-2.1.0/src/htpolynet/external/smiles_input.py +259 -0
  74. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/external/software.py +37 -4
  75. htpolynet-2.1.0/src/htpolynet/profiling.py +218 -0
  76. htpolynet-2.1.0/src/htpolynet/repair/__init__.py +39 -0
  77. htpolynet-2.1.0/src/htpolynet/repair/cyanate_cap.py +409 -0
  78. htpolynet-2.1.0/src/htpolynet/repair/topology_surgery.py +256 -0
  79. htpolynet-2.1.0/src/htpolynet/resources/example_depot/0-liquid-styrene.yaml +81 -0
  80. htpolynet-2.0.0/src/htpolynet/resources/example_depot/1-polystyrene.sh → htpolynet-2.1.0/src/htpolynet/resources/example_depot/1-polystyrene.yaml +14 -49
  81. htpolynet-2.0.0/src/htpolynet/resources/example_depot/2-bisgma-styrene-thermoset.sh → htpolynet-2.1.0/src/htpolynet/resources/example_depot/2-bisgma-styrene-thermoset.yaml +23 -76
  82. htpolynet-2.0.0/src/htpolynet/resources/example_depot/3-pacm-dgeba-epoxy-thermoset.sh → htpolynet-2.1.0/src/htpolynet/resources/example_depot/3-pacm-dgeba-epoxy-thermoset.yaml +17 -67
  83. htpolynet-2.1.0/src/htpolynet/resources/example_depot/4-dfda-fde-epoxy-thermoset.yaml +191 -0
  84. htpolynet-2.1.0/src/htpolynet/resources/example_depot/5-htpb-ipdi.yaml +363 -0
  85. htpolynet-2.1.0/src/htpolynet/resources/example_depot/6-cyanate-ester.yaml +238 -0
  86. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/utils/inputcheck.py +2 -0
  87. htpolynet-2.1.0/src/htpolynet/utils/vmd_viz.py +288 -0
  88. htpolynet-2.0.0/CHANGELOG.md +0 -41
  89. htpolynet-2.0.0/Dockerfile +0 -35
  90. htpolynet-2.0.0/compose.yml +0 -7
  91. htpolynet-2.0.0/docs/source/example-tutorials/index.rst +0 -13
  92. htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/1-polystyrene/configuration.rst +0 -164
  93. htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/1-polystyrene/index.rst +0 -18
  94. htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/1-polystyrene/introduction.rst +0 -38
  95. htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/1-polystyrene/monomer.rst +0 -90
  96. htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/1-polystyrene/reactions.rst +0 -70
  97. htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/1-polystyrene/results.rst +0 -32
  98. htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/1-polystyrene/run.rst +0 -48
  99. htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/2-DGEBA-PACM/configuration.rst +0 -51
  100. htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/2-DGEBA-PACM/index.rst +0 -16
  101. htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/2-DGEBA-PACM/introduction.rst +0 -69
  102. htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/2-DGEBA-PACM/monomers.rst +0 -295
  103. htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/2-DGEBA-PACM/reactions.rst +0 -104
  104. htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/2-DGEBA-PACM/results.rst +0 -46
  105. htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/2-DGEBA-PACM/run.rst +0 -267
  106. htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/3-VE-STY/configuration.rst +0 -39
  107. htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/3-VE-STY/index.rst +0 -15
  108. htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/3-VE-STY/introduction.rst +0 -68
  109. htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/3-VE-STY/reactions.rst +0 -275
  110. htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/3-VE-STY/results.rst +0 -46
  111. htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/3-VE-STY/run.rst +0 -374
  112. htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/index.rst +0 -18
  113. htpolynet-2.0.0/docs/source/user-guide/container-usage.rst +0 -122
  114. htpolynet-2.0.0/docs/source/user-guide/molecular-structure-inputs.rst +0 -35
  115. htpolynet-2.0.0/docs/source/user-guide/pics/CURE.png +0 -0
  116. htpolynet-2.0.0/docs/source/user-guide/pics/flow1.png +0 -0
  117. htpolynet-2.0.0/docs/source/user-guide/usage.rst +0 -271
  118. htpolynet-2.0.0/src/htpolynet/resources/cfg/DGE-PAC-hi.yaml +0 -115
  119. htpolynet-2.0.0/src/htpolynet/resources/cfg/DGE-PAC-lo.yaml +0 -115
  120. htpolynet-2.0.0/src/htpolynet/resources/cfg/FDE-DFDA-hi.yaml +0 -116
  121. htpolynet-2.0.0/src/htpolynet/resources/cfg/FDE-DFDA-lo.yaml +0 -116
  122. htpolynet-2.0.0/src/htpolynet/resources/cfg/GMASTY-hi.yaml +0 -158
  123. htpolynet-2.0.0/src/htpolynet/resources/cfg/GMASTY-lo.yaml +0 -158
  124. htpolynet-2.0.0/src/htpolynet/resources/cfg/README.md +0 -1
  125. htpolynet-2.0.0/src/htpolynet/resources/cfg/STY.yaml +0 -23
  126. htpolynet-2.0.0/src/htpolynet/resources/cfg/pMSTY-hi.yaml +0 -101
  127. htpolynet-2.0.0/src/htpolynet/resources/cfg/pMSTY-lo.yaml +0 -101
  128. htpolynet-2.0.0/src/htpolynet/resources/cfg/pSTY-hi.yaml +0 -101
  129. htpolynet-2.0.0/src/htpolynet/resources/cfg/pSTY-lo.yaml +0 -101
  130. htpolynet-2.0.0/src/htpolynet/resources/example_depot/0-liquid-styrene.sh +0 -134
  131. htpolynet-2.0.0/src/htpolynet/resources/example_depot/0-liquid-styrene.tgz +0 -0
  132. htpolynet-2.0.0/src/htpolynet/resources/example_depot/1-polystyrene.tgz +0 -0
  133. htpolynet-2.0.0/src/htpolynet/resources/example_depot/2-bisgma-styrene-thermoset.tgz +0 -0
  134. htpolynet-2.0.0/src/htpolynet/resources/example_depot/3-pacm-dgeba-epoxy-thermoset.tgz +0 -0
  135. htpolynet-2.0.0/src/htpolynet/resources/example_depot/4-dfda-fde-epoxy-thermoset.sh +0 -216
  136. htpolynet-2.0.0/src/htpolynet/resources/example_depot/4-dfda-fde-epoxy-thermoset.tgz +0 -0
  137. htpolynet-2.0.0/src/htpolynet/resources/molecules/sample-inputs/DGE.mol2 +0 -115
  138. htpolynet-2.0.0/src/htpolynet/resources/molecules/sample-inputs/PAC.mol2 +0 -91
  139. htpolynet-2.0.0/src/htpolynet/resources/molecules/sample-inputs/STY.mol2 +0 -44
  140. {htpolynet-2.0.0 → htpolynet-2.1.0}/.claude/settings.json +0 -0
  141. {htpolynet-2.0.0 → htpolynet-2.1.0}/.github/workflows/release.yaml +0 -0
  142. {htpolynet-2.0.0 → htpolynet-2.1.0}/.gitignore +0 -0
  143. {htpolynet-2.0.0 → htpolynet-2.1.0}/.readthedocs.yaml +0 -0
  144. {htpolynet-2.0.0 → htpolynet-2.1.0}/LICENSE +0 -0
  145. {htpolynet-2.0.0 → htpolynet-2.1.0}/MANIFEST.in +0 -0
  146. {htpolynet-2.0.0 → htpolynet-2.1.0}/docs/Makefile +0 -0
  147. {htpolynet-2.0.0 → htpolynet-2.1.0}/docs/README.rst +0 -0
  148. {htpolynet-2.0.0 → htpolynet-2.1.0}/docs/make.bat +0 -0
  149. {htpolynet-2.0.0 → htpolynet-2.1.0}/docs/source/changelog.rst +0 -0
  150. {htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds → htpolynet-2.1.0/docs/source/example-tutorials}/1-polystyrene/pics/STY.png +0 -0
  151. {htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds → htpolynet-2.1.0/docs/source/example-tutorials}/1-polystyrene/pics/STYCC.png +0 -0
  152. {htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds → htpolynet-2.1.0/docs/source/example-tutorials}/1-polystyrene/pics/styrene-polymerization.png +0 -0
  153. {htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/3-VE-STY → htpolynet-2.1.0/docs/source/example-tutorials/2-bisgma-styrene-thermoset}/pics/BPA.png +0 -0
  154. {htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/3-VE-STY → htpolynet-2.1.0/docs/source/example-tutorials/2-bisgma-styrene-thermoset}/pics/GMA.png +0 -0
  155. {htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/3-VE-STY → htpolynet-2.1.0/docs/source/example-tutorials/2-bisgma-styrene-thermoset}/pics/HIE.png +0 -0
  156. {htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/3-VE-STY → htpolynet-2.1.0/docs/source/example-tutorials/2-bisgma-styrene-thermoset}/pics/buildtraces.png +0 -0
  157. {htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/3-VE-STY → htpolynet-2.1.0/docs/source/example-tutorials/2-bisgma-styrene-thermoset}/pics/cure_info.png +0 -0
  158. {htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/3-VE-STY → htpolynet-2.1.0/docs/source/example-tutorials/2-bisgma-styrene-thermoset}/pics/densification-density.png +0 -0
  159. {htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/3-VE-STY → htpolynet-2.1.0/docs/source/example-tutorials/2-bisgma-styrene-thermoset}/pics/four_dimers.eps +0 -0
  160. {htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/3-VE-STY → htpolynet-2.1.0/docs/source/example-tutorials/2-bisgma-styrene-thermoset}/pics/four_dimers.fig +0 -0
  161. {htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/3-VE-STY → htpolynet-2.1.0/docs/source/example-tutorials/2-bisgma-styrene-thermoset}/pics/four_dimers.png +0 -0
  162. {htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/3-VE-STY → htpolynet-2.1.0/docs/source/example-tutorials/2-bisgma-styrene-thermoset}/pics/gma-sty-cured.png +0 -0
  163. {htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/3-VE-STY → htpolynet-2.1.0/docs/source/example-tutorials/2-bisgma-styrene-thermoset}/pics/gma-sty-liq.png +0 -0
  164. {htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/3-VE-STY → htpolynet-2.1.0/docs/source/example-tutorials/2-bisgma-styrene-thermoset}/pics/p1-traces.png +0 -0
  165. {htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/3-VE-STY → htpolynet-2.1.0/docs/source/example-tutorials/2-bisgma-styrene-thermoset}/pics/vesys.eps +0 -0
  166. {htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/3-VE-STY → htpolynet-2.1.0/docs/source/example-tutorials/2-bisgma-styrene-thermoset}/pics/vesys.fig +0 -0
  167. {htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/3-VE-STY → htpolynet-2.1.0/docs/source/example-tutorials/2-bisgma-styrene-thermoset}/pics/vesys.png +0 -0
  168. {htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/2-DGEBA-PACM → htpolynet-2.1.0/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset}/pics/DGE-epoxy.png +0 -0
  169. {htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/2-DGEBA-PACM → htpolynet-2.1.0/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset}/pics/DGE-labelled.png +0 -0
  170. {htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/2-DGEBA-PACM → htpolynet-2.1.0/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset}/pics/PAC-2d.png +0 -0
  171. {htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/2-DGEBA-PACM → htpolynet-2.1.0/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset}/pics/PAC-labelled.png +0 -0
  172. {htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/2-DGEBA-PACM → htpolynet-2.1.0/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset}/pics/buildtraces.png +0 -0
  173. {htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/2-DGEBA-PACM → htpolynet-2.1.0/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset}/pics/cure_info.png +0 -0
  174. {htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/2-DGEBA-PACM → htpolynet-2.1.0/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset}/pics/densification-density.png +0 -0
  175. {htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/2-DGEBA-PACM → htpolynet-2.1.0/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset}/pics/dge-pac-cured.png +0 -0
  176. {htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/2-DGEBA-PACM → htpolynet-2.1.0/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset}/pics/dge-pac-liq.png +0 -0
  177. {htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/2-DGEBA-PACM → htpolynet-2.1.0/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset}/pics/dgesys.eps +0 -0
  178. {htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/2-DGEBA-PACM → htpolynet-2.1.0/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset}/pics/dgesys.fig +0 -0
  179. {htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/2-DGEBA-PACM → htpolynet-2.1.0/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset}/pics/dgesys.png +0 -0
  180. {htpolynet-2.0.0/docs/source/example-tutorials/postsim_analyses → htpolynet-2.1.0/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset}/pics/equil-rho_v_ns.png +0 -0
  181. {htpolynet-2.0.0/docs/source/example-tutorials/postsim_analyses → htpolynet-2.1.0/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset}/pics/postsim-typical.png +0 -0
  182. {htpolynet-2.0.0/docs/source/example-tutorials/postsim_analyses → htpolynet-2.1.0/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset}/pics/prod-e.png +0 -0
  183. {htpolynet-2.0.0/docs/source/example-tutorials/postsim_analyses → htpolynet-2.1.0/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset}/pics/prod-equil-rho_v_ns.png +0 -0
  184. {htpolynet-2.0.0/docs/source/example-tutorials/postsim_analyses → htpolynet-2.1.0/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset}/pics/prod-rho_v_ns.png +0 -0
  185. {htpolynet-2.0.0/docs/source/example-tutorials/postsim_analyses → htpolynet-2.1.0/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset}/pics/prod-tg.png +0 -0
  186. {htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/2-DGEBA-PACM → htpolynet-2.1.0/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset}/pics/r1.png +0 -0
  187. {htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/2-DGEBA-PACM → htpolynet-2.1.0/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset}/pics/r2.png +0 -0
  188. {htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/2-DGEBA-PACM → htpolynet-2.1.0/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset}/pics/r3.png +0 -0
  189. {htpolynet-2.0.0/docs/source/example-tutorials/postsim_analyses → htpolynet-2.1.0/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset}/pics/rho_v_ns.png +0 -0
  190. {htpolynet-2.0.0/docs/source/example-tutorials/postsim_analyses → htpolynet-2.1.0/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset}/pics/short-e.png +0 -0
  191. {htpolynet-2.0.0/docs/source/example-tutorials/postsim_analyses → htpolynet-2.1.0/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset}/pics/short-tg.png +0 -0
  192. {htpolynet-2.0.0 → htpolynet-2.1.0}/docs/source/htpolynetpackage.rst +0 -0
  193. {htpolynet-2.0.0 → htpolynet-2.1.0}/docs/source/index.rst +0 -0
  194. {htpolynet-2.0.0 → htpolynet-2.1.0}/docs/source/references/index.rst +0 -0
  195. {htpolynet-2.0.0 → htpolynet-2.1.0}/docs/source/references/mol2-reference.pdf +0 -0
  196. {htpolynet-2.0.0 → htpolynet-2.1.0}/docs/source/references.bib +0 -0
  197. {htpolynet-2.0.0 → htpolynet-2.1.0}/docs/source/release-history.rst +0 -0
  198. {htpolynet-2.0.0 → htpolynet-2.1.0}/docs/source/user-guide/CURE.odg +0 -0
  199. {htpolynet-2.0.0 → htpolynet-2.1.0}/docs/source/user-guide/bond_filter.odg +0 -0
  200. {htpolynet-2.0.0 → htpolynet-2.1.0}/docs/source/user-guide/configs/configs-for-analyze.rst +0 -0
  201. {htpolynet-2.0.0 → htpolynet-2.1.0}/docs/source/user-guide/configs/configs-for-postsim.rst +0 -0
  202. {htpolynet-2.0.0 → htpolynet-2.1.0}/docs/source/user-guide/configuration-files.rst +0 -0
  203. {htpolynet-2.0.0 → htpolynet-2.1.0}/docs/source/user-guide/flow1.odg +0 -0
  204. {htpolynet-2.0.0 → htpolynet-2.1.0}/docs/source/user-guide/flow1yaml.odg +0 -0
  205. {htpolynet-2.0.0 → htpolynet-2.1.0}/docs/source/user-guide/hydrogenated.eps +0 -0
  206. {htpolynet-2.0.0 → htpolynet-2.1.0}/docs/source/user-guide/hydrogenated.fig +0 -0
  207. {htpolynet-2.0.0 → htpolynet-2.1.0}/docs/source/user-guide/index.rst +0 -0
  208. {htpolynet-2.0.0 → htpolynet-2.1.0}/docs/source/user-guide/pics/STY.png +0 -0
  209. {htpolynet-2.0.0 → htpolynet-2.1.0}/docs/source/user-guide/pics/STYCC.png +0 -0
  210. {htpolynet-2.0.0 → htpolynet-2.1.0}/docs/source/user-guide/pics/TypicalUsageFlow.png +0 -0
  211. {htpolynet-2.0.0 → htpolynet-2.1.0}/docs/source/user-guide/pics/bond_filter.png +0 -0
  212. {htpolynet-2.0.0 → htpolynet-2.1.0}/docs/source/user-guide/pics/chemdoodle-2dsketcher-emb.png +0 -0
  213. {htpolynet-2.0.0 → htpolynet-2.1.0}/docs/source/user-guide/pics/chemdoodle-2dsketcher-styrene.png +0 -0
  214. {htpolynet-2.0.0 → htpolynet-2.1.0}/docs/source/user-guide/pics/hydrogenated.png +0 -0
  215. {htpolynet-2.0.0 → htpolynet-2.1.0}/docs/source/user-guide/pics/ring_pierce/ring_pierce_cases.png +0 -0
  216. {htpolynet-2.0.0 → htpolynet-2.1.0}/docs/source/user-guide/pics/ring_pierce/ring_pierce_linkcell.png +0 -0
  217. {htpolynet-2.0.0 → htpolynet-2.1.0}/scripts/release.sh +0 -0
  218. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/__init__.py +0 -0
  219. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/analysis/__init__.py +0 -0
  220. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/analysis/analyze.py +0 -0
  221. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/analysis/plot.py +0 -0
  222. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/analysis/postsim.py +0 -0
  223. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/analysis/utils.py +0 -0
  224. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/core/__init__.py +0 -0
  225. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/core/coordinates.py +0 -0
  226. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/cure/__init__.py +0 -0
  227. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/external/__init__.py +0 -0
  228. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/external/gromacs.py +0 -0
  229. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/external/slurm.py +0 -0
  230. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/geometry/__init__.py +0 -0
  231. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/geometry/bondlist.py +0 -0
  232. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/geometry/lattice.py +0 -0
  233. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/geometry/linkcell.py +0 -0
  234. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/geometry/matrix4.py +0 -0
  235. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/geometry/ring.py +0 -0
  236. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/io/__init__.py +0 -0
  237. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/io/gro.py +0 -0
  238. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/io/mol2.py +0 -0
  239. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/io/pdb.py +0 -0
  240. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/resources/README.md +0 -0
  241. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/resources/__init__.py +0 -0
  242. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/resources/mdp/README.md +0 -0
  243. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/resources/mdp/drag-min.mdp +0 -0
  244. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/resources/mdp/drag-npt.mdp +0 -0
  245. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/resources/mdp/drag-nvt.mdp +0 -0
  246. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/resources/mdp/min.mdp +0 -0
  247. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/resources/mdp/npt.mdp +0 -0
  248. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/resources/mdp/nvt.mdp +0 -0
  249. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/resources/mdp/relax-min.mdp +0 -0
  250. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/resources/mdp/relax-npt.mdp +0 -0
  251. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/resources/mdp/relax-nvt.mdp +0 -0
  252. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/resources/mdp/single-molecule-min.mdp +0 -0
  253. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/resources/mdp/single-molecule-nvt.mdp +0 -0
  254. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/resources/molecules/inputs/DFA.pdb +0 -0
  255. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/resources/molecules/inputs/DGE.mol2 +0 -0
  256. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/resources/molecules/inputs/EMB.mol2 +0 -0
  257. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/resources/molecules/inputs/FDE.pdb +0 -0
  258. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/resources/molecules/inputs/GMA.mol2 +0 -0
  259. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/resources/molecules/inputs/PAC.mol2 +0 -0
  260. {htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/1-polystyrene/files → htpolynet-2.1.0/src/htpolynet/resources/molecules/inputs}/STY.mol2 +0 -0
  261. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/resources/molecules/make-monomers.sh +0 -0
  262. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/resources/molecules/pics/DFA.png +0 -0
  263. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/resources/molecules/pics/DGE.png +0 -0
  264. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/resources/molecules/pics/EMB.png +0 -0
  265. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/resources/molecules/pics/FDE.png +0 -0
  266. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/resources/molecules/pics/GMA.png +0 -0
  267. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/resources/molecules/pics/PAC.png +0 -0
  268. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/resources/molecules/pics/STY.png +0 -0
  269. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/resources/molecules/sample-inputs/DFA.pdb +0 -0
  270. {htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/2-DGEBA-PACM/files → htpolynet-2.1.0/src/htpolynet/resources/molecules/sample-inputs}/DGE.mol2 +0 -0
  271. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/resources/molecules/sample-inputs/EMB.mol2 +0 -0
  272. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/resources/molecules/sample-inputs/FDE.pdb +0 -0
  273. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/resources/molecules/sample-inputs/GMA.mol2 +0 -0
  274. {htpolynet-2.0.0/docs/source/example-tutorials/shortbuilds/2-DGEBA-PACM/files → htpolynet-2.1.0/src/htpolynet/resources/molecules/sample-inputs}/PAC.mol2 +0 -0
  275. {htpolynet-2.0.0/src/htpolynet/resources/molecules/inputs → htpolynet-2.1.0/src/htpolynet/resources/molecules/sample-inputs}/STY.mol2 +0 -0
  276. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/resources/tcl/readbonds.tcl +0 -0
  277. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/resources/tcl/readgrx.tcl +0 -0
  278. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/resources/tcl/render.tcl +0 -0
  279. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/utils/__init__.py +0 -0
  280. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/utils/banner.py +0 -0
  281. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/utils/checkpoint.py +0 -0
  282. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/utils/dataframetools.py +0 -0
  283. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/utils/logsetup.py +0 -0
  284. {htpolynet-2.0.0 → htpolynet-2.1.0}/src/htpolynet/utils/stringthings.py +0 -0
  285. {htpolynet-2.0.0 → htpolynet-2.1.0}/tests/__init__.py +0 -0
  286. {htpolynet-2.0.0 → htpolynet-2.1.0}/tests/conftest.py +0 -0
  287. {htpolynet-2.0.0 → htpolynet-2.1.0}/tests/unit/__init__.py +0 -0
  288. {htpolynet-2.0.0 → htpolynet-2.1.0}/tests/unit/fixtures/config1.gro +0 -0
  289. {htpolynet-2.0.0 → htpolynet-2.1.0}/tests/unit/fixtures/config1.top +0 -0
  290. {htpolynet-2.0.0 → htpolynet-2.1.0}/tests/unit/fixtures/config2.gro +0 -0
  291. {htpolynet-2.0.0 → htpolynet-2.1.0}/tests/unit/fixtures/config2.top +0 -0
  292. {htpolynet-2.0.0 → htpolynet-2.1.0}/tests/unit/fixtures/items31.edr +0 -0
  293. {htpolynet-2.0.0 → htpolynet-2.1.0}/tests/unit/fixtures/items43.edr +0 -0
  294. {htpolynet-2.0.0 → htpolynet-2.1.0}/tests/unit/fixtures/items45.edr +0 -0
  295. {htpolynet-2.0.0 → htpolynet-2.1.0}/tests/unit/fixtures/short.mdp +0 -0
  296. {htpolynet-2.0.0 → htpolynet-2.1.0}/tests/unit/test_bondtemplate.py +0 -0
  297. {htpolynet-2.0.0 → htpolynet-2.1.0}/tests/unit/test_chain.py +0 -0
  298. {htpolynet-2.0.0 → htpolynet-2.1.0}/tests/unit/test_configuration.py +0 -0
  299. {htpolynet-2.0.0 → htpolynet-2.1.0}/tests/unit/test_dataframetools.py +0 -0
  300. {htpolynet-2.0.0 → htpolynet-2.1.0}/tests/unit/test_gromacs_get_energy_menu.py +0 -0
  301. {htpolynet-2.0.0 → htpolynet-2.1.0}/tests/unit/test_gromacs_gmx_energy_trace.py +0 -0
  302. {htpolynet-2.0.0 → htpolynet-2.1.0}/tests/unit/test_linkcell_pierce.py +0 -0
  303. {htpolynet-2.0.0 → htpolynet-2.1.0}/tests/unit/test_parameterize_react.py +0 -0
  304. {htpolynet-2.0.0 → htpolynet-2.1.0}/tests/unit/test_projectfilesystem.py +0 -0
  305. {htpolynet-2.0.0 → htpolynet-2.1.0}/tests/unit/test_resources.py +0 -0
  306. {htpolynet-2.0.0 → htpolynet-2.1.0}/tests/unit/test_ring.py +0 -0
  307. {htpolynet-2.0.0 → htpolynet-2.1.0}/tests/unit/test_ring_pierce_figs.py +0 -0
  308. {htpolynet-2.0.0 → htpolynet-2.1.0}/tests/unit/test_topology/test.top +0 -0
  309. {htpolynet-2.0.0 → htpolynet-2.1.0}/tests/unit/test_topology.py +0 -0
htpolynet-2.1.0/.envrc ADDED
@@ -0,0 +1,4 @@
1
+ # direnv: auto-activate this repo's uv-managed virtualenv on `cd` in.
2
+ # Created with `uv venv .venv`. Run `direnv allow` once to trust this file.
3
+ export VIRTUAL_ENV="$PWD/.venv"
4
+ PATH_add "$VIRTUAL_ENV/bin"
@@ -29,6 +29,7 @@ jobs:
29
29
  uses: docker/build-push-action@v6
30
30
  with:
31
31
  context: .
32
+ file: docker/Dockerfile
32
33
  push: true
33
34
  tags: |
34
35
  ghcr.io/abramsgroup/htpolynet:latest
@@ -0,0 +1,126 @@
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.1.0] - 2026-06-01
11
+
12
+ ### Added
13
+
14
+ - New `htpolynet.repair` package implementing a postcure topology-repair stage that sits between cure and postcure. Drivers can do bond-breaking, atom deletion, atom transfer between residues, and re-templating — operations the monotonic cure/cap reaction machinery cannot perform. `repair/__init__.py` dispatches each `postcure_repair` config entry by its `type:` field; `repair/topology_surgery.py` provides the generic edit primitives (`delete_bonds` with cascading angle/dihedral/14-pair cleanup, `set_atom_attributes`, `reassign_residue`, `add_bonds_with_template` wrapping `make_bonds` + `map_from_templates` + an int-dtype rescue for atom-index columns that pandas float-promotes via NaN-tainted concat); `repair/cyanate_cap.py` carries the first concrete driver. A new `reaction_stage.repair` enum value lets repair-stage reactions ride the existing symmetry-expansion and parameterization paths so the cure-template lookup at surgery time uses a properly parameterized linked-product Molecule. The runtime gains `cfg.postcure_repair`, `Dirs.systems_repair`, and a `do_repair()` hook wired into `do_workflow` between cure and postcure, including a steepest-descent + short NVT relaxation pass to absorb LJ clashes from relocated cap atoms.
15
+ - New `triazine_to_cyanate_cap` repair type: the BADCy-specific driver in `repair/cyanate_cap.py`. At finite cure conversion, the topological A2+B3 BADCy model in example 6 leaves artifacts that don't exist in a real undercured thermoset — free BPA-OH groups and bare triazine C-H sites instead of -O-C#N end-groups. Atom-conservation (the count of unreacted bridge-OH atoms equals the count of dangling crosslinker C atoms across the whole system, exactly) lets the driver dismantle every incomplete triazine (`k < full_bond_count` bonded BPAs) into three independent -C#N fragments via a within-ring C-N matching; the `k` fragments already bonded to a BPA become BPA-O-C#N caps in place, and the remaining `3 - k` are transferred to the nearest unreacted BPA-OH within `cap_search_radius` (greedy matching with radius expansion + global-nearest fallback). After the surgery the heavy-atom neighbors of each deleted sacrificial H absorb its lost charge via `adjust_charges`, keeping the system net-neutral for Ewald. Topology-level outcome on the small test: 19 incomplete TAZ → 57 CYN residues + 1 surviving TAZ + exact heavy-atom conservation, with the C-N bond resolving to GAFF c1-n1 (0.115 nm sp triple) and the BPA-O-C bond to os-c1 (0.132 nm aryl-cyanate ether).
16
+ - Example 6 (`6-cyanate-ester.yaml`) rebuilt around the topological A2+B3 + postcure-repair architecture. The BPA-O-C#N cyanate-ester core is now represented topologically: BPA (90 → 360 at 4x scale, two reactive phenolic O atoms) reacts with bare 1,3,5-triazine TAZ (60 → 240, three reactive ring C-H atoms; ring N atoms additionally atom-mapped to N1/N2/N3 so the repair driver can refer to them by name) in a simple cure-stage aryl-ether substitution — no in-cure ring closure, no `bondcycle_collective` bypass needed because the triazine ring is pre-formed in the TAZ monomer rather than constructed via 3-way cyclotrimerization during cure. A new auxiliary CYN building block (`[CH:1]#[N:2]`, hydrogen cyanide; not inserted into the box, exists only as a parameterization template) plus a `repair`-stage `cap_with_cyanate` reaction supplies the auto-generated `BPA~O1-C1~CYN` linked-product template the repair driver splices into the system for every cap. A `postcure_repair: [{type: triazine_to_cyanate_cap, ...}]` block at the end of the YAML drives the conversion. The header comment block explains the topological model, its tradeoff vs. the previous cyclotrimerization model (no cure-kinetics realism, faithful final-network structure), and how the repair stage restores BADCy residual chemistry.
17
+ - New `htpolynet/profiling.py` module: a `RunProfile` with a stage-stack context manager (`profiling.stage('name')`) and a subprocess-attribution path. Every external command routed through `external/command.run` (and the two raw `subprocess.run` sites in `external/smiles_input`) is timed and classified — `gmx-mdrun`, `gmx-grompp`, `antechamber`, `parmchk2`, `tleap`, `obabel`, `rdkit`, etc. `do_workflow` wraps each stage (`setup`, `initialization`, `densification`, `precure`, `cure` with one nested frame per `iter-K`, `capping`, `postcure`, `final`) so subprocess time is attributed to whichever stage was active when the call happened. At end-of-run a formatted table is written to the log (one line per `logger.info` call, no `my_logger` asterisk padding) and a machine-readable `proj-N/profile.json` is dumped beside `final.top`.
18
+ - New `CURE.controls.min_bonds_per_iteration` knob (default `10`). The bond-search loop now grows the radius until at least this many bonds have been found, falling through to whatever count exists at `max_search_radius`. The effective floor is clamped against `bond_target` (remaining bonds needed to reach `desired_conversion`) and `bond_limit` (the `max_conversion_per_iteration` cap), so demanding e.g. `min_bonds_per_iteration: 50` near end-of-cure never stalls the build. The post-loop "if `nbonds > 0` proceed, else `search_failed`" branch is preserved — accepting fewer bonds than the floor (when max radius is reached) still triggers relax + equilibrate as before. Empirically on the DGEBA/PACM example, `min_bonds_per_iteration=10` cuts the cure iteration count from 41 (with `=1`) to 15; raising further to `=20` saves only one more iteration. The default of 10 was picked off that diminishing-returns curve.
19
+ - The "Radius increased to N nm" log line now also reports the cumulative bond count and the iteration's min-bonds floor as `(X/Y eligible bonds so far)`. Makes it visible at a glance whether the floor or `bond_target` is the active constraint as the search radius grows.
20
+ - `scripts/run_all_examples.sh` — runs every depot example sequentially in its own subdirectory under `./examples-runs/`. Discovers the example ID list by parsing `htpolynet fetch-example --help` (with a `0..4` fallback). Idempotent: skips `fetch-example` if a YAML is already in the per-example directory. Reports per-example exit status and exits non-zero if any example failed. Pass-through after `--` is forwarded to `htpolynet run`.
21
+ - `scripts/run_all_examples.sh --force-reparameterize` — convenience flag that forwards `--force-parameterization --force-checkin` to every `htpolynet run` call. Each example re-runs antechamber/parmchk/tleap on its monomers and overwrites the user cache (`~/.htpolynet/molecules/parameterized/`). Appropriate rigor when consecutive examples share monomers but differ in reaction sets — sidesteps the cache-poisoning interaction between e.g. example 0 (no reactions) and example 1 (cure reactions on STY).
22
+ - All five bundled examples (0–4) are now self-contained YAMLs using the RDKit atom-mapping path on each constituent, so the user names reactive atoms by chemical identity (e.g. `[CH2:1][CH3:2]`) instead of by obabel's output ordering. The legacy `.sh` and `.tgz` siblings have been removed; `htpolynet fetch-example N` now delivers a single `.yaml` for any N. Example 4 (DFDA/FDE) additionally gets a `reactive_atoms` entry for `O1`/`O2` that was missing in its prior shell script (the cap reaction references them). `htpolynet fetch-example 1` delivers the YAML directly; usage collapses to `htpolynet run 1-polystyrene.yaml`. The legacy `1-polystyrene.sh` and `1-polystyrene.tgz` have been removed. `fetch-example` now prefers `.yaml` > `.sh` > `.tgz`.
23
+ - Final-stage save now emits `final.viz.psf` (real bond topology, written via parmed from `final.top` + `final.gro`) and `final.viz.tcl` (drops any bond longer than 3 Å from the display) alongside the existing `final.gro` / `final.top` / `final.tpx` / `final.grx`. Load with `vmd final.viz.psf final.gro -e final.viz.tcl` to view a crosslinked network without the "long bonds across PBC" artifact. The TCL uses `topo getbondlist both` / `topo setbondlist both $list` — the valid topotools 1.x flag values are `type`, `order`, `both`, `none`; the earlier `all` returned an empty list silently and reported "PSF appears to carry no bonds". The TCL also prints the first bond's measured length so the user can verify VMD loaded coordinates in Å.
24
+ - New CLI subcommand `htpolynet make-viz` regenerates `final.viz.psf` + `final.viz.tcl` from any `final.top` + `final.gro` pair without re-running the full workflow. Defaults assume the current directory has `final.top` and `final.gro` (i.e. you've `cd`'d into `systems/final-results/`); override with `-top` / `-gro` / `-prefix`.
25
+ - VMD viz now ships a sidecar `<prefix>.viz.macros.tcl` of constituent-keyed `atomselect` macros, sourced automatically from `<prefix>.viz.tcl`. Two layers: `<NAME>` selects every atom of every instance of constituent `<NAME>` (e.g. `GMA` picks all 75 bis-GMAs in example 2; `DHT` picks all 50 linear HTPB chains in example 5), and `<NAME>_<NNN>` picks one specific instance by global molecule index. The macros are built from `final.grx`'s `molecule` / `molecule_name` columns and compress contiguous atom ranges into VMD `index A to B` tokens (so e.g. example 5's 11 KB macros file covers 225 instances). Lets a user highlight chemical entities like bis-GMA or HTPB whose internal residue scheme reflects building blocks (`BPA`+2×`HIE`, `OB`+`TB`×n+`TBO`×2) rather than the assembled molecule. The residue-level view is untouched — `resname TBO` etc. still work — the new macros are additive. `htpolynet make-viz` gains a `-grx` flag (auto-detected from the `-gro` stem) so the macros are also generated when invoked standalone.
26
+ - Two follow-ons to the `find_template` bystander relaxation, both needed so the small-fragment cure idiom works end-to-end:
27
+ - `Molecule.idx_mappers` previously asserted that the template and instance had the same bystander count on each side, and built atom-pair mappings by flat-concatenating the per-side bystander lists into one zip. With subset-bystander matching the lists can legitimately differ in length, and the flat concatenation misaligns side-A and side-B bystanders across the zip. Pair each region (bonded residues, side-A bystanders, side-B bystanders, oneaways) in its own zip so a length mismatch in one region doesn't shift the alignment of others, and drop the exact-count assertion.
28
+ - `map_from_templates` copies the template's angle / dihedral / pair tables into the system after mapping template atom indices through `temp2inst`. For cyanate-ester cure, the template's CY has more atoms than the post-build system's CY (the cure-reactive C consumes one H during build, so a system CY has one fewer H on that side than the fresh-from-SMILES cure-template CY does); the template's H atom that doesn't exist in the system maps to NaN. Filter rows whose mapped atom indices contain any NaN before concatenating into the system topology — those rows are force-field parameters for atoms that don't exist in the cured system. No effect on chemistries where all template atoms have system counterparts (examples 1-5).
29
+ - `find_template` now uses subset semantics on bystanders. A parameterization-stage template `T` matches a system-instance bond `B` if every (bystander_resname, bystander_atomname) pair declared by `T` also appears in `B`; `B` is allowed to carry additional bystanders that `T` doesn't mention. Oneaway context, atom names, residue names, and the `intraresidue` flag still require exact equality. When multiple templates match, the one with the **most** bystanders declared wins, so chain-extension templates produced by `bondchain_expand_reactions` (which carry specific bystanders) still beat the bare dimer template when their additional context is exactly the in-chain instance's. This unblocks the "small-fragment cure reactant" idiom in cases like cyanate-ester cure, where `CY.C1` is intramolecularly bonded to `BPA.O1` in every BCY-embedded instance — the bare CY+CY dimer template carries no BPA bystander, but the BPA bystander is structural context, not bond chemistry, and the subset rule lets the small template match anyway. Verified: example 1's iter-2 chain-context bond still picks the trimer chain-extension template over the bare dimer template via strict-oneaway discrimination; example 6's iter-1 CY-CY-in-BCY bond now matches the CY+CY cure template via subset-bystander relaxation.
30
+ - Fixed: tleap-input ordering in `external/ambertools.py` ran `check mymol` *before* `loadamberparams <frcmod>`, so any GAFF-coverage gap that parmchk2 had already patched (e.g. `h5-ce-n2` on cyanate-ester C=N–C=N dimer templates) still showed up in tleap's output as an early `Error!`. The run-wrapper's override needle then fired and aborted the parameterization, even though tleap actually completed and the `.top`/`.crd` files were valid. Reordered to load the frcmod *before* the check so the patched parameters are in scope when the molecule is validated. Unblocks new depot example 6 (cyanate-ester thermoset) whose C=N–C=N open-chain cure dimer falls in a GAFF coverage gap that parmchk2 patches by analogy. Other examples are unaffected — for chemistry where parmchk2 emits no patches, the reorder is a no-op.
31
+ - Fixed: cached monomer `.grx` files in `~/.htpolynet/molecules/parameterized/` carry *reactivity-related* attributes (`z`, `sea_idx`, `bondchain`, `bondchain_idx`) that are YAML-dependent — they reflect the reactions defined for the *run that wrote the cache*, not anything intrinsic to the monomer. Running example 0 (liquid styrene, no reactions) wrote `STY.grx` with all-zero z; running example 1 (polystyrene) afterward then loaded that cache and produced 0 candidate atoms in the cure bond search, silently stalling at "Radius increased to N nm (0/10 eligible bonds so far)" all the way out to the max radius. Fix: in the cache-hit branch of `_generate_molecule`, for monomers (no generator), re-run `initialize_monomer_grx_attributes()` against the current run's `zrecs` so z/sea_idx/bondchain are derived from this YAML rather than inherited from a stale cache. The cache itself can still be written with run-specific z values; only the load-time interpretation is hardened.
32
+ - Fixed: corollary of the monomer-cache-poisoning fix. When STY was first poisoned with z=0 by example 0, the subsequent example-1 run generated and cached the cure-stage dimer (`STY~C1-C2~STY.grx`) and the cap (`STYCC.grx`) with *empty* `bondchain` data — the dimer's `chain_manager.injest_bond` no-ops when neither atom is in a chain, which is exactly what happens when the upstream monomer's chain_manager was empty at the time. On the next example-1 run, the cached dimer loaded with 0 chains, `bondchain_expand_reactions` found no 4-atom chains to extend, and zero chain-context templates were generated — so CURE iteration 1 worked (only the dimer template was needed) but iteration 2 raised "you have a bond for which I cannot find a template" because the C1-C2 bond now had a `oneaway` STY chain partner that no available template captured. Fix: after loading a build product from cache, compare the total chain-atom count carried by the cached `chain_manager` against the sum across the product's reactants' `chain_manager`s; if the cache carries fewer atoms (either zero chains, or a partial chain — e.g. example 2's hetero-dimer `STY~C1-C2~HIE` came out length-3 instead of length-4), treat as stale, reset the molecule's `TopoCoord`/`chain_manager`/`bond_templates`/`reaction_bonds`/`sequence` to a blank state, re-parameterize via the normal `generate()` path, and overwrite the cache. The state reset is needed because the cache-load steps populate `TopoCoord` (which `generate()` will then re-merge reactants into) and the half-loaded state ends up float-promoting the `globalIdx` column on the merged dataframe, crashing the prebonding-mol2 writer. Verified on examples 1 and 2: regenerates the affected dimers, after which `bondchain_expand_reactions` produces the expected chain-extension templates (3 for example 1, 32 for example 2 — up from 12 before).
33
+ - New depot example `6-cyanate-ester.yaml`: bisphenol-A dicyanate ester (BADCy) thermoset. The BCY constituent is assembled at param-stage from a BPA bisphenol-A core plus two single-carbon `CY` cyanate end-groups (formaldimine, `[CH2:1]=[NH:2]` — drawn in the sp2 imino-formate active form so the cure-stage triazine-forming C-N bonds have one sacrificial H pre-allocated on each side). Mirrors example 2's `GMA = BPA + 2 HIE` build pattern. The cure stage forms C-N bonds between cyanate end-groups on different BCYs via a single `cyclize` reaction; three such bonds among three monomers close into the 1,3,5-triazine ring (the characteristic crosslink of a cured cyanate ester). The `bondcycle_collective` ring-suppression check is C-C-specific via the `ChainManager`, so the heteroatom triazine ring is allowed to close unhindered. Available as `htpolynet fetch-example 6`. Note: pair with `--force-parameterization --force-checkin` when extending the YAML to cover atoms not previously named in any reaction (e.g. CY's N1) — cached build products inherit `zrecs`-derived `z` values from the prior YAML's reactions and won't pick up newly-added reactivity otherwise.
34
+ - `write_top` now casts known-int columns (atom indices, function codes, dihedral periodicities, `nrexcl`, etc.) to pandas' nullable `Int64` before serialization, so they emit as e.g. `2` rather than `2.0`. The float form had been silently accepted by `gmx grompp` but rejected by `parmed`'s gromacs top reader, which broke the new `.viz.psf` generation.
35
+ - `gmx --version` output is now parsed for `GPU support:` (CUDA, OpenCL, SYCL, disabled) and shown alongside the version line in the startup banner.
36
+ - Consistency check: if the YAML config sets `mdrun_options.gpu_id` but the installed gmx was built without GPU support, or no GPU devices are visible on the host, the option is dropped and a warning is logged. This prevents the runtime crash that `gmx mdrun -gpu_id 0` produces when zero devices are detected.
37
+ - Cache hits during parameterization are now logged at INFO ("Using cached parameterization for `<name>`") instead of DEBUG, plus a post-loop summary line tallying reused vs freshly-parameterized molecules and a reminder of the `--force-parameterization --force-checkin` flags to invalidate stale entries. Pairs with the new "Parameterization caching" section in the user-guide.
38
+ - The `-restart` flag now emits a prominent runtime warning that resumption is experimental and known to fail at the first cure-stage topology update; the argparse help string is annotated likewise, and `docs/source/user-guide/usage.rst` carries an expanded warning explaining the root cause (in-memory cure state is not fully reconstructible from `cure_state.yaml` + on-disk topology files). Pre-cure stages still resume correctly; this section is parked pending a redesign of cure-state persistence.
39
+ - Fixed: `htpolynet run -restart` failed in `CureState.from_yaml` with a `ConstructorError` for the `!!python/object:` tag, because curecontroller's loader was `yaml.FullLoader` (which recent PyYAML tightened to reject Python object tags) while the matching `yaml.dump(self)` writes those tags. Switched to `yaml.Loader` to match what `checkpoint.py` already uses.
40
+ - Fixed: rebuild `self.chain_manager` from the reloaded coordinates on restart. `do_initialization` is correctly skipped by the checkpoint decorator on resume, but it's also where `chain_manager` was being constructed, so subsequent stages (`do_cure`) hit `AttributeError`. `do_workflow` now reconstructs it from the loaded TopoCoord whenever a checkpoint payload is present.
41
+ - Fixed: `htpolynet run -restart` could die with `shutil.SameFileError` when the userlibrary search fell through to `projPath` and the cwd already lived inside it (so the source file IS the destination). `projectfilesystem.py` now uses a `_safe_copyfile` helper that no-ops when src and dst resolve to the same path.
42
+ - Fixed: example 2 HIE constituent's SMILES used `[C:1]` (zero implicit H by SMILES bracket-atom rules) instead of `[CH:1]`, so the α-carbon was emitted at valence 3, antechamber typed it `c2`, and tleap failed with "no angle parameter for o - c2 - os". Documented the bracket-atom H-count gotcha in `docs/source/user-guide/molecular-structure-inputs.rst`.
43
+ - Fixed: the RDKit SMILES path now goes through an SDF (molfile) intermediate to obabel rather than PDB. PDB does not carry bond orders, so obabel had to re-infer them and frequently mis-assigned a carbonyl carbon as the alkene sp2 type (`C.2` from a `C-O` single bond rather than `C.2`+`O.2` double-bond pair), which propagated to GAFF as `c2` instead of `c` and broke tleap with "no angle parameter for o - c2 - os" on monomers with ester groups (e.g. HIE in example 2). SDF preserves bond orders, so obabel emits the right sybyl types and antechamber assigns the correct GAFF types.
44
+ - Fixed: SMILES-generated mol2 files were being written to `projPath/lib/molecules/inputs/<NAME>.mol2` because `Runtime.__init__` runs after `pfs._setup_project_dir` has `chdir`'d into the project directory. `pfs.checkout()` looks in the *user library* (`rootPath/lib/...`), so the files were unfindable and molecule generation fell through to a `BPA.pdb`/`STY.pdb` assertion. `materialize_smiles_inputs` is now invoked with an absolute `inputs_dir` rooted at the user library, and `htpolynet run` pre-creates `lib/molecules/{inputs,parameterized}/` at startup so the library is wired up even when the user's working directory had no `lib/`.
45
+ - Constituents in the YAML config may now carry a `smiles:` key. When present, htpolynet generates `lib/molecules/inputs/<NAME>.mol2` itself before parameterization, eliminating the obabel/sed boilerplate that example shell scripts have historically duplicated. Reactive atom names are set via either `rename_atoms: {<1-based-index>: <name>}` (obabel path, always available) or `reactive_atoms: {<smiles-map-num>: <name>}` (RDKit path, used when the SMILES contains `[*:N]` atom-mapping tokens and RDKit is importable). RDKit is an optional extra: `pip install 'htpolynet[smiles]'`; the container ships it by default.
46
+
47
+ - New `docker-entrypoint.sh` that auto-detects the host owner of the `/work` bind mount and drops privileges via `gosu` before invoking `htpolynet`. Users no longer need to set `--user`, `HOST_UID`/`HOST_GID`, or any other env vars — output files are written with host ownership automatically. The script also writes an `/etc/passwd` entry for the runtime uid so `gosu` resolves `HOME` to `/home/htpolynet` rather than falling back to `/`.
48
+ - Entrypoint dispatches by inspecting the first argument: if it resolves to an executable on `PATH` (`bash`, `python`, `obabel`, ...) it is exec'd directly; otherwise it is treated as an `htpolynet` subcommand. This makes it possible to run `docker compose run --rm htpolynet bash 1-polystyrene.sh --run` (i.e. drive the example shell scripts that themselves call `obabel`/`htpolynet`).
49
+
50
+ ### Changed
51
+
52
+ - Docker-related files moved from the repo root into a new `docker/` subdirectory: `docker/Dockerfile`, `docker/compose.yml`, `docker/docker-entrypoint.sh`. The GH Actions build workflow and the docs `curl -O` URL are updated to match.
53
+ - Dockerfile installs `gosu` and uses the new entrypoint script.
54
+ - `compose.yml` simplified: no `user:` field; no `HOST_UID`/`HOST_GID` substitution. The entrypoint handles uid mapping at runtime.
55
+ - `compose.yml` bind mount uses `${PWD}:/work:Z` so SELinux-enforcing hosts (Fedora, RHEL, openSUSE Tumbleweed, ...) relabel the host directory to `container_file_t`; without this the container is denied writes regardless of POSIX permissions. Harmless on non-SELinux systems.
56
+ - `compose.yml` sets `MPLCONFIGDIR=/tmp/matplotlib` in the environment to silence matplotlib's "not a writable directory" warning.
57
+
58
+ ### Fixed
59
+
60
+ - `_do_pap` previously applied the `_nonempty_directives` guard only to the anneal branch; preequil and postequil ran whenever the section was truthy. That broke for any YAML that defined `precure: preequilibration: ...` without an explicit `precure: postequilibration` — `_apply_runtime_defaults` injects the runtime-default postequilibration block (`ps: 0`, i.e. "no postequilibration"), `TC.equilibrate` returns `None` for `ps: 0`, and the trailing `trace('Density', edr_list, ...)` crashes with `'NoneType' object is not iterable`. Same guard now wraps all three branches, mirroring the existing anneal pattern, with a comment explaining why the postcure-default ps=0 default behaves as it does.
61
+ - Example 6 (postcure anneal) first cycle segment changed from `ps: 20` to `ps: 0`, matching example 3's pattern. The earlier value pushed `annealing_time[0]` to 20 ps while `init_t` was 0, tripping `gmx grompp`'s "First time point for annealing > init_t" fatal error at the postcure stage; the leading ps=0 segment exists purely to anchor the annealing protocol at simulation time 0.
62
+ - `Topology.rep_ex` was shifting the per-copy `resnr` by `c` (the copy index) instead of `c * residues_per_copy`, so when a multi-residue molecule (e.g. the assembled HTPB chains DHT/THT in example 5, ~41 residues each) was replicated `N` times, the resid ranges of successive copies overlapped almost completely. Single-residue monomers like IPD happened to work because `c * 1 == c`, which is why no prior example hit this. The collision surfaced downstream in `Molecule.idx_mappers` (CURE iter-1 topology update): the resid-keyed filter pulled atoms from several distinct instances at once, the atomName merge fanned out, and the same template atom got mapped to multiple instance atoms, tripping the "temp_idx N already claimed" sanity check. Fix: capture `resnr_per_copy = max(resnr)` before the concat and use it as the shift unit. Existing init.gro/init.top files with corrupted resids must be regenerated (delete `proj-*` and re-run `do_initialization`).
63
+ - `TopoCoord.bondcycle_collective` crashed with `AttributeError: 'NoneType' object has no attribute 'added_bonds'` when a cure bond's endpoints weren't part of any vinyl C-C bondchain (e.g. the urethane O-C linkages between TBO oxygen and IPDI formyl carbon in example 5). The chain-manager's `injest_bond` is a no-op when both atoms are outside the chain graph (and `create_if_missing=False`), so the subsequent `chain_of(r.ai)` returns `None`. Such bonds can't form a C-C bondcycle by chemistry — guard the loop and skip them.
64
+ - `Molecule.generate_conformers` now reuses existing conformer `.gro` files instead of regenerating them on every invocation. The check is on file presence in the cwd (`molecules/parameterized/`), so it kicks in equivalently on `-restart` and on re-runs in an existing proj dir. Changing `count` upward still triggers regeneration because the expected files won't all be present. For example 5 (HTPB chains use 6 gromacs-generated conformers per stereoisomer per long-chain monomer), this skips a substantial amount of work on every restart.
65
+ - Dockerfile: pre-create `/home/htpolynet` with mode `0777` so named docker volumes mounted there inherit a world-writable initial state. Without this, a fresh `htpolynet-home` volume came up owned by root and the non-root container user could not create `~/.htpolynet`, `~/.config/matplotlib`, etc.
66
+ - ParmEd `GromacsWarning: The [ pairs ] section contains N exceptions that aren't 1-4 pairs; make sure you know what you're doing!` at end of run. CURE can shorten the topological distance between two atoms previously templated as a 1-4 pair down to 1-3 (a new cure bond shortcuts the original 3-bond path), but nothing was pruning those now-invalid pair entries. New `Topology.prune_stale_14_pairs()` walks the bondlist and drops any `[ pairs ]` entry whose endpoints aren't actually 1-4 in the post-cure graph (uses the existing `bondlist.partners_of`, so it's O(degree³) per pair — fast). Wired into `Runtime.save_data` just before `write_top`; an INFO log line reports the count when any entries get pruned. On the DFA/FDE example 4 build (~23k pairs total) it dropped 40 stale 1-3 pairs.
67
+ - Silent no-op config keys in the depot example YAMLs: `initial_search_radius` (schema is `search_radius`) and `late_threshhold` (schema is `late_threshold`, no extra `h`) were being silently swallowed by `dict.get(key, default)` because the values happened to match defaults. Renamed in all four CURE-bearing examples (1, 2, 3, 4). Behavior unchanged but the docs can now quote the keys honestly.
68
+ - Silent no-op `nconformers:` keys on FDE and DFA in example 4. The runtime reads conformer settings from a `conformers:` sub-block (with `count`, `generator`, `minimize` keys); the flat `nconformers:` line was never read. Dropped.
69
+ - Default `CURE.controls.min_bonds_per_iteration` is now `10` (was effectively `1`, gated by `while nbonds == 0`). This is silent for users with custom YAMLs that don't pin the key; rerun behavior shifts toward fewer, larger CURE iterations.
70
+
71
+ ### Documentation
72
+
73
+ - Container-usage page rewritten around the entrypoint-driven uid mapping; covers SELinux + `:Z` and the role of the `htpolynet-home` named volume.
74
+ - Full rewrite of every short-build tutorial against the current self-contained-YAML workflow. Tutorial directory names now match the depot stem: `2-DGEBA-PACM/` → `3-pacm-dgeba-epoxy-thermoset/`, `3-VE-STY/` → `2-bisgma-styrene-thermoset/`, and a brand-new tutorial 4 (`4-dfda-fde-epoxy-thermoset/`) was written. All cross-references (`ve_*` → `bgs_*`, `dgeba_*` → `pde_*`, new `dfe_*`) renamed accordingly. Each tutorial walks the YAML block-by-block via `literalinclude`, drops the obsolete `run.sh`/`obabel`/`sed` monomer-prep machinery, and points readers at the new `profile.json` and `min_bonds_per_iteration` knob where relevant. Tutorial 0's results page now ships the `final-box.png` VMD render.
75
+ - `scripts/run_all_examples.sh` documented in-script via its header block.
76
+ - Removed the legacy `src/htpolynet/resources/cfg/` directory (12 orphaned config snippets with no Python references; pre-example-depot artifacts). Updated the one `:download:` reference in `usage.rst` that pointed to a file in there.
77
+
78
+ ## [2.0.1] - 2026-05-12
79
+
80
+ ### Changed
81
+
82
+ - `compose.yml`: bind-mount source switched from `.` to `${PWD}` so a single shared `compose.yml` referenced via `docker compose -f` mounts the caller's working directory rather than the file's directory.
83
+ - `compose.yml`: `user:` field now reads `${HOST_UID}` / `${HOST_GID}` instead of `${UID}` / `${GID}` — bash's `UID` is read-only and `GID` is not exported, so the original form silently fell back to `0` (root) and broke writes into the bind mount under rootless Docker.
84
+ - `compose.yml`: container now gets a persistent `HOME` via a named `htpolynet-home` docker volume — without this, `~/.htpolynet` resolved to `/.htpolynet` (root of the container fs) for the non-root user and the user cache could not be created. The named volume also keeps parameterized monomers/oligomers around across `docker compose run --rm` invocations.
85
+
86
+ ### Fixed
87
+
88
+ - Dockerfile header comments: removed duplicated `htpolynet` token in the example `docker run` invocations (the `ENTRYPOINT` already provides it) and added `--user $(id -u):$(id -g)` so output files are not owned by root.
89
+
90
+ ### Documentation
91
+
92
+ - Container-usage page now notes that the image is published only to GHCR (a bare `docker run htpolynet` resolves against Docker Hub and fails) and shows a `docker tag` shortcut for a local alias.
93
+ - Added a `curl -O` one-liner for fetching `compose.yml` directly from the repo.
94
+
95
+ ## [2.0.0] - 2026-05-07
96
+
97
+ ### Changed
98
+
99
+ - Package renamed from `HTPolyNet` to `htpolynet` (fully lowercase) for PEP 8 compliance and PyPI consistency.
100
+ - Runtime now logs the HTPolyNet git commit hash at startup, with a warning when uncommitted changes are present.
101
+
102
+ ### Added
103
+
104
+ - Apptainer/Singularity container support: distributed as a `.sif` image for reproducible execution on HPC clusters.
105
+ - New `gen-slurm-script` subcommand generates a ready-to-submit SLURM batch script from an htpolynet YAML config file.
106
+
107
+ ### Fixed
108
+
109
+ - 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.
110
+
111
+ ## [1.0.9] - 2025-01-01
112
+
113
+ ### Added
114
+
115
+ - `minimum_bondcycle_length` parameter to allow for cyclic polymerization above a certain threshold length.
116
+
117
+ ### Fixed
118
+
119
+ - Rings not transferred from monomer templates if they are pre-parameterized.
120
+ - Atom indexes in bondchain structure not remapped after atom deletion.
121
+
122
+ ## [1.0.8] - 2024-01-04
123
+
124
+ ### Changed
125
+
126
+ - Uses `chordless_cycles` to find rings; `ringidx` is no longer a unique atom attribute; improved ring-pierce detection.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: htpolynet
3
- Version: 2.0.0
3
+ Version: 2.1.0
4
4
  Summary: Automated MD System Builder for Amorphous Network Polymers
5
5
  Project-URL: Source, https://github.com/AbramsGroup/htpolynet
6
6
  Project-URL: Documentation, https://htpolynet.readthedocs.io/
@@ -15,6 +15,7 @@ Classifier: Programming Language :: Python :: 3
15
15
  Classifier: Topic :: Scientific/Engineering :: Chemistry
16
16
  Requires-Python: >=3.9
17
17
  Requires-Dist: gputil>=1.4
18
+ Requires-Dist: matplotlib>=3.5
18
19
  Requires-Dist: networkx>=3.2
19
20
  Requires-Dist: numpy>=1.24
20
21
  Requires-Dist: pandas>=2
@@ -22,8 +23,11 @@ Requires-Dist: parmed>=4
22
23
  Requires-Dist: pyyaml>=6
23
24
  Requires-Dist: requests>=2.28
24
25
  Requires-Dist: scipy>=1.10
26
+ Requires-Dist: setuptools
25
27
  Provides-Extra: dev
26
28
  Requires-Dist: pytest; extra == 'dev'
29
+ Provides-Extra: smiles
30
+ Requires-Dist: rdkit; extra == 'smiles'
27
31
  Description-Content-Type: text/markdown
28
32
 
29
33
  # htpolynet
@@ -54,6 +58,22 @@ Once installed, the user has access to the main ``htpolynet`` command.
54
58
 
55
59
  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.
56
60
 
61
+ ## Docker
62
+
63
+ As an alternative to a local installation, a prebuilt container image is published at ``ghcr.io/abramsgroup/htpolynet``. It bundles htpolynet together with Gromacs, AmberTools, and OpenBabel, so no additional dependencies are required on the host beyond Docker (and, optionally, the NVIDIA Container Toolkit for GPU runs).
64
+
65
+ Run htpolynet against a configuration file in the current directory:
66
+ ```bash
67
+ docker run --rm -v $(pwd):/work ghcr.io/abramsgroup/htpolynet run config.yaml
68
+ ```
69
+
70
+ With GPU support:
71
+ ```bash
72
+ docker run --rm --gpus all -v $(pwd):/work ghcr.io/abramsgroup/htpolynet run config.yaml
73
+ ```
74
+
75
+ A Docker Compose file is also provided in [docker/compose.yml](docker/compose.yml) for a shorter invocation (``docker compose run --rm htpolynet run config.yaml``). See [docs/source/user-guide/container-usage.rst](docs/source/user-guide/container-usage.rst) for the full story, including Singularity/Apptainer use on HPC systems.
76
+
57
77
  ## Documentation
58
78
 
59
79
  Please consult documentation at [abramsgroup.github.io/htpolynet](https://abramsgroup.github.io/htpolynet/).
@@ -26,6 +26,22 @@ Once installed, the user has access to the main ``htpolynet`` command.
26
26
 
27
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
28
 
29
+ ## Docker
30
+
31
+ As an alternative to a local installation, a prebuilt container image is published at ``ghcr.io/abramsgroup/htpolynet``. It bundles htpolynet together with Gromacs, AmberTools, and OpenBabel, so no additional dependencies are required on the host beyond Docker (and, optionally, the NVIDIA Container Toolkit for GPU runs).
32
+
33
+ Run htpolynet against a configuration file in the current directory:
34
+ ```bash
35
+ docker run --rm -v $(pwd):/work ghcr.io/abramsgroup/htpolynet run config.yaml
36
+ ```
37
+
38
+ With GPU support:
39
+ ```bash
40
+ docker run --rm --gpus all -v $(pwd):/work ghcr.io/abramsgroup/htpolynet run config.yaml
41
+ ```
42
+
43
+ A Docker Compose file is also provided in [docker/compose.yml](docker/compose.yml) for a shorter invocation (``docker compose run --rm htpolynet run config.yaml``). See [docs/source/user-guide/container-usage.rst](docs/source/user-guide/container-usage.rst) for the full story, including Singularity/Apptainer use on HPC systems.
44
+
29
45
  ## Documentation
30
46
 
31
47
  Please consult documentation at [abramsgroup.github.io/htpolynet](https://abramsgroup.github.io/htpolynet/).
@@ -0,0 +1,60 @@
1
+ # HTPolyNet container image
2
+ # Includes Gromacs, AmberTools (antechamber, tleap, parmchk2), and OpenBabel
3
+ # via conda-forge.
4
+ #
5
+ # The entrypoint auto-detects the host owner of the /work bind mount and drops
6
+ # privileges via gosu before invoking htpolynet, so the caller does not need
7
+ # --user, HOST_UID/HOST_GID env vars, or a matching /etc/passwd entry.
8
+ #
9
+ # Build context must be the repo root (this Dockerfile lives in docker/):
10
+ #
11
+ # docker build -f docker/Dockerfile -t ghcr.io/abramsgroup/htpolynet:latest .
12
+ #
13
+ # Recommended usage is via Docker Compose; see docker/compose.yml and
14
+ # docs/source/user-guide/container-usage.rst for the full story (incl. GPU
15
+ # and Singularity/Apptainer on HPC).
16
+ #
17
+ # docker compose run --rm htpolynet run config.yaml
18
+ #
19
+ # Raw `docker run` equivalent:
20
+ #
21
+ # docker run --rm -v $(pwd):/work ghcr.io/abramsgroup/htpolynet run config.yaml
22
+ #
23
+ # GPU support (requires nvidia-container-toolkit):
24
+ #
25
+ # docker run --rm --gpus all -v $(pwd):/work \
26
+ # ghcr.io/abramsgroup/htpolynet run config.yaml
27
+
28
+ FROM continuumio/miniconda3:latest
29
+
30
+ # Install Gromacs and AmberTools (latest available on conda-forge)
31
+ RUN apt-get update && apt-get install -y --no-install-recommends \
32
+ openbabel \
33
+ gosu \
34
+ && apt-get clean && rm -rf /var/lib/apt/lists/*
35
+
36
+ RUN conda install -y -c conda-forge \
37
+ ambertools \
38
+ gromacs \
39
+ parmed \
40
+ rdkit \
41
+ && conda clean -afy
42
+
43
+ # Install HTPolyNet
44
+ COPY . /htpolynet
45
+ WORKDIR /htpolynet
46
+ RUN pip install --no-cache-dir .
47
+
48
+ # Pre-create HOME for the unprivileged user the entrypoint drops to. When
49
+ # compose.yml mounts a named volume here, Docker initializes the fresh volume
50
+ # from this directory and preserves the 0777 mode.
51
+ RUN mkdir -p /home/htpolynet && chmod 0777 /home/htpolynet
52
+
53
+ COPY docker/docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh
54
+ RUN chmod +x /usr/local/bin/docker-entrypoint.sh
55
+
56
+ # User data is mounted here at runtime
57
+ WORKDIR /work
58
+
59
+ ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]
60
+ CMD ["--help"]
@@ -0,0 +1,13 @@
1
+ services:
2
+ htpolynet:
3
+ image: ghcr.io/abramsgroup/htpolynet:latest
4
+ volumes:
5
+ - ${PWD}:/work:Z
6
+ - htpolynet-home:/home/htpolynet
7
+ working_dir: /work
8
+ environment:
9
+ - HOME=/home/htpolynet
10
+ - MPLCONFIGDIR=/tmp/matplotlib
11
+
12
+ volumes:
13
+ htpolynet-home:
@@ -0,0 +1,36 @@
1
+ #!/bin/sh
2
+ # Entrypoint: if running as root, drop privileges to the owner of the
3
+ # bind-mounted /work directory before invoking the requested command.
4
+ # Dispatch rule:
5
+ # - If the first argument resolves to an executable on PATH (bash, python,
6
+ # obabel, ...), exec it directly. This lets users run example shell
7
+ # scripts that themselves call htpolynet/obabel.
8
+ # - Otherwise, treat the args as htpolynet subcommand/options.
9
+ set -e
10
+
11
+ # Build the final argv: prepend `htpolynet` unless the user already passed an
12
+ # executable as the first arg.
13
+ if [ $# -eq 0 ] || ! command -v "$1" >/dev/null 2>&1; then
14
+ set -- htpolynet "$@"
15
+ fi
16
+
17
+ if [ "$(id -u)" -eq 0 ] && [ -d /work ]; then
18
+ WORK_UID=$(stat -c '%u' /work)
19
+ WORK_GID=$(stat -c '%g' /work)
20
+ if [ "$WORK_UID" -ne 0 ]; then
21
+ # gosu sets HOME from the target user's /etc/passwd entry, so create
22
+ # one pointing at /home/htpolynet. Without this HOME defaults to /
23
+ # and tools (htpolynet, matplotlib, ...) try to write into the
24
+ # read-only image root.
25
+ if ! getent passwd "$WORK_UID" >/dev/null 2>&1; then
26
+ echo "htpolynet:x:$WORK_UID:$WORK_GID:htpolynet:/home/htpolynet:/bin/sh" >> /etc/passwd
27
+ fi
28
+ if ! getent group "$WORK_GID" >/dev/null 2>&1; then
29
+ echo "htpolynet:x:$WORK_GID:" >> /etc/group
30
+ fi
31
+ chown -R "$WORK_UID:$WORK_GID" /home/htpolynet 2>/dev/null || true
32
+ exec gosu "$WORK_UID:$WORK_GID" "$@"
33
+ fi
34
+ fi
35
+
36
+ exec "$@"
@@ -2,6 +2,7 @@ sphinx
2
2
  myst-parser
3
3
  furo
4
4
  sphinxcontrib-bibtex
5
+ sphinxcontrib-mermaid
5
6
  sphinx-copybutton
6
7
  matplotlib
7
8
  pytrr
@@ -18,7 +18,7 @@ sys.path.insert(0, os.path.abspath('../../'))
18
18
  # -- Project information -----------------------------------------------------
19
19
 
20
20
  project = 'htpolynet'
21
- copyright = '2024, Cameron Abrams, Ming Huang'
21
+ copyright = '2026, Cameron Abrams, Ming Huang'
22
22
  author = 'Cameron Abrams, Ming Huang'
23
23
 
24
24
  # The full version, including alpha/beta/rc tags
@@ -33,7 +33,7 @@ version = release
33
33
  # ones.
34
34
 
35
35
  extensions = ['sphinx.ext.autodoc', 'sphinx.ext.coverage', 'sphinx.ext.napoleon',
36
- 'sphinxcontrib.bibtex', 'sphinx_copybutton', 'myst_parser',]
36
+ 'sphinxcontrib.bibtex', 'sphinxcontrib.mermaid', 'sphinx_copybutton', 'myst_parser',]
37
37
  # extensions.append('sphinx.ext.todo')
38
38
  # extensions.append('sphinx.ext.intersphinx')
39
39
  # extensions.append('sphinx.ext.mathjax')
@@ -0,0 +1,60 @@
1
+ .. _liquid_styrene_configuration:
2
+
3
+ Configuration
4
+ -------------
5
+
6
+ The full ``0-liquid-styrene.yaml`` is short — no ``reactions``, no
7
+ ``CURE``, no ``postcure``. It is just enough to parameterize a single
8
+ monomer, build a low-density box, and run the densification + anneal
9
+ cascade.
10
+
11
+ .. literalinclude:: ../../../../src/htpolynet/resources/example_depot/0-liquid-styrene.yaml
12
+ :language: yaml
13
+
14
+ A block-by-block walk-through:
15
+
16
+ ``Title``
17
+ A free-text label for the run; appears in logs and in the title
18
+ field of generated topology/structure files.
19
+
20
+ ``gromacs``
21
+ Tells ``htpolynet`` how to invoke GROMACS. ``gmx_options`` are
22
+ passed to every ``gmx`` invocation; ``mdrun_options`` are passed to
23
+ ``mdrun`` only. The ``gpu_id: 0`` line is left in by default and
24
+ the runtime will automatically strip it (with a warning) if the
25
+ ``gmx`` build is not GPU-capable or no GPU is visible.
26
+
27
+ ``ambertools``
28
+ Selects the partial-charge method for ``antechamber``; ``gas`` is
29
+ Gasteiger and is fast and good enough for a non-reactive
30
+ densification.
31
+
32
+ ``constituents``
33
+ Declares the molecular species in the box. Here, one species
34
+ (``STY``, 1000 copies) generated from SMILES. See
35
+ :ref:`monomer <liquid_styrene_monomer>` for the atom-mapping
36
+ details.
37
+
38
+ ``densification``
39
+ The post-pack equilibration cascade. Starts at
40
+ ``initial_density: 300 kg/m³`` (deliberately loose so the pack
41
+ succeeds without overlaps) and runs minimization → 10 ps NVT at
42
+ 300 K → 200 ps NPT at 300 K, 10 bar. The deliberately high pressure
43
+ accelerates compaction.
44
+
45
+ ``precure``
46
+ Despite the name, ``precure`` is not chemically a curing step — it
47
+ is the post-densification equilibration that ``htpolynet`` runs
48
+ whether or not a cure is configured. Here it is:
49
+
50
+ * ``preequilibration`` — 200 ps NPT at 300 K, 1 bar (relax the
51
+ pressure jolt from densification);
52
+ * ``anneal`` — two 300 K → 600 K → 300 K cycles, 80 ps per cycle,
53
+ useful for shaking the liquid out of any pack-induced local
54
+ traps;
55
+ * ``postequilibration`` — 100 ps NPT at 300 K, 1 bar.
56
+
57
+ The comment block at the top of the YAML also sketches an
58
+ ``htpolynet analyze`` configuration (``ck.yaml``) you can run after the
59
+ build to compute free volume and similar properties; see
60
+ :ref:`results <liquid_styrene_results>` and the :doc:`postsim` section.
@@ -0,0 +1,21 @@
1
+ .. _liquid_styrene_tutorial:
2
+
3
+ Liquid Styrene (no polymerization)
4
+ ==================================
5
+
6
+ This tutorial illustrates the simplest possible use of ``htpolynet run``:
7
+ generating a densified liquid of a single small molecule (styrene), without
8
+ any polymerization step. It is numbered ``0`` because no curing happens —
9
+ think of it as a warm-up that exercises the input-generation,
10
+ parameterization, and densification stages on their own.
11
+
12
+ .. toctree::
13
+ :maxdepth: 2
14
+ :caption: Contents:
15
+
16
+ introduction
17
+ monomer
18
+ configuration
19
+ run
20
+ results
21
+ postsim
@@ -0,0 +1,31 @@
1
+ .. _liquid_styrene_introduction:
2
+
3
+ Introduction
4
+ ------------
5
+
6
+ This is the simplest possible ``htpolynet run``: parameterize one small
7
+ molecule (styrene), pack copies into a box, densify, and run a short
8
+ anneal — no cure reactions, no capping, no iteration. It is a useful
9
+ shakedown of a fresh install: if this build completes cleanly, the
10
+ ``htpolynet`` ↔ AmberTools ↔ GROMACS plumbing is healthy and you can
11
+ move on to the polymerizing examples.
12
+
13
+ It is also a reasonable way to produce an equilibrated liquid of a
14
+ monomeric species — for example, as a precursor configuration for later
15
+ cure runs, or as a starting point for small-molecule property estimates
16
+ (density, free volume, etc.).
17
+
18
+ Set up a clean working directory and pull the example YAML:
19
+
20
+ .. code-block:: console
21
+
22
+ $ mkdir my_liquid_styrene
23
+ $ cd my_liquid_styrene
24
+ $ htpolynet fetch-example 0
25
+ Fetched 0-liquid-styrene.yaml (run with: htpolynet run 0-liquid-styrene.yaml)
26
+ $ ls
27
+ 0-liquid-styrene.yaml
28
+
29
+ That single YAML is everything you need: it carries the styrene SMILES
30
+ inline, so ``htpolynet`` materializes ``STY.mol2`` for itself at the
31
+ start of the run. No shell script, no pre-generated input files.
@@ -0,0 +1,46 @@
1
+ .. _liquid_styrene_monomer:
2
+
3
+ The Styrene Monomer
4
+ -------------------
5
+
6
+ Styrene is a vinyl monomer; in this example we represent its **active**
7
+ form (ethylbenzene-like, all single bonds) rather than its natural
8
+ vinyl form (``c1ccccc1C=C``). The active form is the template
9
+ ``htpolynet`` uses for parameterization: the two vinyl carbons each
10
+ carry one *sacrificial* hydrogen, which is the H that a cure reaction
11
+ would later strip when forming a new C–C bond. Since this example does
12
+ no curing, the sacrificial Hs simply stay put — but naming the carbons
13
+ now means the same monomer file can be reused in
14
+ :ref:`example 1 <ps_tutorial>` and beyond.
15
+
16
+ .. figure:: ../1-polystyrene/pics/STY.png
17
+ :align: center
18
+ :width: 240px
19
+
20
+ Active styrene. ``C1`` and ``C2`` are the (eventually) reactive
21
+ vinyl carbons; each carries a sacrificial hydrogen.
22
+
23
+ In-config SMILES generation
24
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^
25
+
26
+ The ``constituents`` block of ``0-liquid-styrene.yaml`` carries the
27
+ SMILES string and, via the SMILES atom-mapping syntax (``[CH2:1]``,
28
+ ``[CH3:2]``), the names of the two carbons that polymerization
29
+ reactions would target:
30
+
31
+ .. code-block:: yaml
32
+
33
+ constituents:
34
+ STY:
35
+ smiles: "c1ccccc1[CH2:1][CH3:2]"
36
+ reactive_atoms: {1: C1, 2: C2}
37
+ count: 1000
38
+
39
+ When ``htpolynet run`` starts, it sees the ``smiles`` key, invokes
40
+ RDKit to generate ``lib/molecules/inputs/STY.mol2`` with the atom-name
41
+ mapping (``:1`` → ``C1``, ``:2`` → ``C2``), and then proceeds with the
42
+ normal AmberTools parameterization workflow (``antechamber`` →
43
+ ``parmchk2`` → ``tleap``). Users without RDKit can instead supply a
44
+ pre-built mol2 in ``lib/molecules/inputs/`` and use the
45
+ ``rename_atoms`` key to assign atom names — see
46
+ :ref:`molecular_structure_inputs`.
@@ -0,0 +1,57 @@
1
+ Post-build simulations and analyses
2
+ -----------------------------------
3
+
4
+ Liquid styrene is not polymerized, so post-build "production" measurements like glass-transition temperature or Young's modulus are not meaningful here. What we *can* do — and what is useful as a sanity check — is to equilibrate the as-built liquid further at 300 K and then measure its density and fractional free volume.
5
+
6
+ The :ref:`pde_tutorial` walks through the full set of postsim and analyze techniques in detail; this section just shows the minimum useful run for an unpolymerized liquid.
7
+
8
+ The postsim configuration
9
+ ^^^^^^^^^^^^^^^^^^^^^^^^^
10
+
11
+ Create ``postsim.yaml`` in the project base directory:
12
+
13
+ .. code-block:: yaml
14
+
15
+ - equilibrate:
16
+ input_top: systems/final-results/final.top
17
+ input_gro: systems/final-results/final.gro
18
+ T: 300
19
+ ps: 100
20
+
21
+ Run it:
22
+
23
+ .. code-block:: console
24
+
25
+ $ htpolynet postsim -cfg postsim.yaml -ocfg 0-liquid-styrene.yaml -proj proj-0
26
+
27
+ This produces ``proj-0/postsim/equilibrate/`` with the usual Gromacs outputs plus an on-the-fly density-vs-time plot.
28
+
29
+ Density during equilibration
30
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
31
+
32
+ .. admonition:: Placeholder
33
+ :class: caution
34
+
35
+ **TODO:** insert the ``rho_v_ns.png`` plot from ``proj-0/postsim/equilibrate/`` and report the mean equilibrated density (kg/m³ or g/cc) here. Note whether the system has reached a stable density (i.e., the trace is flat over the second half of the trajectory).
36
+
37
+ Free volume
38
+ ^^^^^^^^^^^
39
+
40
+ Use ``htpolynet analyze`` with a one-line config to invoke ``gmx freevolume`` on the equilibration trajectory. Create ``fv.yaml``:
41
+
42
+ .. code-block:: yaml
43
+
44
+ - command: freevolume
45
+
46
+ Then:
47
+
48
+ .. code-block:: console
49
+
50
+ $ htpolynet analyze -cfg fv.yaml -proj proj-0
51
+
52
+ The output lands in ``proj-0/analyze/freevolume/``.
53
+
54
+ .. admonition:: Placeholder
55
+ :class: caution
56
+
57
+ **TODO:** report the fractional free volume (and standard error) from ``proj-0/analyze/freevolume/ffv.dat`` here. For unpolymerized small-molecule liquids the FFV is typically in the 0.20–0.30 range; values much outside that suggest the equilibration was too short.