HTPolyNet 2.18.0__tar.gz → 2.19.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.
- {htpolynet-2.18.0 → htpolynet-2.19.0}/CHANGELOG.md +78 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/PKG-INFO +1 -1
- {htpolynet-2.18.0 → htpolynet-2.19.0}/ROADMAP.md +56 -21
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/index.rst +5 -4
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/htpolynetpackage.rst +5 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/user-guide/building-a-system.rst +23 -7
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/user-guide/configs/configs-for-run.rst +9 -2
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/user-guide/usage.rst +9 -2
- {htpolynet-2.18.0 → htpolynet-2.19.0}/pyproject.toml +1 -1
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/analysis/plot.py +27 -1
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/cli.py +3 -1
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/core/configuration.py +2 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/core/molecule.py +8 -1
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/core/runtime.py +39 -3
- htpolynet-2.19.0/src/htpolynet/core/seeding.py +136 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/core/topology.py +37 -3
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/cure/curecontroller.py +3 -1
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/external/gromacs.py +91 -15
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/external/slurm.py +2 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/io/mol2.py +4 -1
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/resources/claude/SKILL.md +14 -8
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/resources/example_depot/6-cyanate-ester.yaml +3 -3
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/schema/base.yaml +14 -0
- htpolynet-2.19.0/tests/unit/test_mdp_parse.py +77 -0
- htpolynet-2.19.0/tests/unit/test_mol2_partial_bonds.py +109 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_plots_post_E.py +35 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_plots_post_tg.py +56 -0
- htpolynet-2.19.0/tests/unit/test_seeding.py +181 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/.claude/settings.json +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/.claude/skills/htpolynet/SKILL.md +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/.envrc +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/.github/workflows/conda-forge-sync.yml +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/.github/workflows/docker.yml +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/.github/workflows/docs.yml +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/.github/workflows/release.yaml +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/.github/workflows/test.yml +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/.gitignore +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/.readthedocs.yaml +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/CITATION.cff +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/CLAUDE.md +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/LICENSE +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/MANIFEST.in +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/README.md +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docker/Dockerfile +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docker/compose.yml +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docker/docker-entrypoint.sh +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/Makefile +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/README.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/make.bat +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/requirements.txt +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/_static/.gitkeep +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/_static/htpolynet-favicon.ico +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/_static/htpolynet-landing.jpg +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/_static/htpolynet-logo-dark.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/_static/htpolynet-logo-light.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/changelog.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/conf.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/0-liquid-styrene/configuration.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/0-liquid-styrene/index.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/0-liquid-styrene/introduction.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/0-liquid-styrene/monomer.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/0-liquid-styrene/postsim.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/0-liquid-styrene/results.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/0-liquid-styrene/run.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/1-polystyrene/configuration.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/1-polystyrene/index.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/1-polystyrene/introduction.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/1-polystyrene/monomer.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/1-polystyrene/pics/STY.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/1-polystyrene/pics/STYCC.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/1-polystyrene/pics/buildtraces.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/1-polystyrene/pics/cure_info.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/1-polystyrene/pics/densification-density.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/1-polystyrene/pics/final-box.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/1-polystyrene/pics/reaction_network.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/1-polystyrene/pics/sty-coloring.tcl +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/1-polystyrene/pics/sty-cured.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/1-polystyrene/pics/sty-detail.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/1-polystyrene/pics/sty-liq.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/1-polystyrene/pics/styrene-polymerization.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/1-polystyrene/postsim.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/1-polystyrene/reactions.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/1-polystyrene/results.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/1-polystyrene/run.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/configuration.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/index.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/introduction.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/BPA.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/GMA.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/HIE.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/buildtraces.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/cure_info.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/densification-density.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/four_dimers.eps +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/four_dimers.fig +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/four_dimers.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/gma-sty-coloring.tcl +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/gma-sty-cured.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/gma-sty-detail.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/gma-sty-liq.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/p1-traces.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/reaction_network.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/vesys.eps +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/vesys.fig +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/vesys.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/postsim.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/reactions.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/results.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/run.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/configuration.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/index.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/introduction.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/monomers.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/DGE-epoxy.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/DGE-labelled.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/PAC-2d.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/PAC-labelled.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/buildtraces.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/cure_info.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/densification-density.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/dge-pac-coloring.tcl +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/dge-pac-cured.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/dge-pac-detail.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/dge-pac-liq.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/dgesys.eps +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/dgesys.fig +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/dgesys.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/equil-rho_v_ns.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/postsim-typical.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/prod-e.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/prod-equil-rho_v_ns.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/prod-rho_v_ns.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/prod-tg.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/r1.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/r2.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/r3.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/reaction_network.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/rho_v_ns.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/short-e.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/short-tg.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/postsim.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/reactions.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/results.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/run.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/configuration.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/index.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/introduction.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/monomers.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/pics/buildtraces.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/pics/cure_info.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/pics/densification-density.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/pics/dfa-fde-coloring.tcl +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/pics/dfa-fde-cured.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/pics/dfa-fde-detail.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/pics/dfa-fde-liq.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/pics/reaction_network.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/postsim.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/reactions.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/results.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/run.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/5-htpb-ipdi/configuration.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/5-htpb-ipdi/index.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/5-htpb-ipdi/introduction.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/5-htpb-ipdi/monomers.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/5-htpb-ipdi/pics/buildtraces.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/5-htpb-ipdi/pics/cure_info.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/5-htpb-ipdi/pics/densification-density.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/5-htpb-ipdi/pics/htpb-coloring.tcl +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/5-htpb-ipdi/pics/htpb-ipdi-cured.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/5-htpb-ipdi/pics/htpb-ipdi-detail.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/5-htpb-ipdi/pics/htpb-ipdi-liq.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/5-htpb-ipdi/pics/reaction_network.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/5-htpb-ipdi/postsim.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/5-htpb-ipdi/reactions.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/5-htpb-ipdi/results.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/5-htpb-ipdi/run.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/6-cyanate-ester/configuration.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/6-cyanate-ester/index.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/6-cyanate-ester/introduction.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/6-cyanate-ester/monomers.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/6-cyanate-ester/pics/cure_info.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/6-cyanate-ester/pics/densification-density.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/6-cyanate-ester/pics/reaction_network.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/6-cyanate-ester/pics/tg.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/6-cyanate-ester/postsim.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/6-cyanate-ester/reactions.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/6-cyanate-ester/results.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/example-tutorials/6-cyanate-ester/run.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/index.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/install.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/publications.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/references/index.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/references/mol2-reference.pdf +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/references.bib +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/user-guide/CURE.odg +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/user-guide/bond_filter.odg +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/user-guide/configs/configs-for-analyze.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/user-guide/configs/configs-for-postsim.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/user-guide/configuration-files.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/user-guide/container-usage.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/user-guide/flow1.odg +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/user-guide/flow1yaml.odg +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/user-guide/hydrogenated.eps +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/user-guide/hydrogenated.fig +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/user-guide/index.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/user-guide/molecular-structure-inputs.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/user-guide/periodic-networks.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/user-guide/pics/STY.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/user-guide/pics/STYCC.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/user-guide/pics/TypicalUsageFlow.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/user-guide/pics/bond_filter.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/user-guide/pics/chemdoodle-2dsketcher-emb.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/user-guide/pics/chemdoodle-2dsketcher-styrene.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/user-guide/pics/hydrogenated.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/user-guide/pics/ring_pierce/ring_pierce_cases.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/user-guide/pics/ring_pierce/ring_pierce_linkcell.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/user-guide/postcure-repair.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/docs/source/user-guide/program-flow.rst +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/scripts/check-conda-sync.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/scripts/release.sh +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/scripts/render-detail.sh +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/scripts/render-detail.tcl +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/scripts/render-snapshot.sh +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/scripts/run_all_examples.sh +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/__init__.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/analysis/__init__.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/analysis/analyze.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/analysis/piercings.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/analysis/postsim.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/analysis/ringcontacts.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/analysis/utils.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/core/__init__.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/core/bondtemplate.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/core/coordinates.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/core/paramcache.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/core/productsplice.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/core/projectfilesystem.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/core/topocoord.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/cure/__init__.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/cure/chain.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/cure/expandreactions.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/cure/reaction.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/cure/ringcontroller.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/cure/triplesearch.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/external/__init__.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/external/ambertools.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/external/command.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/external/smiles_input.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/external/software.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/geometry/__init__.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/geometry/bondlist.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/geometry/lattice.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/geometry/linkcell.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/geometry/matrix4.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/geometry/piercing.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/geometry/placement.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/geometry/ring.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/geometry/templategeom.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/io/__init__.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/io/gro.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/io/pdb.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/repair/__init__.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/repair/cyanate_cap.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/repair/topology_surgery.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/resources/README.md +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/resources/__init__.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/resources/example_depot/0-liquid-styrene.yaml +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/resources/example_depot/1-polystyrene.yaml +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/resources/example_depot/2-bisgma-styrene-thermoset.yaml +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/resources/example_depot/3-pacm-dgeba-epoxy-thermoset.yaml +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/resources/example_depot/4-dfda-fde-epoxy-thermoset.yaml +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/resources/example_depot/5-htpb-ipdi.yaml +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/resources/mdp/README.md +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/resources/mdp/drag-min.mdp +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/resources/mdp/drag-npt.mdp +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/resources/mdp/drag-nvt.mdp +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/resources/mdp/min.mdp +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/resources/mdp/npt.mdp +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/resources/mdp/nvt.mdp +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/resources/mdp/relax-min.mdp +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/resources/mdp/relax-npt.mdp +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/resources/mdp/relax-nvt.mdp +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/resources/mdp/single-molecule-min.mdp +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/resources/mdp/single-molecule-nvt.mdp +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/resources/molecules/inputs/DFA.pdb +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/resources/molecules/inputs/DGE.mol2 +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/resources/molecules/inputs/EMB.mol2 +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/resources/molecules/inputs/FDE.pdb +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/resources/molecules/inputs/GMA.mol2 +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/resources/molecules/inputs/PAC.mol2 +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/resources/molecules/inputs/STY.mol2 +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/resources/molecules/make-monomers.sh +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/resources/molecules/pics/DFA.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/resources/molecules/pics/DGE.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/resources/molecules/pics/EMB.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/resources/molecules/pics/FDE.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/resources/molecules/pics/GMA.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/resources/molecules/pics/PAC.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/resources/molecules/pics/STY.png +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/resources/molecules/sample-inputs/DFA.pdb +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/resources/molecules/sample-inputs/DGE.mol2 +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/resources/molecules/sample-inputs/EMB.mol2 +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/resources/molecules/sample-inputs/FDE.pdb +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/resources/molecules/sample-inputs/GMA.mol2 +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/resources/molecules/sample-inputs/PAC.mol2 +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/resources/molecules/sample-inputs/STY.mol2 +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/resources/tcl/readbonds.tcl +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/resources/tcl/readgrx.tcl +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/resources/tcl/render.tcl +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/utils/__init__.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/utils/banner.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/utils/checkpoint.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/utils/convergence.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/utils/dataframetools.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/utils/inputcheck.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/utils/logsetup.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/utils/profiling.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/utils/stringthings.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/src/htpolynet/utils/vmd_viz.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/__init__.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/conftest.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/__init__.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/fixtures/README-postsim-traces.md +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/fixtures/config1.gro +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/fixtures/config1.top +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/fixtures/config2.gro +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/fixtures/config2.top +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/fixtures/deform-x-FDE-FCPDA.csv +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/fixtures/items31.edr +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/fixtures/items43.edr +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/fixtures/items45.edr +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/fixtures/ladder-FDE-DFDA.csv +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/fixtures/short.mdp +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_activate.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_bond_floor.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_bondtemplate.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_cap_placement.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_chain.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_checkout_shadowing.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_completion_bias.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_conda_sync.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_config_docs_coverage.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_configuration.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_convergence.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_cure_site_functionality.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_dataframetools.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_density_gate.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_gpu_usability.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_gromacs_get_energy_menu.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_gromacs_gmx_energy_trace.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_grompp_warnings.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_inputcheck.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_linkcell_pierce.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_mdp_ensembles.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_mdrun_gpu_options.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_mol2_bond_fallback.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_molecule_charge_report.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_moleculetype_name.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_multibody_reactions.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_overlong_bond_report.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_paramcache.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_paramcache_ambertools.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_parameterize_react.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_piercings.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_placement_and_ringclose.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_plot_smoke.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_plots_diag.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_postsim_moduli.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_postsim_real_traces.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_postsim_replicas.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_postsim_shear.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_productsplice.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_projectfilesystem.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_relax_instrumentation.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_repair_charge_neutrality.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_repair_conversion.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_resources.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_ring.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_ring_cure_schema.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_ring_pierce_figs.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_ringcontacts.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_ringcontroller.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_setup_claude.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_sibling_templates.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_slurm_script.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_smiles_input.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_software_provenance.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_templategeom.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_topology/test.top +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_topology.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_transrot_turn_scan.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_triazine_to_cyanate_cap.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_triplesearch.py +0 -0
- {htpolynet-2.18.0 → htpolynet-2.19.0}/tests/unit/test_user_frcmod.py +0 -0
|
@@ -7,6 +7,84 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [2.19.0] - 2026-12-02
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- **An mdp file with comments could be misread or crash the parser.** `;` was not
|
|
15
|
+
treated as a comment marker, so `dt = 0.002 ; 2 fs` read as the string
|
|
16
|
+
`0.002 ; 2 fs` and the ladder, anneal and deform stages failed converting it to a
|
|
17
|
+
number, with an error that named neither the file nor the comment. A comment
|
|
18
|
+
holding two `=` signs raised outright, and a commented-out `; key = value` entered
|
|
19
|
+
the parsed settings as a key. Comments, whole-line and inline, are now ignored
|
|
20
|
+
as grompp ignores them; a value that itself contains `=` keeps it. Files that
|
|
21
|
+
htpolynet rewrites lose their comments, as full-line comments already did. Found
|
|
22
|
+
by htpolynet-sweep.
|
|
23
|
+
|
|
24
|
+
### Added
|
|
25
|
+
|
|
26
|
+
- **Every build has a seed.** Set it with `seed:` in the config or `--seed N` on
|
|
27
|
+
`htpolynet run` (also passed through by `gen-slurm-script`); with neither, one is
|
|
28
|
+
drawn from the operating system. It is logged and written to `seed.txt` in the
|
|
29
|
+
project directory and in `systems/final-results`, and a `-restart` reuses the
|
|
30
|
+
recorded one. The seed drives all four random draws in a build, each from its
|
|
31
|
+
own stream so one cannot shift another: the conformer choice, the
|
|
32
|
+
`insert-molecules` packing (now given `-seed`), the bond search's acceptance
|
|
33
|
+
dice, and `gen-seed` in every stage that generates velocities. The `gen-seed` is
|
|
34
|
+
written into a temporary copy of the mdp, because the cure reuses one mdp for
|
|
35
|
+
many stages. The same seed now rebuilds the same starting box on any machine.
|
|
36
|
+
It does not replay the cure: GROMACS is not bitwise reproducible across thread
|
|
37
|
+
counts or GPUs, so a cure diverges after its first MD stage, and the later seeds
|
|
38
|
+
are a record. Before this, nothing was seeded or recorded, and a build's
|
|
39
|
+
starting configuration could not be recovered. Reported by htpolynet-sweep.
|
|
40
|
+
- **LINCS warnings in an mdrun log are reported.** After every mdrun, including
|
|
41
|
+
one that fails, htpolynet counts the log's `LINCS WARNING` lines and logs a
|
|
42
|
+
warning with the count. A run whose constraints failed repeatedly but still
|
|
43
|
+
finished used to look clean.
|
|
44
|
+
- **Each `plots post` ladder file says which direction it is.**
|
|
45
|
+
`ladder{k}-data.csv` gains a `direction` column (`heating` or `cooling`), and its
|
|
46
|
+
log line names it. The number `k` is the ladder's position in the config, so a
|
|
47
|
+
heating-only config writes its heating branch as `ladder0`.
|
|
48
|
+
|
|
49
|
+
## [2.18.1] - 2026-11-24
|
|
50
|
+
|
|
51
|
+
### Fixed
|
|
52
|
+
|
|
53
|
+
- **Example 2's GMAS-4 to GMAS-15 templates were written with 24 of their 78
|
|
54
|
+
bonds.** Each is a stereoisomer of GMA built from a stereoisomer of GM1, and that
|
|
55
|
+
GM1 isomer, built on GM1's topology, carried no mol2 bond table; merging it in
|
|
56
|
+
silently kept only the other reactant's bonds plus the new one. A stereoisomer
|
|
57
|
+
built on its parent's topology now reads its own mol2's bonds, and a merge where
|
|
58
|
+
one side has no mol2 bond table builds one from its topology bonds and says so,
|
|
59
|
+
instead of dropping them. Simulations were not affected: GROMACS takes its bonds
|
|
60
|
+
from the topology, which was complete. Regenerated, all fifteen match GMA's 78
|
|
61
|
+
bonds and bond orders. Library entries written before this fix keep their short
|
|
62
|
+
tables, and now say so when loaded; rebuild them with `--force-parameterization
|
|
63
|
+
--force-checkin`. Found by htpolynet-sweep.
|
|
64
|
+
- **The mol2/topology bond check could pass a short mol2.** It compared the two
|
|
65
|
+
sorted lists with `zip`, which stops at the shorter, so a mol2 missing only the
|
|
66
|
+
bonds that sort last passed. It now compares the sets and reports how many
|
|
67
|
+
bonds each source has and how many are missing from each.
|
|
68
|
+
- **A mol2 with 100 or more residues could not be read back.** The MOLECULE line's
|
|
69
|
+
counts were written at fixed widths with no separator, so 200 residues ran into
|
|
70
|
+
the bond count (` 3600 3600200`). Each count now has a space before it; files
|
|
71
|
+
whose counts fit the old widths are byte-identical.
|
|
72
|
+
- **`plots post` no longer fails on a project whose deform or anneal/equilibrate
|
|
73
|
+
stages have not run.** With no deform directories it raised `ValueError: min()
|
|
74
|
+
iterable argument is empty` after the Tg ladder data had already been written, so
|
|
75
|
+
it exited nonzero with good output on disk, and a script that checks the exit code
|
|
76
|
+
threw that output away. A config listing `anneal` and `equilibrate` whose CSVs
|
|
77
|
+
were missing raised before the ladders were even read. Each missing stage is now
|
|
78
|
+
named in a warning and left out, and the stages that ran are analyzed as usual.
|
|
79
|
+
|
|
80
|
+
### Changed
|
|
81
|
+
|
|
82
|
+
- **The docs give AM1-BCC's measured parameterization time for examples 2-6**, from
|
|
83
|
+
under 5 minutes (example 5) to about 4 hours (example 3) on 16 CPU cores, and say
|
|
84
|
+
that molecule size, not template count, sets it. They had said cost grew with the
|
|
85
|
+
number of reaction templates; example 2 parameterizes 61 molecules in 2.5 hours and
|
|
86
|
+
example 3 only 16 in 4.2.
|
|
87
|
+
|
|
10
88
|
## [2.18.0] - 2026-11-16
|
|
11
89
|
|
|
12
90
|
### Added
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: htpolynet
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.19.0
|
|
4
4
|
Summary: Automated MD System Builder for Amorphous Network Polymers
|
|
5
5
|
Project-URL: Source, https://github.com/cameronabrams/htpolynet
|
|
6
6
|
Project-URL: Documentation, https://htpolynet.readthedocs.io/
|
|
@@ -1621,8 +1621,9 @@ Coverage as of the last measurement: **38.8%** overall.
|
|
|
1621
1621
|
that does not set `charge_method` gets `gas`.
|
|
1622
1622
|
- *Re-record tutorials 0-6 from the AM1-BCC sweep*, with the size re-recording
|
|
1623
1623
|
below, and remove the "still from the Gasteiger builds" note on the tutorials
|
|
1624
|
-
index.
|
|
1625
|
-
|
|
1624
|
+
index. Parameterization times for examples 2-6 are measured (htpolynet-sweep,
|
|
1625
|
+
job 26774043, 2026-11-16) and in the docs; example 1's and 0's are not, but
|
|
1626
|
+
each is one or a few styrene-sized molecules.
|
|
1626
1627
|
- *GAFF2.* The docs say only to pick a charge model fitted for GAFF2. ABCG2 (He
|
|
1627
1628
|
et al., J. Chem. Phys. 2020) is the literature candidate, but htpolynet-sweep
|
|
1628
1629
|
found no Amber statement making it a recommended default, so it is not named
|
|
@@ -1849,10 +1850,58 @@ Coverage as of the last measurement: **38.8%** overall.
|
|
|
1849
1850
|
flagged by a note on each index page. Replace them from sweep's runs at the new size,
|
|
1850
1851
|
then remove the notes. Check too whether 150 cure iterations and the cure
|
|
1851
1852
|
timings still hold at 8x.
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1853
|
+
|
|
1854
|
+
- **Postsim ladders blow up near 800 K on example 2, and nothing tried fixes it.**
|
|
1855
|
+
Within about 35 K of an 800 K ceiling, LINCS errors appear, coordinates
|
|
1856
|
+
explode, and mdrun dies either with `Box={-nan,-nan,inf}`, "Can not fix pbc"
|
|
1857
|
+
and SIGSEGV, or with CUDA error #700 (illegal address), which is the same event
|
|
1858
|
+
seen downstream. It is chemistry-specific: example 2 lost 3 of 5 postsims in the
|
|
1859
|
+
765-785 K band of the AM1-BCC sweep (job 26795870, replicas 0, 2 and 4, postsim
|
|
1860
|
+
rc=1; checked here from the task logs). Example 4 lost 2 of 5 once and none
|
|
1861
|
+
since, and examples 3 and 5 essentially never fail.
|
|
1862
|
+
`lincs-iter = 2` is **not** a fix (htpolynet-sweep, 2026-11-19, retracting its
|
|
1863
|
+
2026-11-10 conclusion). That conclusion rested on two retried cells that passed
|
|
1864
|
+
with it, while plain retries were passing at about the same rate. The AM1-BCC
|
|
1865
|
+
campaign then ran `lincs-iter 2` in all 24 tasks and still lost those three.
|
|
1866
|
+
`-update cpu` is a separate, real fix for a different crash
|
|
1867
|
+
(UpdateConstrainGpu) and is not in question. Telling a fix from luck here needs
|
|
1868
|
+
about 10 cells per arm, a stability study rather than a measurement. Until
|
|
1869
|
+
someone does one, the practical answer is to retry, or to cap example 2's
|
|
1870
|
+
ladder lower. Tutorial 2 runs to 850 K because its heating fit needed that top,
|
|
1871
|
+
and that is the band where it fails.
|
|
1872
|
+
**The timestep is the leading candidate** (htpolynet-sweep, Tg campaign, reported
|
|
1873
|
+
2026-12-02, not reproduced here): with `constraints = h-bonds` at `dt = 0.002`,
|
|
1874
|
+
H-C-H bending stops being resolved above about 860 K, and `dt = 0.001` gave 10 of
|
|
1875
|
+
10 clean ladders to 1000 K. If that holds on example 2's 765-785 K band, the fix is
|
|
1876
|
+
a halved `dt` for ladders whose top passes some threshold, at twice the cost of
|
|
1877
|
+
the hot rungs. Their findings file is
|
|
1878
|
+
`~/devtests/htpolynet/bccsweep-20261116/analysis/TGFIT-FINDINGS.md`.
|
|
1879
|
+
|
|
1880
|
+
- **A heating ladder's pair-list buffer is sized for its coldest rung.**
|
|
1881
|
+
`PostSimLadder.build_mdp` (`analysis/postsim.py`) sets `ref_t` to the ladder's
|
|
1882
|
+
first temperature, which is `Tlo` for heating, and grompp sizes the Verlet buffer
|
|
1883
|
+
from `ref_t` under `verlet-buffer-tolerance`, so a 100-800 K heating ladder's
|
|
1884
|
+
buffer is sized for 100 K. Cooling ladders start at `Thi` and are conservative.
|
|
1885
|
+
Not shown to cause any failure: htpolynet-sweep first suspected it for the
|
|
1886
|
+
heating-branch crashes and then traced those to the timestep (entry above).
|
|
1887
|
+
Whether grompp consults the annealing schedule for the buffer in the GROMACS
|
|
1888
|
+
versions we support has not been checked; if it does not, setting `ref_t` to
|
|
1889
|
+
`max(Tlo, Thi)` while `gen-temp` stays at the starting temperature is the fix.
|
|
1890
|
+
|
|
1891
|
+
- **LINCS warnings are reported, not fatal.** `grompp_and_mdrun` now
|
|
1892
|
+
counts `LINCS WARNING` lines in the mdrun log and logs a warning, so a run that
|
|
1893
|
+
warned thousands of times and still finished no longer looks clean. It does not
|
|
1894
|
+
fail the stage. Whether some count should, or should trigger the retry path,
|
|
1895
|
+
needs a threshold from data: htpolynet-sweep fails a cell on any warning, which
|
|
1896
|
+
may be too strict for the cure's hot, freshly-bonded stages.
|
|
1897
|
+
|
|
1898
|
+
- **`plots post` names its ladder files by config position.** `ladder{k}-data.csv`
|
|
1899
|
+
is the k-th ladder in the config, so a heating-only config writes heating as
|
|
1900
|
+
`ladder0`. Each file now carries a `direction` column and the log line
|
|
1901
|
+
names it. Naming the files `ladder-heating-data.csv` / `ladder-cooling-data.csv`
|
|
1902
|
+
would make the inversion impossible rather than detectable, but htpolynet-sweep
|
|
1903
|
+
and the manuscript scripts read `ladder0`/`ladder1` today; rename together with
|
|
1904
|
+
them, or keep both names for a release.
|
|
1856
1905
|
|
|
1857
1906
|
- **grompp warns 8 times per example 2 build about two transposed hydrogens.**
|
|
1858
1907
|
Surfaced by 2.15.0 relaying grompp's warnings (htpolynet-sweep, v2.15.0
|
|
@@ -2044,7 +2093,7 @@ Coverage as of the last measurement: **38.8%** overall.
|
|
|
2044
2093
|
parameterized`), and its provenance record where one exists would carry
|
|
2045
2094
|
that, and would be worth more than this one flag: it is also the natural
|
|
2046
2095
|
home for the config hash, the htpolynet and AmberTools versions, and the
|
|
2047
|
-
seed
|
|
2096
|
+
seed (today in `seed.txt`). Raised by the calibration study, which caught the
|
|
2048
2097
|
original cache bug from a wall-clock anomaly rather than from any log line.
|
|
2049
2098
|
See also the `-lib` entry above: "a run should be able to say where its
|
|
2050
2099
|
parameterizations went" and "a result should be able to say what produced
|
|
@@ -2072,20 +2121,6 @@ Coverage as of the last measurement: **38.8%** overall.
|
|
|
2072
2121
|
returning the resolved source path across user library, user cache and
|
|
2073
2122
|
system library is the missing piece, and is worth having on its own.
|
|
2074
2123
|
|
|
2075
|
-
- **No seed control anywhere, so a build cannot be reproduced.** Three
|
|
2076
|
-
independent sources of randomness are all unseeded: `random.sample` for
|
|
2077
|
-
conformer selection (`core/runtime.py`), `np.random.random()` for the
|
|
2078
|
-
per-bond probability test (`cure/curecontroller.py`), and every `.mdp`
|
|
2079
|
-
sets `gen-vel = yes` without `gen-seed`, so Gromacs picks a pseudo-random
|
|
2080
|
-
one per run. Two runs of one config therefore diverge — example 6 gave 57
|
|
2081
|
-
vs 60 incomplete triazines on two machines at the same 0.90 conversion.
|
|
2082
|
-
That is convenient in one direction (independent replicas of a
|
|
2083
|
-
quenched-disorder ensemble come free by re-running) but it means a build
|
|
2084
|
-
reported in a paper cannot be reproduced exactly, and a failure seen once
|
|
2085
|
-
may not reappear. The fix is a top-level `seed:` that feeds all three:
|
|
2086
|
-
seed `random` and `np.random` at startup and write `gen-seed` into every
|
|
2087
|
-
generated mdp, with replicas then requested by varying it rather than by
|
|
2088
|
-
relying on entropy.
|
|
2089
2124
|
- **Drop the pre-3.5 matplotlib fallback** in `analysis/plot.py`'s
|
|
2090
2125
|
`_get_cmap()` once `matplotlib>=3.6` is a safe floor; the
|
|
2091
2126
|
`matplotlib.colormaps` registry is then always present.
|
|
@@ -28,10 +28,11 @@ We present here a series of tutorials to help illustrate usage of ``htpolynet``.
|
|
|
28
28
|
with GAFF (``gaff``, i.e. GAFF1). GAFF's Lennard-Jones and bonded
|
|
29
29
|
parameters were fitted alongside RESP charges, and AM1-BCC exists to
|
|
30
30
|
reproduce RESP cheaply, so this is the pairing GAFF is meant to be used
|
|
31
|
-
with. It costs a semi-empirical (``sqm``) calculation for every
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
31
|
+
with. It costs a semi-empirical (``sqm``) calculation for every distinct
|
|
32
|
+
molecule before the build starts, which on 16 CPU cores takes from under
|
|
33
|
+
5 minutes (example 5) to about 4 hours (example 3); molecule size, not the
|
|
34
|
+
number of templates, sets it. ``sqm`` does not use a GPU, and the results
|
|
35
|
+
are kept in the library, so only the first build pays.
|
|
35
36
|
|
|
36
37
|
Through htpolynet 2.17 the examples used Gasteiger charges
|
|
37
38
|
(``charge_method: gas``), which are fast but are not designed to reproduce
|
|
@@ -117,13 +117,21 @@ Each ``htpolynet run`` in the same base directory creates its own project
|
|
|
117
117
|
directory, so replicas are just repeated invocations of the same
|
|
118
118
|
configuration.
|
|
119
119
|
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
120
|
+
Every build has a seed (see :ref:`the seed directive <seed_directive>`). Leave it unset and
|
|
121
|
+
each run draws its own, so repeated invocations are independent replicas of
|
|
122
|
+
a quenched-disorder ensemble; if you set it, give each replicate a different
|
|
123
|
+
``--seed`` and never put one ``seed`` in a configuration several replicates
|
|
124
|
+
share, or their starting boxes will be identical. The seed in use is
|
|
125
|
+
written to ``seed.txt``.
|
|
126
|
+
|
|
127
|
+
A seed rebuilds the same *starting box* -- conformer choice and packing --
|
|
128
|
+
on any machine, which lets you tell a bad packing from a bad cure when one
|
|
129
|
+
replicate is an outlier. It does not rebuild the network: GROMACS is not
|
|
130
|
+
bitwise reproducible across thread counts or GPUs, so two cures from one
|
|
131
|
+
seed diverge after the first MD stage, and a failure seen once may not
|
|
132
|
+
reappear. Keep ``final.gro``, ``final.top`` and ``final.grx`` for any
|
|
133
|
+
network you will need again, and record the commit you built with if the
|
|
134
|
+
result matters.
|
|
127
135
|
|
|
128
136
|
Look at what you built
|
|
129
137
|
^^^^^^^^^^^^^^^^^^^^^^
|
|
@@ -162,6 +170,14 @@ A short list of traps that are known rather than mysterious:
|
|
|
162
170
|
a stale cache entry: a structure edit without a rename reuses the old
|
|
163
171
|
parameterization. ``--force-parameterization`` rebuilds.
|
|
164
172
|
|
|
173
|
+
* **LINCS warnings in the log.** After every mdrun, htpolynet counts the
|
|
174
|
+
``LINCS WARNING`` lines in that run's ``.log`` and warns with the count.
|
|
175
|
+
The run is not failed for it, but its constraints did not hold
|
|
176
|
+
everywhere, and a run that warned many times can finish with a distorted
|
|
177
|
+
density. Usual causes are a timestep too long for the temperature (hot
|
|
178
|
+
ladder rungs at ``dt = 0.002``) or, during cure, the constraints
|
|
179
|
+
themselves; see the constraints note in :doc:`program-flow`.
|
|
180
|
+
|
|
165
181
|
* **A build that dies during cure.** ``-restart`` is documented as
|
|
166
182
|
experimental and is currently broken at the cure stage, which is the worst
|
|
167
183
|
place to lose work since cure is the longest phase. Treat a dead cure as
|
|
@@ -3,12 +3,13 @@
|
|
|
3
3
|
Configuration Files for ``htpolynet run``
|
|
4
4
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
5
5
|
|
|
6
|
-
The ``htpolynet run`` configuration file tells ``htpolynet`` what it needs in order to generate a polymerized system, beginning with structures of the individual monomers and a description of the polymerization chemistry. ``htpolynet run`` expects at most
|
|
6
|
+
The ``htpolynet run`` configuration file tells ``htpolynet`` what it needs in order to generate a polymerized system, beginning with structures of the individual monomers and a description of the polymerization chemistry. ``htpolynet run`` expects at most eleven distinct sections in a configuration file:
|
|
7
7
|
|
|
8
8
|
================= =====================
|
|
9
9
|
Section name Role
|
|
10
10
|
================= =====================
|
|
11
11
|
``Title`` Just a descriptive title
|
|
12
|
+
``seed`` Seed for every random draw in the build (optional)
|
|
12
13
|
``gromacs`` Directives for interacting with Gromacs
|
|
13
14
|
``ambertools`` Directives for interacting with AmberTools
|
|
14
15
|
``GAFF`` Directives for handling inconsistencies in the General Amber Force Field
|
|
@@ -22,6 +23,12 @@ Section name Role
|
|
|
22
23
|
|
|
23
24
|
Sections can appear in any order (since the whole YAML file is like a nested python dictionary). The ``gromacs`` and ``ambertools`` sections are mainly for specifying system-specific commands for running Gromacs and AmberTools executables; they have defaults that work for simple Linux workstations. ``densification``, ``precure``, and ``postcure`` all specify series of MD simulations on the system. ``constituents`` specifies the initial make-up of the system, and ``reactions`` describe both how to build those constituents from input monomers (if necessary) as well as the types of bonds that you want to occur during polymerization. Both ``constituents`` and ``reactions`` sections are where ``htpolynet`` extracts the names of molecular species in the system and how they are chemically interrelated. ``CURE`` is the most complicated section, and it desribes how the CURE algorithm is to be run. We consider each of these eight sections (minus ``Title``) below.
|
|
24
25
|
|
|
26
|
+
.. _seed_directive:
|
|
27
|
+
|
|
28
|
+
``seed`` is a single integer between 1 and 2147483647, for example ``seed: 20261202``. A build draws randomness in four places: which conformers go into the box, the initial packing (``gmx insert-molecules``), the acceptance dice of the bond search, and ``gen-seed`` in every stage that generates velocities. Each draws from its own stream derived from ``seed``. Omit it and a seed is drawn for you; either way the seed in use is logged and written to ``seed.txt`` in the project directory and in ``systems/final-results``. ``htpolynet run --seed N`` overrides the config.
|
|
29
|
+
|
|
30
|
+
The seed rebuilds the same **starting box** on any machine, because the conformer choice and the packing come before any MD. It does **not** replay the cure. GROMACS is not bitwise reproducible across thread counts, domain decompositions or GPUs, and the dynamics are chaotic, so two cures from the same seed diverge after their first MD stage. The seeds for the bond dice and velocities are a record, not a replay; they reproduce a run only when it is repeated on the same hardware with ``mdrun -reprod``. To keep a particular network, keep its ``final.gro``, ``final.top`` and ``final.grx``. Replicates need different seeds, or none: a seed written into a config shared by several replicates makes their starting boxes identical.
|
|
31
|
+
|
|
25
32
|
.. _configuration_details:
|
|
26
33
|
|
|
27
34
|
All the details
|
|
@@ -59,7 +66,7 @@ In this section we show all subdirectives for each of the five main directives i
|
|
|
59
66
|
|
|
60
67
|
You can choose any charge method ``antechamber`` accepts; the value is passed through unchanged. The ``ambertools`` directive is optional.
|
|
61
68
|
|
|
62
|
-
The default, ``gas`` (Gasteiger), is chosen for speed, not accuracy; every shipped example sets ``bcc`` instead. GAFF's parameters were fitted alongside RESP charges, and AM1-BCC (``bcc``) is the standard inexpensive substitute for RESP, so ``bcc`` with ``gaff`` is the combination GAFF is meant to be used with; Gasteiger charges do not attempt to reproduce RESP. The cost of ``bcc`` is one semi-empirical ``sqm`` calculation per molecule parameterized, which includes every reaction template, not just the monomers.
|
|
69
|
+
The default, ``gas`` (Gasteiger), is chosen for speed, not accuracy; every shipped example sets ``bcc`` instead. GAFF's parameters were fitted alongside RESP charges, and AM1-BCC (``bcc``) is the standard inexpensive substitute for RESP, so ``bcc`` with ``gaff`` is the combination GAFF is meant to be used with; Gasteiger charges do not attempt to reproduce RESP. The cost of ``bcc`` is one semi-empirical ``sqm`` calculation per molecule parameterized, which includes every reaction template, not just the monomers. ``sqm`` does not use a GPU. The cost follows the size of the molecules, not their number: on 16 CPU cores, example 2 parameterizes 61 molecules in 2.5 hours, while example 3, whose templates join DGEBA and PACM into large molecules, parameterizes 16 in 4.2 hours. Example 4 took 78 minutes for 16 molecules, example 5 under 5 minutes for 12, and example 6 18 minutes for two (the monomer and its 835 g/mol triazine template). The number of molecules sent to ``sqm`` is the number of ``.parm`` records written, which is smaller than the number of templates the run reports generating: example 5 generates 35 templates but parameterizes 12 molecules, because symmetric copies and some products reuse parameters. Each molecule is parameterized once and kept in the library, so later builds of the same system skip this cost. The choice changes results, not just cost. In one example-6 build at ``bcc``, compared with five at ``gas`` and otherwise identical (htpolynet 2.17), the density at 300 K was about 1.1% higher (13 kg/m\ :sup:`3`, which moved it onto the experimental value), and Young's modulus was about 20% higher, well outside the spread of the ``gas`` builds; Tg did not change by more than that spread. Use ``bcc`` for any build whose numbers you will compare with experiment. If you set ``atom_type: gaff2``, choose a charge model fitted for GAFF2 rather than assuming the GAFF1 pairing carries over.
|
|
63
70
|
|
|
64
71
|
These three directives determine the parameters ``antechamber`` produces, so each parameterization records them in a ``.parm`` file checked into the library alongside its ``gro``, ``top``, ``itp``, ``tpx`` and ``grx`` files. Because the library is keyed on molecule name, that record is the only thing distinguishing a molecule parameterized one way from the same molecule parameterized another. A run whose directives disagree with the record re-parameterizes rather than reusing the cached files, and says which directives differed.
|
|
65
72
|
|
|
@@ -105,7 +105,7 @@ htpolynet Subcommand Summaries
|
|
|
105
105
|
$ htpolynet run --help
|
|
106
106
|
usage: htpolynet run [-h] [-lib LIB] [-proj PROJ] [-diag DIAG] [-restart] [--no-banner]
|
|
107
107
|
[--force-parameterization] [--force-checkin] [--param-only]
|
|
108
|
-
[--loglevel LOGLEVEL]
|
|
108
|
+
[--seed SEED] [--loglevel LOGLEVEL]
|
|
109
109
|
config
|
|
110
110
|
|
|
111
111
|
positional arguments:
|
|
@@ -126,6 +126,9 @@ htpolynet Subcommand Summaries
|
|
|
126
126
|
$HTPOLYNET_CACHE) with newly generated parameter files; a name the
|
|
127
127
|
library does not yet hold is checked in either way
|
|
128
128
|
--param-only stop after parameterizing molecules without building the full system
|
|
129
|
+
--seed SEED seed for every random draw in the build; overrides the config's seed;
|
|
130
|
+
omitted, one is drawn and recorded in seed.txt. Give replicates
|
|
131
|
+
different seeds, or none
|
|
129
132
|
--loglevel LOGLEVEL log level for the diagnostic file (debug|info)
|
|
130
133
|
|
|
131
134
|
* ``<config>`` refers to the name of the :ref:`configuration input file <configuration_files>`.
|
|
@@ -185,6 +188,7 @@ These will be explained more fully in the tutorials.
|
|
|
185
188
|
* ``--force-parameterization`` signals that ``htpolynet`` should perform all molecular parameterizations from scratch even if parameterizations exist in the library.
|
|
186
189
|
* ``--force-checkin`` signals that any parameterizations ``htpolynet`` performs should **overwrite** entries already in the library. Note that it does not control whether check-in happens at all: a molecule whose name the library does not yet hold is checked in with or without this flag.
|
|
187
190
|
* ``--param-only`` stops after parameterizing all monomers and oligomer templates without proceeding to build the full system. This is useful for debugging parameterization issues before committing to a full run.
|
|
191
|
+
* ``--seed`` sets the build seed, overriding a ``seed`` in the config (see :ref:`the seed directive <seed_directive>`). Without either, a seed is drawn; it is logged and written to ``seed.txt`` in the project directory and in ``systems/final-results``. The same seed rebuilds the same starting box; it does not replay the cure. Give each replicate its own ``--seed``, or none.
|
|
188
192
|
|
|
189
193
|
.. _parameterization_caching:
|
|
190
194
|
|
|
@@ -405,6 +409,8 @@ The simulations are controlled by the YAML-format config file, which is _distinc
|
|
|
405
409
|
|
|
406
410
|
``htpolynet plots post`` reports a ladder's *T*:sub:`g` as the crossing of two straight lines, one fitted to the coldest rungs and one to the hottest (``--n-points`` sets how many of each). It gives the crossing of the curve averaged over builds and, with more than one build, the mean and standard deviation of each build's own crossing, and the range the crossing covers over a grid of fit windows; when that range leaves the ladder, the lines are nearly parallel and no *T*:sub:`g` can be read. It also logs a whole-curve hyperbola fit, labeled as a diagnostic: that fit's *T*:sub:`g` depends on whether density, its logarithm or the specific volume is fitted and drifts with the ladder's top, so it is not the number to quote.
|
|
407
411
|
|
|
412
|
+
Each ladder's averaged curve and fitted lines go to ``ladder<k>-data.csv``, where ``<k>`` is the ladder's position among the config's ladders, not its direction: a config with only a heating ladder writes it as ``ladder0-data.csv``. The file's ``direction`` column (``heating`` or ``cooling``), and the log line announcing it, say which it is; read that rather than assuming ``ladder0`` is cooling.
|
|
413
|
+
|
|
408
414
|
A ``deform`` stage stretches the box along ``direction`` (``x``, ``y`` or ``z``) at the strain rate ``edot`` (ps\ :sup:`-1`) for ``ps`` picoseconds, holding the other two directions at ``P``, so the pull reaches a strain of ``edot`` × ``ps``. ``htpolynet plots post`` fits Young's modulus *E* to every ``deform`` stage in the config. Three settings control how well that number is known:
|
|
409
415
|
|
|
410
416
|
* ``fit_strain`` (default ``[0.001, 0.03]``) is the strain window the fit covers, and ``ps`` (default 40, so 4 % at the default ``edot`` of 0.001) must take the pull past its upper end; if it does not, ``plots post`` says so and fits what there is.
|
|
@@ -477,7 +483,8 @@ The ``gen-slurm-script`` subcommand emits a SLURM batch script that wraps a sing
|
|
|
477
483
|
$ htpolynet gen-slurm-script -h
|
|
478
484
|
usage: htpolynet gen-slurm-script [-h] [-lib LIB] [-proj PROJ] [-diag DIAG] [-restart]
|
|
479
485
|
[--no-banner] [--force-parameterization] [--force-checkin]
|
|
480
|
-
[--param-only] [--
|
|
486
|
+
[--param-only] [--seed SEED] [--loglevel LOGLEVEL] [--native]
|
|
487
|
+
[--sif SIF]
|
|
481
488
|
[--apptainer-alias APPTAINER_ALIAS] [-o OUTPUT]
|
|
482
489
|
[--job-name JOB_NAME] [--partition PARTITION]
|
|
483
490
|
[--account ACCOUNT] [--nodes NODES] [--ntasks NTASKS]
|
|
@@ -778,8 +778,12 @@ def do_tg_plots(phases,projdirs,outfile='tg.png',save_data='data.csv',n_points=[
|
|
|
778
778
|
ax[i].text(Tg,c[0]*Tg+c[1],f' {Tg:.2f} K',verticalalignment='top')
|
|
779
779
|
means[v]['glassy-line-Density']=c[0]*m['Temperature']+c[1]
|
|
780
780
|
means[v]['rubbery-line-Density']=h[0]*m['Temperature']+h[1]
|
|
781
|
+
# ladder{v} numbers ladders by config position, so a heating-only config writes
|
|
782
|
+
# its heating branch as ladder0; the direction column says which it is
|
|
783
|
+
# (htpolynet-sweep, 2026-12-02)
|
|
784
|
+
means[v]['direction']='heating' if rate[i]>0 else 'cooling'
|
|
781
785
|
means[v].to_csv(f'ladder{v}-{save_data}',index=False,header=True,sep=' ')
|
|
782
|
-
logger.info(f'ladder{v}-{save_data} created.')
|
|
786
|
+
logger.info(f'ladder{v}-{save_data} ({means[v]["direction"].iloc[0]}) created.')
|
|
783
787
|
plt.savefig(outfile,bbox_inches='tight')
|
|
784
788
|
plt.close(fig)
|
|
785
789
|
# direction from the sign of the ladder's own deltaT, not its position in the
|
|
@@ -900,6 +904,7 @@ def do_E_plots(phases,projdirs,outfile='e.png',save_data='E.csv',fit_strain=None
|
|
|
900
904
|
fit_strain=list(sorted(windows)[0])
|
|
901
905
|
lo,hi=fit_strain
|
|
902
906
|
curves=[]
|
|
907
|
+
missing=[]
|
|
903
908
|
for p in phases:
|
|
904
909
|
params={**PostSimDeform.default_params,**p['deform']}
|
|
905
910
|
dir=params['direction']
|
|
@@ -912,12 +917,25 @@ def do_E_plots(phases,projdirs,outfile='e.png',save_data='E.csv',fit_strain=None
|
|
|
912
917
|
if not found and os.path.isdir(os.path.join(d,params['subdir'])):
|
|
913
918
|
# a run from before replicas existed, or one with replicas: 1
|
|
914
919
|
found=[params['subdir']]
|
|
920
|
+
elif not found:
|
|
921
|
+
missing.append(f'{d}/{params["subdir"]}')
|
|
922
|
+
continue
|
|
915
923
|
elif len(found)<len(subs):
|
|
916
924
|
logger.warning(f'{d}: found {len(found)} of {len(subs)} replica directories for '
|
|
917
925
|
f'{params["subdir"]}; fitting those')
|
|
918
926
|
for sub in found:
|
|
919
927
|
df=pd.read_csv(os.path.join(d,sub,f'deform-{dir}.csv'),index_col=None,header=0)
|
|
920
928
|
curves.append((os.path.join(d,sub),pd.DataFrame({'strain':df[strain_name],'stress':(df[stress_name]*MPa_per_bar)})))
|
|
929
|
+
if not curves:
|
|
930
|
+
# no deform stage has run in any project; a ladder-only project is a normal
|
|
931
|
+
# state, and the Tg output already written must not be undone by an error
|
|
932
|
+
# here (htpolynet-sweep, 2026-11-19: min() of an empty list, after the ladder
|
|
933
|
+
# CSVs were written, made plots post exit nonzero)
|
|
934
|
+
logger.warning(f'no deform stage has run ({", ".join(missing)} not found); '
|
|
935
|
+
f'skipping Young\'s modulus')
|
|
936
|
+
return None
|
|
937
|
+
if missing:
|
|
938
|
+
logger.warning(f'deform stages not found, left out of E: {", ".join(missing)}')
|
|
921
939
|
reached=min(c['strain'].max() for _,c in curves)
|
|
922
940
|
if reached<hi:
|
|
923
941
|
logger.warning(f'the shortest pull reaches strain {reached:.4f}, short of the fit window\'s '
|
|
@@ -985,6 +1003,14 @@ def post_plots(args):
|
|
|
985
1003
|
mdf=[]
|
|
986
1004
|
for p in args.proj:
|
|
987
1005
|
if 'anneal' in phasenames and 'equilibrate' in phasenames:
|
|
1006
|
+
need=[os.path.join(p,'postsim',s,f'{s}.csv') for s in ('anneal','equilibrate')]
|
|
1007
|
+
absent=[f for f in need if not os.path.exists(f)]
|
|
1008
|
+
if absent:
|
|
1009
|
+
# a stage that has not run is reported, not fatal: it used to raise
|
|
1010
|
+
# here, before the ladders and pulls that had run were analyzed
|
|
1011
|
+
logger.warning(f'{", ".join(absent)} not found; leaving {p} out of the '
|
|
1012
|
+
f'anneal/equilibrate density')
|
|
1013
|
+
continue
|
|
988
1014
|
mdf.append(postsim_density_evolution(p))
|
|
989
1015
|
if mdf:
|
|
990
1016
|
multi_trace(mdf,xnames=['time(ps)']*len(mdf),ynames=['Density']*len(mdf),labels=args.proj,ylabel='Density [kg/m$^3$]',outfile='anneal-equil-density.png')
|
|
@@ -83,7 +83,7 @@ def run(args: ap.Namespace):
|
|
|
83
83
|
software.sw_setup()
|
|
84
84
|
my_logger(software.to_string(), logger.info)
|
|
85
85
|
pfs.pfs_setup(root=os.getcwd(), topdirs=pfs.Dirs.run_topdirs, verbose=True, projdir=args.proj, reProject=args.restart, userlibrary=userlib)
|
|
86
|
-
a = Runtime(cfgfile=args.config, restart=args.restart)
|
|
86
|
+
a = Runtime(cfgfile=args.config, restart=args.restart, seed=args.seed)
|
|
87
87
|
if args.param_only:
|
|
88
88
|
a.generate_molecules(force_checkin=args.force_checkin, force_parameterization=args.force_parameterization)
|
|
89
89
|
else:
|
|
@@ -166,6 +166,7 @@ def _add_run_options(p, loglevel='debug'):
|
|
|
166
166
|
p.add_argument('--force-parameterization',default=False,action='store_true',help='force GAFF parameterization of any input mol2 structures')
|
|
167
167
|
p.add_argument('--force-checkin',default=False,action='store_true',help='overwrite entries already in the user library (~/.htpolynet, or $HTPOLYNET_CACHE) with newly generated parameter files; a name the library does not yet hold is checked in either way')
|
|
168
168
|
p.add_argument('--param-only',default=False,action='store_true',help='stop after parameterizing molecules without building the full system')
|
|
169
|
+
p.add_argument('--seed',type=int,default=None,help='seed for every random draw in the build; overrides the config\'s seed; omitted, one is drawn and recorded in seed.txt. Give replicates different seeds, or none')
|
|
169
170
|
p.add_argument('--loglevel',type=str,default=loglevel,help='log level for the diagnostic file (debug|info)')
|
|
170
171
|
|
|
171
172
|
|
|
@@ -223,6 +224,7 @@ def gen_slurm_script(args: ap.Namespace):
|
|
|
223
224
|
'force_parameterization': args.force_parameterization,
|
|
224
225
|
'force_checkin': args.force_checkin,
|
|
225
226
|
'param_only': args.param_only,
|
|
227
|
+
'seed': args.seed,
|
|
226
228
|
'loglevel': args.loglevel,
|
|
227
229
|
}
|
|
228
230
|
|
|
@@ -48,6 +48,7 @@ class Configuration:
|
|
|
48
48
|
self.cfgfile = ''
|
|
49
49
|
self.title = ''
|
|
50
50
|
self.ncpu = os.cpu_count()
|
|
51
|
+
self.seed = None # None: draw one; see core.seeding
|
|
51
52
|
self.constituents = {} # {name: {count: N, ...}}
|
|
52
53
|
self.reaction_specs = [] # raw reaction dicts
|
|
53
54
|
self.initial_composition = [] # [{'molecule': name, 'count': N}]
|
|
@@ -122,6 +123,7 @@ class Configuration:
|
|
|
122
123
|
"""Populates named attributes from self.basedict."""
|
|
123
124
|
self.title = self.basedict.get('Title', 'No title provided')
|
|
124
125
|
self.ncpu = self.basedict.get('ncpu', os.cpu_count())
|
|
126
|
+
self.seed = self.basedict.get('seed', None)
|
|
125
127
|
self.constituents = self.basedict.get('constituents', {})
|
|
126
128
|
self.reaction_specs = list(self.basedict.get('reactions', []) or [])
|
|
127
129
|
if any(isinstance(v, dict) and v.get('activate') for v in self.constituents.values()):
|
|
@@ -547,7 +547,14 @@ class Molecule:
|
|
|
547
547
|
else:
|
|
548
548
|
if self.name != self.parentname:
|
|
549
549
|
logger.info(f'Built {self.name} using topology of {self.parentname}; copying {self.parentname}.top to {self.name}.top')
|
|
550
|
-
|
|
550
|
+
# Read back the mol2 this molecule just wrote, for its bond table only
|
|
551
|
+
# (coordinates stay from the gro). Without it the molecule has no
|
|
552
|
+
# mol2_bonds, and a later template that merges it in -- GMAS-4..15 merge
|
|
553
|
+
# GM1S-k -- kept only its other reactant's bonds: 24 of 78 in example 2
|
|
554
|
+
# (htpolynet-sweep, 2026-11-24). Reading it also runs the bond check now.
|
|
555
|
+
own_mol2 = f'{self.name}.mol2' if os.path.exists(f'{self.name}.mol2') else ''
|
|
556
|
+
self.load_top_gro(f'{self.parentname}.top', f'{self.name}.gro', tpxfilename=f'{self.parentname}.tpx',
|
|
557
|
+
mol2filename=own_mol2, wrap_coords=False)
|
|
551
558
|
shutil.copy(f'{self.parentname}.top', f'{self.name}.top')
|
|
552
559
|
shutil.copy(f'{self.parentname}.grx', f'{self.name}.grx')
|
|
553
560
|
shutil.copy(f'{self.parentname}.tpx', f'{self.name}.tpx')
|
|
@@ -4,7 +4,6 @@ Author: Cameron F. Abrams <cfa22@drexel.edu>
|
|
|
4
4
|
"""
|
|
5
5
|
import logging
|
|
6
6
|
import os
|
|
7
|
-
import random
|
|
8
7
|
import shutil
|
|
9
8
|
|
|
10
9
|
import yaml
|
|
@@ -21,6 +20,7 @@ from networkx.algorithms import isomorphism
|
|
|
21
20
|
from ..analysis.plot import trace
|
|
22
21
|
from ..core import paramcache
|
|
23
22
|
from ..core import projectfilesystem as pfs
|
|
23
|
+
from ..core import seeding
|
|
24
24
|
from ..core.configuration import Configuration
|
|
25
25
|
from ..core.molecule import Molecule, MoleculeDict
|
|
26
26
|
from ..core.topocoord import TopoCoord
|
|
@@ -139,12 +139,14 @@ class Runtime:
|
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
def __init__(self,cfgfile='',restart=False):
|
|
142
|
+
def __init__(self,cfgfile='',restart=False,seed=None):
|
|
143
143
|
"""Generates a new Runtime object based on the cfg file.
|
|
144
144
|
|
|
145
145
|
Args:
|
|
146
146
|
cfgfile (str): name of YAML cfg file, defaults to ''
|
|
147
147
|
restart (bool): flag indicating if this is a restart
|
|
148
|
+
seed (int | None): build seed from the command line; overrides the
|
|
149
|
+
config's ``seed``, defaults to None
|
|
148
150
|
"""
|
|
149
151
|
self.cfgfile=cfgfile
|
|
150
152
|
if cfgfile=='':
|
|
@@ -158,6 +160,7 @@ class Runtime:
|
|
|
158
160
|
self.restart=restart
|
|
159
161
|
if restart:
|
|
160
162
|
logger.info(f'Restarting in {pfs.proj()}')
|
|
163
|
+
self._set_seed(seed)
|
|
161
164
|
self.frcmods=self._read_frcmods()
|
|
162
165
|
self.molecules:MoleculeDict={}
|
|
163
166
|
# molecules reused from a library entry that carries no provenance
|
|
@@ -852,6 +855,38 @@ class Runtime:
|
|
|
852
855
|
self._do_pap(pfx='postcure')
|
|
853
856
|
return {c:os.path.basename(x) for c,x in self.TopoCoord.files.items() if c!='mol2'}
|
|
854
857
|
|
|
858
|
+
SEED_FILE='seed.txt'
|
|
859
|
+
|
|
860
|
+
def _set_seed(self,cli_seed=None):
|
|
861
|
+
"""Sets the build seed and writes it into the project directory.
|
|
862
|
+
|
|
863
|
+
Precedence: ``--seed``, then the config's ``seed``, then (on a restart)
|
|
864
|
+
the seed the project recorded, then a freshly drawn one.
|
|
865
|
+
|
|
866
|
+
Args:
|
|
867
|
+
cli_seed (int | None): seed from the command line, defaults to None
|
|
868
|
+
"""
|
|
869
|
+
recorded=os.path.join(pfs.proj(),self.SEED_FILE)
|
|
870
|
+
if cli_seed is not None:
|
|
871
|
+
seeding.set_seed(cli_seed,source='--seed')
|
|
872
|
+
elif self.cfg.seed is not None:
|
|
873
|
+
seeding.set_seed(self.cfg.seed,source=f'seed in {os.path.basename(self.cfgfile)}')
|
|
874
|
+
elif self.restart and os.path.exists(recorded):
|
|
875
|
+
with open(recorded) as f:
|
|
876
|
+
seeding.set_seed(int(f.read().split()[0]),source=f'recorded in {recorded}')
|
|
877
|
+
else:
|
|
878
|
+
seeding.set_seed()
|
|
879
|
+
self._write_seed(recorded)
|
|
880
|
+
|
|
881
|
+
def _write_seed(self,filename):
|
|
882
|
+
"""Writes the build seed and its source to a file.
|
|
883
|
+
|
|
884
|
+
Args:
|
|
885
|
+
filename (str): file to write
|
|
886
|
+
"""
|
|
887
|
+
with open(filename,'w') as f:
|
|
888
|
+
f.write(f'{seeding.seed()}\n# {seeding.source()}; see htpolynet.core.seeding\n')
|
|
889
|
+
|
|
855
890
|
@cp.enableCheckpoint
|
|
856
891
|
def save_data(self,result_name='final'):
|
|
857
892
|
"""Writes 'gro', 'top', 'tpx', and 'grx' files for system, plus a PSF
|
|
@@ -874,6 +909,7 @@ class Runtime:
|
|
|
874
909
|
TC.write_gro(f'{result_name}.gro')
|
|
875
910
|
TC.write_top(f'{result_name}.top')
|
|
876
911
|
TC.write_tpx(f'{result_name}.tpx')
|
|
912
|
+
self._write_seed(self.SEED_FILE)
|
|
877
913
|
self._write_vmd_viz_files(result_name)
|
|
878
914
|
return {c:os.path.basename(x) for c,x in TC.files.items() if c!='mol2'}
|
|
879
915
|
|
|
@@ -1376,7 +1412,7 @@ class Runtime:
|
|
|
1376
1412
|
if len(M.conformers)>0:
|
|
1377
1413
|
nconf=len(M.conformers)
|
|
1378
1414
|
if tc<nconf:
|
|
1379
|
-
c_togromacs.update({u:1 for u in
|
|
1415
|
+
c_togromacs.update({u:1 for u in seeding.sample('conformers',M.conformers,tc)})
|
|
1380
1416
|
else:
|
|
1381
1417
|
q,r=divmod(tc,nconf)
|
|
1382
1418
|
logger.debug(f'divmod({nconf},{tc}) gives {q}, {r}')
|