HTPolyNet 2.11.5__tar.gz → 2.12.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.11.5 → htpolynet-2.12.0}/CHANGELOG.md +112 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/PKG-INFO +1 -1
- {htpolynet-2.11.5 → htpolynet-2.12.0}/ROADMAP.md +38 -6
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/htpolynetpackage.rst +10 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/user-guide/usage.rst +52 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/pyproject.toml +1 -1
- htpolynet-2.12.0/src/htpolynet/analysis/piercings.py +226 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/cli.py +7 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/core/runtime.py +4 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/cure/ringcontroller.py +117 -3
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/cure/triplesearch.py +54 -21
- htpolynet-2.12.0/src/htpolynet/geometry/piercing.py +120 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/schema/base.yaml +11 -0
- htpolynet-2.12.0/tests/unit/test_config_docs_coverage.py +57 -0
- htpolynet-2.12.0/tests/unit/test_piercings.py +278 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/test_ringcontroller.py +107 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/.claude/settings.json +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/.claude/skills/htpolynet/SKILL.md +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/.envrc +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/.github/workflows/conda-forge-sync.yml +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/.github/workflows/docker.yml +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/.github/workflows/docs.yml +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/.github/workflows/release.yaml +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/.github/workflows/test.yml +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/.gitignore +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/.readthedocs.yaml +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/CITATION.cff +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/CLAUDE.md +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/LICENSE +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/MANIFEST.in +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/README.md +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docker/Dockerfile +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docker/compose.yml +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docker/docker-entrypoint.sh +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/Makefile +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/README.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/make.bat +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/requirements.txt +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/_static/.gitkeep +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/_static/htpolynet-favicon.ico +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/_static/htpolynet-landing.jpg +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/_static/htpolynet-logo-dark.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/_static/htpolynet-logo-light.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/changelog.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/conf.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/0-liquid-styrene/configuration.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/0-liquid-styrene/index.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/0-liquid-styrene/introduction.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/0-liquid-styrene/monomer.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/0-liquid-styrene/postsim.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/0-liquid-styrene/results.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/0-liquid-styrene/run.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/1-polystyrene/configuration.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/1-polystyrene/index.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/1-polystyrene/introduction.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/1-polystyrene/monomer.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/1-polystyrene/pics/STY.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/1-polystyrene/pics/STYCC.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/1-polystyrene/pics/buildtraces.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/1-polystyrene/pics/cure_info.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/1-polystyrene/pics/densification-density.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/1-polystyrene/pics/final-box.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/1-polystyrene/pics/reaction_network.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/1-polystyrene/pics/sty-coloring.tcl +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/1-polystyrene/pics/sty-cured.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/1-polystyrene/pics/sty-detail.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/1-polystyrene/pics/sty-liq.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/1-polystyrene/pics/styrene-polymerization.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/1-polystyrene/postsim.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/1-polystyrene/reactions.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/1-polystyrene/results.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/1-polystyrene/run.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/configuration.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/index.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/introduction.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/BPA.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/GMA.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/HIE.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/buildtraces.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/cure_info.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/densification-density.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/four_dimers.eps +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/four_dimers.fig +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/four_dimers.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/gma-sty-coloring.tcl +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/gma-sty-cured.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/gma-sty-detail.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/gma-sty-liq.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/p1-traces.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/reaction_network.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/vesys.eps +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/vesys.fig +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/pics/vesys.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/postsim.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/reactions.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/results.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/2-bisgma-styrene-thermoset/run.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/configuration.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/index.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/introduction.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/monomers.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/DGE-epoxy.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/DGE-labelled.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/PAC-2d.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/PAC-labelled.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/buildtraces.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/cure_info.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/densification-density.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/dge-pac-coloring.tcl +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/dge-pac-cured.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/dge-pac-detail.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/dge-pac-liq.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/dgesys.eps +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/dgesys.fig +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/dgesys.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/equil-rho_v_ns.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/postsim-typical.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/prod-e.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/prod-equil-rho_v_ns.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/prod-rho_v_ns.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/prod-tg.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/r1.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/r2.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/r3.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/reaction_network.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/rho_v_ns.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/short-e.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/pics/short-tg.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/postsim.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/reactions.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/results.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/3-pacm-dgeba-epoxy-thermoset/run.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/configuration.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/index.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/introduction.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/monomers.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/pics/buildtraces.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/pics/cure_info.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/pics/densification-density.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/pics/dfa-fde-coloring.tcl +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/pics/dfa-fde-cured.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/pics/dfa-fde-detail.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/pics/dfa-fde-liq.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/pics/reaction_network.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/postsim.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/reactions.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/results.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/4-dfda-fde-epoxy-thermoset/run.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/5-htpb-ipdi/configuration.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/5-htpb-ipdi/index.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/5-htpb-ipdi/introduction.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/5-htpb-ipdi/monomers.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/5-htpb-ipdi/pics/buildtraces.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/5-htpb-ipdi/pics/cure_info.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/5-htpb-ipdi/pics/densification-density.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/5-htpb-ipdi/pics/htpb-coloring.tcl +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/5-htpb-ipdi/pics/htpb-ipdi-cured.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/5-htpb-ipdi/pics/htpb-ipdi-detail.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/5-htpb-ipdi/pics/htpb-ipdi-liq.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/5-htpb-ipdi/pics/reaction_network.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/5-htpb-ipdi/postsim.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/5-htpb-ipdi/reactions.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/5-htpb-ipdi/results.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/5-htpb-ipdi/run.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/6-cyanate-ester/configuration.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/6-cyanate-ester/index.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/6-cyanate-ester/introduction.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/6-cyanate-ester/monomers.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/6-cyanate-ester/pics/badcy-coloring.tcl +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/6-cyanate-ester/pics/badcy-cured.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/6-cyanate-ester/pics/badcy-detail.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/6-cyanate-ester/pics/badcy-liq.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/6-cyanate-ester/pics/buildtraces.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/6-cyanate-ester/pics/cure_info.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/6-cyanate-ester/pics/densification-density.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/6-cyanate-ester/pics/reaction_network.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/6-cyanate-ester/postsim.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/6-cyanate-ester/reactions.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/6-cyanate-ester/results.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/6-cyanate-ester/run.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/example-tutorials/index.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/index.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/install.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/references/index.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/references/mol2-reference.pdf +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/references.bib +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/user-guide/CURE.odg +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/user-guide/bond_filter.odg +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/user-guide/building-a-system.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/user-guide/configs/configs-for-analyze.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/user-guide/configs/configs-for-postsim.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/user-guide/configs/configs-for-run.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/user-guide/configuration-files.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/user-guide/container-usage.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/user-guide/flow1.odg +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/user-guide/flow1yaml.odg +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/user-guide/hydrogenated.eps +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/user-guide/hydrogenated.fig +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/user-guide/index.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/user-guide/molecular-structure-inputs.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/user-guide/periodic-networks.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/user-guide/pics/STY.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/user-guide/pics/STYCC.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/user-guide/pics/TypicalUsageFlow.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/user-guide/pics/bond_filter.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/user-guide/pics/chemdoodle-2dsketcher-emb.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/user-guide/pics/chemdoodle-2dsketcher-styrene.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/user-guide/pics/hydrogenated.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/user-guide/pics/ring_pierce/ring_pierce_cases.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/user-guide/pics/ring_pierce/ring_pierce_linkcell.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/user-guide/postcure-repair.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/docs/source/user-guide/program-flow.rst +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/scripts/check-conda-sync.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/scripts/release.sh +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/scripts/render-detail.sh +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/scripts/render-detail.tcl +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/scripts/render-snapshot.sh +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/scripts/run_all_examples.sh +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/__init__.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/analysis/__init__.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/analysis/analyze.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/analysis/plot.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/analysis/postsim.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/analysis/utils.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/core/__init__.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/core/bondtemplate.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/core/configuration.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/core/coordinates.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/core/molecule.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/core/paramcache.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/core/productsplice.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/core/projectfilesystem.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/core/topocoord.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/core/topology.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/cure/__init__.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/cure/chain.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/cure/curecontroller.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/cure/expandreactions.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/cure/reaction.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/external/__init__.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/external/ambertools.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/external/command.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/external/gromacs.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/external/slurm.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/external/smiles_input.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/external/software.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/geometry/__init__.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/geometry/bondlist.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/geometry/lattice.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/geometry/linkcell.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/geometry/matrix4.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/geometry/placement.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/geometry/ring.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/geometry/templategeom.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/io/__init__.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/io/gro.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/io/mol2.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/io/pdb.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/repair/__init__.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/repair/cyanate_cap.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/repair/topology_surgery.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/resources/README.md +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/resources/__init__.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/resources/claude/SKILL.md +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/resources/example_depot/0-liquid-styrene.yaml +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/resources/example_depot/1-polystyrene.yaml +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/resources/example_depot/2-bisgma-styrene-thermoset.yaml +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/resources/example_depot/3-pacm-dgeba-epoxy-thermoset.yaml +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/resources/example_depot/4-dfda-fde-epoxy-thermoset.yaml +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/resources/example_depot/5-htpb-ipdi.yaml +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/resources/example_depot/6-cyanate-ester.yaml +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/resources/mdp/README.md +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/resources/mdp/drag-min.mdp +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/resources/mdp/drag-npt.mdp +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/resources/mdp/drag-nvt.mdp +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/resources/mdp/min.mdp +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/resources/mdp/npt.mdp +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/resources/mdp/nvt.mdp +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/resources/mdp/relax-min.mdp +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/resources/mdp/relax-npt.mdp +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/resources/mdp/relax-nvt.mdp +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/resources/mdp/single-molecule-min.mdp +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/resources/mdp/single-molecule-nvt.mdp +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/resources/molecules/inputs/DFA.pdb +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/resources/molecules/inputs/DGE.mol2 +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/resources/molecules/inputs/EMB.mol2 +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/resources/molecules/inputs/FDE.pdb +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/resources/molecules/inputs/GMA.mol2 +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/resources/molecules/inputs/PAC.mol2 +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/resources/molecules/inputs/STY.mol2 +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/resources/molecules/make-monomers.sh +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/resources/molecules/pics/DFA.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/resources/molecules/pics/DGE.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/resources/molecules/pics/EMB.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/resources/molecules/pics/FDE.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/resources/molecules/pics/GMA.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/resources/molecules/pics/PAC.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/resources/molecules/pics/STY.png +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/resources/molecules/sample-inputs/DFA.pdb +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/resources/molecules/sample-inputs/DGE.mol2 +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/resources/molecules/sample-inputs/EMB.mol2 +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/resources/molecules/sample-inputs/FDE.pdb +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/resources/molecules/sample-inputs/GMA.mol2 +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/resources/molecules/sample-inputs/PAC.mol2 +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/resources/molecules/sample-inputs/STY.mol2 +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/resources/tcl/readbonds.tcl +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/resources/tcl/readgrx.tcl +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/resources/tcl/render.tcl +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/utils/__init__.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/utils/banner.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/utils/checkpoint.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/utils/convergence.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/utils/dataframetools.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/utils/inputcheck.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/utils/logsetup.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/utils/profiling.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/utils/stringthings.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/src/htpolynet/utils/vmd_viz.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/__init__.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/conftest.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/__init__.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/fixtures/config1.gro +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/fixtures/config1.top +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/fixtures/config2.gro +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/fixtures/config2.top +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/fixtures/items31.edr +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/fixtures/items43.edr +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/fixtures/items45.edr +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/fixtures/short.mdp +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/test_bondtemplate.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/test_cap_placement.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/test_chain.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/test_checkout_shadowing.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/test_completion_bias.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/test_conda_sync.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/test_configuration.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/test_convergence.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/test_cure_site_functionality.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/test_dataframetools.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/test_density_gate.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/test_gpu_usability.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/test_gromacs_get_energy_menu.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/test_gromacs_gmx_energy_trace.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/test_inputcheck.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/test_linkcell_pierce.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/test_mdrun_gpu_options.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/test_mol2_bond_fallback.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/test_molecule_charge_report.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/test_moleculetype_name.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/test_multibody_reactions.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/test_overlong_bond_report.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/test_paramcache.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/test_paramcache_ambertools.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/test_parameterize_react.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/test_placement_and_ringclose.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/test_plot_smoke.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/test_productsplice.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/test_projectfilesystem.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/test_relax_instrumentation.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/test_repair_charge_neutrality.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/test_repair_conversion.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/test_resources.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/test_ring.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/test_ring_cure_schema.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/test_ring_pierce_figs.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/test_setup_claude.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/test_sibling_templates.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/test_slurm_script.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/test_smiles_input.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/test_software_provenance.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/test_templategeom.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/test_topology/test.top +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/test_topology.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/test_transrot_turn_scan.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/test_triplesearch.py +0 -0
- {htpolynet-2.11.5 → htpolynet-2.12.0}/tests/unit/test_user_frcmod.py +0 -0
|
@@ -7,6 +7,118 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [2.12.0] - 2026-09-28
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- **A test now fails when a configuration section is added without documenting it.**
|
|
15
|
+
`configs-for-run.rst` still opens by saying a run config has "at most ten distinct
|
|
16
|
+
sections" while the schema has fourteen: `ncpu`, `ring_cure` and `postcure_repair` have
|
|
17
|
+
never been written up. The new test carries those three in a named list so the
|
|
18
|
+
existing debt does not block the suite, fails on any *new* undocumented section, and
|
|
19
|
+
fails again if one of the three is documented and left on the list.
|
|
20
|
+
|
|
21
|
+
- **`htpolynet piercings` reports any bond threaded through a ring in a finished
|
|
22
|
+
network.** Since 2.11.4 a ring cure can *refuse* to create a threading, and there was
|
|
23
|
+
no way to ask whether one is there. That asymmetry is the reason this exists: a
|
|
24
|
+
preventive check whose effect cannot be measured with the same tool is hard to trust,
|
|
25
|
+
and every number that justified those filters came from scripts outside the package.
|
|
26
|
+
Nothing about it is chemistry-specific --- any network built by dragging monomers
|
|
27
|
+
together can thread a bond through a ring.
|
|
28
|
+
|
|
29
|
+
It takes a top and gro pair like `make-viz`, reports each piercing with the ring's
|
|
30
|
+
composition, whether the piercing bond belongs to a residue of the ring, the offset of
|
|
31
|
+
the crossing from the ring centre in nm and as a fraction of the ring radius, the
|
|
32
|
+
angle to the ring normal, and the bond length; it correlates those against bonds too
|
|
33
|
+
long to be bonds, which in measured data are the same set. `-json` writes the
|
|
34
|
+
findings out. It exits 1 when it finds any, so it can gate a pipeline.
|
|
35
|
+
|
|
36
|
+
The geometry moved to `htpolynet.geometry.piercing`, shared with the ring cure's own
|
|
37
|
+
filters so that a measurement and the thing it measures cannot drift apart.
|
|
38
|
+
|
|
39
|
+
**Validated against 12 independently measured builds** (8 affected, 10 piercings):
|
|
40
|
+
counts agree on all 12, including the four clean ones, and both interlocked cases are
|
|
41
|
+
found with both halves. Bond lengths agree to the last digit, offsets within
|
|
42
|
+
0.001 A, angles within 0.03 degrees. Four of those piercings are in the test suite as
|
|
43
|
+
fixtures, atom-for-atom.
|
|
44
|
+
|
|
45
|
+
That comparison found two defects in the reference data rather than in this code ---
|
|
46
|
+
atom indices off by one, and a fraction divided by a mean rather than a maximum
|
|
47
|
+
centre-to-vertex distance --- both since corrected upstream. The index error was
|
|
48
|
+
findable only by testing whether the reported ring was a closed cycle in the topology,
|
|
49
|
+
which is the check worth keeping in mind when two implementations are compared: agree
|
|
50
|
+
with the data, not with the other detector.
|
|
51
|
+
|
|
52
|
+
The angle is reported as `angle_from_normal`, and **0 degrees means the bond runs
|
|
53
|
+
straight through**, perpendicular to the ring plane. The report says so in a legend,
|
|
54
|
+
because the obvious reading of such a field is the opposite one.
|
|
55
|
+
|
|
56
|
+
Documented in the user guide, in the subcommand table and with a section of its own,
|
|
57
|
+
alongside a note that a threaded ring is a topological defect rather than a strain
|
|
58
|
+
relaxation removes: if one is found in a finished build, rebuilding with the ring-cure
|
|
59
|
+
filters on is the remedy and there is no post-hoc repair.
|
|
60
|
+
|
|
61
|
+
**Image before you average.** Every ring atom is brought into one periodic image
|
|
62
|
+
before the centroid is taken. Without that, a ring straddling a boundary gets a
|
|
63
|
+
centroid in the middle of the box and a triangle fan spanning the cell: measured here
|
|
64
|
+
on a 2 nm box, a 0.14 nm ring reads as 0.938 nm about a centre a full box-half away,
|
|
65
|
+
which reports a piercing for nearly everything nearby. A detector written without it
|
|
66
|
+
found 212 piercings in an uncured melt, where the answer is zero by construction, and
|
|
67
|
+
about 15% of rings straddle a boundary in a real system. The test suite covers that
|
|
68
|
+
case, its converse, over-long piercing bonds of 2.4 to 3.2 A, composition classified
|
|
69
|
+
on the whole ring rather than on a residue count or a truncated printout, and two
|
|
70
|
+
interlocked rings.
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
## [2.11.6] - 2026-09-27
|
|
74
|
+
|
|
75
|
+
### Added
|
|
76
|
+
|
|
77
|
+
- **A ring cure now refuses a closure that threads a ring already present, and registers
|
|
78
|
+
the rings it makes.** Two halves of one gap.
|
|
79
|
+
|
|
80
|
+
`reject_threaded_rings`, added in 2.11.4, asks whether a *new* ring would close around
|
|
81
|
+
an existing bond. It does not ask the converse --- whether dragging three monomers
|
|
82
|
+
together has run one of *their* bonds through a ring that was already there. Over ten
|
|
83
|
+
builds htpolynet-study found that second kind is mostly phenyls, which outnumber
|
|
84
|
+
triazines about six to one here, and that two of three were made by the cure rather
|
|
85
|
+
than by packing: one appeared in the same iteration as a triazine piercing, which is
|
|
86
|
+
what identifies the two as a single event. `reject_new_threading` closes it.
|
|
87
|
+
|
|
88
|
+
Only threadings the ladder *creates* count. The participating monomers are surveyed
|
|
89
|
+
before the closure ladder and again after it, so a monomer that arrived from packing
|
|
90
|
+
already threaded is not silently refused every reaction for the rest of the build ---
|
|
91
|
+
one of those exists in their data.
|
|
92
|
+
|
|
93
|
+
The second half is that **`Topology.rings` never contained a cure-formed ring.**
|
|
94
|
+
`detect_rings()` runs once per molecule template and the list is replicated at system
|
|
95
|
+
build; nothing updated it afterwards, and the product splice did not register the
|
|
96
|
+
triazine it creates. So every ring the ring cure ever made was invisible to every
|
|
97
|
+
ring-aware check in htpolynet --- including CURE's own `pierces_ring`, which means a
|
|
98
|
+
pairwise crosslink could thread a previously formed triazine with nothing noticing.
|
|
99
|
+
`form_rings` now registers each ring as it makes it.
|
|
100
|
+
|
|
101
|
+
No evidence yet that threading of either kind measurably affects Tg or density; the
|
|
102
|
+
case for both filters is mechanism, not measured harm. Set
|
|
103
|
+
`ring_cure.reject_new_threading: false` to reproduce the old behavior.
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
### Changed
|
|
107
|
+
|
|
108
|
+
- **The box and density figures in the 2.11.5 and 2.11.4 notes below are retracted.**
|
|
109
|
+
Both releases quote traces --- +27.9% in volume, path 0.4104 nm, a two-regime
|
|
110
|
+
expansion and contraction --- produced by `relax` and `equilibrate` running against
|
|
111
|
+
the ladder topology, which is the defect 2.11.5 fixes. The box was responding to a
|
|
112
|
+
restrained, unbonded system, so those numbers describe nothing real and should not be
|
|
113
|
+
requoted. They are left in place rather than rewritten, because the releases went out
|
|
114
|
+
with them.
|
|
115
|
+
|
|
116
|
+
What survives unaffected: conversion, ring counts and iteration counts, which are
|
|
117
|
+
decided before those stages run; the threading filter's validation; the constant-volume
|
|
118
|
+
control, since NVT cannot move the box whatever topology it reads; and every
|
|
119
|
+
measurement from the pairwise route, which writes its topology correctly.
|
|
120
|
+
|
|
121
|
+
|
|
10
122
|
## [2.11.5] - 2026-09-26
|
|
11
123
|
|
|
12
124
|
### Fixed
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: htpolynet
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.12.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/
|
|
@@ -235,10 +235,12 @@ Coverage as of the last measurement: **38.8%** overall.
|
|
|
235
235
|
is the only part that is repo work; it is small, and everything else depends on it.
|
|
236
236
|
|
|
237
237
|
*1. Convergence audit.* One CURE build and one ring-cure build at stock settings.
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
entry
|
|
241
|
-
|
|
238
|
+
There was a data point here --- that 2 ps of NPT per iteration does not converge a
|
|
239
|
+
ring cure's box --- but it is retracted with the rest of those traces (see the
|
|
240
|
+
constant-volume entry), because the stage that produced it was running against a
|
|
241
|
+
restrained, unbonded topology. The audit therefore has no prior to lean on at the
|
|
242
|
+
cheap end, which is an argument for running it rather than against. Sample within a
|
|
243
|
+
stage, not only at its end.
|
|
242
244
|
For each stage ask a single question: at what fraction of its length does the
|
|
243
245
|
observable stop changing? A 100 ps equilibration whose density plateaus at 20 ps is
|
|
244
246
|
five times longer than it needs to be, and that is measurable once, cheaply, rather
|
|
@@ -289,6 +291,19 @@ Coverage as of the last measurement: **38.8%** overall.
|
|
|
289
291
|
cheaper one. The A/B measuring whether it suffices is what should settle this; 100 ps
|
|
290
292
|
per iteration against a 150-iteration cap is not a cost to take on speculatively.
|
|
291
293
|
|
|
294
|
+
> **RETRACTED 2026-09-26 --- every box and density number below is contaminated.**
|
|
295
|
+
> Until 2.11.5, a ring cure's `relax` and `equilibrate` grompp'd against the topology
|
|
296
|
+
> `close_rings` last wrote: restraints loaded at `kb = 3e5`, ring bonds not yet formed.
|
|
297
|
+
> So every trace here is the box responding to a restrained, unbonded system rather
|
|
298
|
+
> than to the network. Re-measure on 2.11.5 or later before quoting any of it.
|
|
299
|
+
>
|
|
300
|
+
> **Still good:** the frozen control at 5.2405 / 1155.9, because NVT cannot move the
|
|
301
|
+
> box whatever topology it reads; the surrogate box-breathing table further down,
|
|
302
|
+
> because the pairwise route writes its topology correctly
|
|
303
|
+
> (`curecontroller.py` writes gro and top after `update_topology_and_coordinates`, and
|
|
304
|
+
> a topology per relax stage); and conversion, ring counts and iteration counts, which
|
|
305
|
+
> are decided before these stages run.
|
|
306
|
+
|
|
292
307
|
**MEASURED 2026-09-24, and the cheap shape is not enough.** A two-arm A/B, both arms
|
|
293
308
|
on the same pinned image, differing only in the relax stage list:
|
|
294
309
|
|
|
@@ -331,8 +346,9 @@ Coverage as of the last measurement: **38.8%** overall.
|
|
|
331
346
|
Cameron's instruction to match what the binary cures already do, are what the cold
|
|
332
347
|
equilibration rests on --- not on hot-only being worse, which it is not.
|
|
333
348
|
|
|
334
|
-
What the widening actually tracks is **concentration
|
|
335
|
-
|
|
349
|
+
What the widening actually tracks is **concentration** --- worth knowing on its own,
|
|
350
|
+
though the two numbers below divide by box volumes from the retracted traces above and
|
|
351
|
+
need re-deriving, even if the equality between arms is likely to survive it. Both arms widened for the first time at the same iteration, on the same trigger
|
|
336
352
|
of two candidates against a floor of four, from very different states: 315 unreacted
|
|
337
353
|
groups in a 192.6 nm3 box against 237 in a 143.7 nm3 box --- 1.6352 and 1.6489 groups
|
|
338
354
|
per nm3, within 0.9% of each other, while the arms sat 0.09 apart in conversion and
|
|
@@ -1398,6 +1414,22 @@ Coverage as of the last measurement: **38.8%** overall.
|
|
|
1398
1414
|
|
|
1399
1415
|
## Configuration
|
|
1400
1416
|
|
|
1417
|
+
- **Three config sections have no user documentation**: `ncpu`, `ring_cure` and
|
|
1418
|
+
`postcure_repair`. `docs/source/user-guide/configs/configs-for-run.rst` opens by
|
|
1419
|
+
saying a run config has "at most ten distinct sections"; the schema has fourteen. A
|
|
1420
|
+
user can write any of the three and get no guidance at all, and `ring_cure` is the
|
|
1421
|
+
worst of them --- about fifteen settings, several added during 2.11.x, including two
|
|
1422
|
+
threading filters that change which rings form.
|
|
1423
|
+
|
|
1424
|
+
`tests/unit/test_config_docs_coverage.py` now fails if a *new* section is added
|
|
1425
|
+
undocumented, and carries these three in a named `UNDOCUMENTED` list so the existing
|
|
1426
|
+
debt does not block the suite while a new lapse does. The test also fails if one of
|
|
1427
|
+
them is documented and left on the list, so the list cannot outlive the debt.
|
|
1428
|
+
|
|
1429
|
+
Writing `ring_cure` up properly is worth doing once its settings stop moving; doing it
|
|
1430
|
+
now would document a moving target. `postcure_repair` and `ncpu` are small and could
|
|
1431
|
+
go at any time.
|
|
1432
|
+
|
|
1401
1433
|
- **Move config handling onto ycleptic.** Approved by Cameron 2026-09-08.
|
|
1402
1434
|
`core/configuration.py` (85 lines) reads YAML/JSON and `.get()`s eleven
|
|
1403
1435
|
known top-level sections into attributes with **no validation at all**: an
|
|
@@ -22,6 +22,11 @@ htpolynet.analysis
|
|
|
22
22
|
:undoc-members:
|
|
23
23
|
:show-inheritance:
|
|
24
24
|
|
|
25
|
+
.. automodule:: htpolynet.analysis.piercings
|
|
26
|
+
:members:
|
|
27
|
+
:undoc-members:
|
|
28
|
+
:show-inheritance:
|
|
29
|
+
|
|
25
30
|
.. automodule:: htpolynet.analysis.postsim
|
|
26
31
|
:members:
|
|
27
32
|
:undoc-members:
|
|
@@ -207,6 +212,11 @@ htpolynet.geometry
|
|
|
207
212
|
:undoc-members:
|
|
208
213
|
:show-inheritance:
|
|
209
214
|
|
|
215
|
+
.. automodule:: htpolynet.geometry.piercing
|
|
216
|
+
:members:
|
|
217
|
+
:undoc-members:
|
|
218
|
+
:show-inheritance:
|
|
219
|
+
|
|
210
220
|
htpolynet.repair
|
|
211
221
|
----------------
|
|
212
222
|
|
|
@@ -21,6 +21,7 @@ Subcommand Description
|
|
|
21
21
|
``analyze`` Perform ``gmx``-style analyses of trajectories generated by post-build MD simulations
|
|
22
22
|
``gen-slurm-script`` Emit a SLURM batch script that runs ``htpolynet run`` for a given config
|
|
23
23
|
``make-viz`` Regenerate VMD visualization files (``.viz.psf`` + ``.viz.tcl``) from an existing ``top`` + ``gro`` pair
|
|
24
|
+
``piercings`` Report any bond threaded through a ring in an existing ``top`` + ``gro`` pair
|
|
24
25
|
``setup-claude`` Install htpolynet's Claude Code skill so an agent can drive htpolynet
|
|
25
26
|
==================== ========================
|
|
26
27
|
|
|
@@ -514,6 +515,57 @@ The main ``.viz.tcl`` sources this file when it exists, so the macros are availa
|
|
|
514
515
|
|
|
515
516
|
The residue-level view is untouched — selections like ``resname TBO`` or ``resname IPD`` still work — the constituent macros are an *additive* layer.
|
|
516
517
|
|
|
518
|
+
``htpolynet piercings``
|
|
519
|
+
!!!!!!!!!!!!!!!!!!!!!!!
|
|
520
|
+
|
|
521
|
+
A crosslinking cure drags monomers together, and a bond can end up passing *through* a
|
|
522
|
+
ring --- a phenyl, a triazine, any covalent ring in the system. The monomer is then
|
|
523
|
+
threaded and cannot relax out: escaping needs a bond to break, not a barrier to be
|
|
524
|
+
crossed. Such a bond is usually found stretched far past any credible length, and it
|
|
525
|
+
survives minimization and annealing unchanged.
|
|
526
|
+
|
|
527
|
+
Since 2.11.4 a ring cure can *refuse* to create one: ``reject_threaded_rings`` declines
|
|
528
|
+
a ring that would close around an existing bond, and ``reject_new_threading`` declines
|
|
529
|
+
one whose closure dragged a monomer's own bond through a ring already present. Both are
|
|
530
|
+
``ring_cure`` settings and both default to true. ``piercings`` is how you check whether
|
|
531
|
+
one is there anyway, in any ``top`` + ``gro`` pair:
|
|
532
|
+
|
|
533
|
+
.. code-block:: console
|
|
534
|
+
|
|
535
|
+
$ htpolynet piercings -h
|
|
536
|
+
usage: htpolynet piercings [-h] [-top TOP] [-gro GRO] [-max-ring MAX_RING] [-json JSON]
|
|
537
|
+
|
|
538
|
+
options:
|
|
539
|
+
-h, --help show this help message and exit
|
|
540
|
+
-top TOP input gromacs topology file (default: final.top)
|
|
541
|
+
-gro GRO input gromacs coordinate file (default: final.gro)
|
|
542
|
+
-max-ring MAX_RING largest ring to consider when the topology carries no ring list
|
|
543
|
+
(default: 8)
|
|
544
|
+
-json JSON also write the findings to this JSON file
|
|
545
|
+
|
|
546
|
+
Each piercing is reported with the ring's composition as a formula (``C3N3`` for a
|
|
547
|
+
triazine, ``C6`` for a phenyl), whether the piercing bond belongs to a residue that is
|
|
548
|
+
part of the ring, the offset of the crossing point from the ring centre both in
|
|
549
|
+
Angstroms and as a fraction of the ring radius, the angle between the bond and the ring
|
|
550
|
+
normal, and the bond length. **An angle of 0 degrees means the bond runs straight
|
|
551
|
+
through the ring**, perpendicular to its plane; the report says so in a legend, because
|
|
552
|
+
the obvious reading of such a number is the opposite one.
|
|
553
|
+
|
|
554
|
+
The command exits 1 when it finds anything, so it can gate a pipeline:
|
|
555
|
+
|
|
556
|
+
.. code-block:: console
|
|
557
|
+
|
|
558
|
+
$ htpolynet piercings -top final.top -gro final.gro || echo "threaded rings found"
|
|
559
|
+
|
|
560
|
+
It reuses the ring list htpolynet already carries when there is one. For a ``top`` that
|
|
561
|
+
has none, it finds the smallest ring through each bond, up to ``-max-ring`` atoms.
|
|
562
|
+
|
|
563
|
+
.. note::
|
|
564
|
+
|
|
565
|
+
A threaded ring is a topological defect, not a strain that relaxation removes. If
|
|
566
|
+
you find one in a finished build, rebuilding with the ring-cure filters enabled is
|
|
567
|
+
the remedy; there is no post-hoc repair for it.
|
|
568
|
+
|
|
517
569
|
``htpolynet setup-claude``
|
|
518
570
|
!!!!!!!!!!!!!!!!!!!!!!!!!!
|
|
519
571
|
|
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
"""Finds bonds threaded through rings in a finished network.
|
|
2
|
+
|
|
3
|
+
htpolynet can refuse to *create* a threading during a ring cure, and until now it could
|
|
4
|
+
not *tell you whether one is there*. That asymmetry is the reason this exists: a
|
|
5
|
+
preventive check whose effect cannot be measured with the same tool is hard to trust,
|
|
6
|
+
and the numbers that justified those filters all came from scripts outside the package.
|
|
7
|
+
|
|
8
|
+
Nothing here is specific to cyanate esters. Any network built by dragging monomers
|
|
9
|
+
together can thread a bond through a ring, and htpolynet builds those by construction.
|
|
10
|
+
|
|
11
|
+
The geometry lives in :mod:`htpolynet.geometry.piercing`, shared with the ring cure's own
|
|
12
|
+
filters so a measurement and the thing it measures cannot drift apart.
|
|
13
|
+
|
|
14
|
+
Author: Cameron F. Abrams <cfa22@drexel.edu>
|
|
15
|
+
"""
|
|
16
|
+
import logging
|
|
17
|
+
|
|
18
|
+
import networkx as nx
|
|
19
|
+
import numpy as np
|
|
20
|
+
|
|
21
|
+
from scipy.spatial import cKDTree
|
|
22
|
+
|
|
23
|
+
from ..core.topology import _element_of
|
|
24
|
+
from ..geometry.piercing import pierces_ring, ring_frame
|
|
25
|
+
|
|
26
|
+
logger = logging.getLogger(__name__)
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
def _bounded_path(G, u, v, max_depth):
|
|
30
|
+
"""Shortest path from u to v of at most `max_depth` edges, or None."""
|
|
31
|
+
if u not in G or v not in G:
|
|
32
|
+
return None
|
|
33
|
+
prev, frontier = {u: None}, [u]
|
|
34
|
+
for _ in range(max_depth):
|
|
35
|
+
nxt = []
|
|
36
|
+
for a in frontier:
|
|
37
|
+
for b in G[a]:
|
|
38
|
+
if b in prev:
|
|
39
|
+
continue
|
|
40
|
+
prev[b] = a
|
|
41
|
+
if b == v:
|
|
42
|
+
path, cur = [], v
|
|
43
|
+
while cur is not None:
|
|
44
|
+
path.append(cur)
|
|
45
|
+
cur = prev[cur]
|
|
46
|
+
return path[::-1]
|
|
47
|
+
nxt.append(b)
|
|
48
|
+
if not nxt:
|
|
49
|
+
return None
|
|
50
|
+
frontier = nxt
|
|
51
|
+
return None
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
def detect_rings(bonds, max_size=8):
|
|
55
|
+
"""Smallest ring through each bond, for a topology with no ring list of its own.
|
|
56
|
+
|
|
57
|
+
A build made by htpolynet carries its rings already; this is the fallback for a bare
|
|
58
|
+
top/gro pair. Enumerating all chordless cycles is not an option --- on a percolated
|
|
59
|
+
network it does not finish in reasonable time --- so this takes the shortest
|
|
60
|
+
alternative path between each bonded pair, which gives the smallest ring through
|
|
61
|
+
that bond and nothing larger.
|
|
62
|
+
|
|
63
|
+
Args:
|
|
64
|
+
bonds (pandas.DataFrame): with ai and aj columns
|
|
65
|
+
max_size (int): largest ring to look for
|
|
66
|
+
|
|
67
|
+
Returns:
|
|
68
|
+
list: rings, each a list of atom indices in cyclic order
|
|
69
|
+
"""
|
|
70
|
+
G = nx.Graph()
|
|
71
|
+
G.add_edges_from((int(r.ai), int(r.aj)) for r in bonds.itertuples())
|
|
72
|
+
seen, out = set(), []
|
|
73
|
+
for u, v in list(G.edges()):
|
|
74
|
+
G.remove_edge(u, v)
|
|
75
|
+
# depth-limited on purpose: an unbounded search on a percolated network walks
|
|
76
|
+
# the whole component for every bond that is not in a small ring, which is most
|
|
77
|
+
# of them
|
|
78
|
+
path = _bounded_path(G, u, v, max_size - 1)
|
|
79
|
+
G.add_edge(u, v)
|
|
80
|
+
if path is None:
|
|
81
|
+
continue
|
|
82
|
+
key = frozenset(path)
|
|
83
|
+
if key in seen:
|
|
84
|
+
continue
|
|
85
|
+
seen.add(key)
|
|
86
|
+
out.append([int(x) for x in path])
|
|
87
|
+
return out
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
def ring_composition(ring, element_of):
|
|
91
|
+
"""A ring's composition as a formula string, heaviest-count first.
|
|
92
|
+
|
|
93
|
+
Deliberately general: a triazine reads ``C3N3`` and a benzene ``C6`` without this
|
|
94
|
+
module knowing either name. Classify on the whole ring --- keying on residue count
|
|
95
|
+
or on a truncated printout are both ways this has been got wrong.
|
|
96
|
+
"""
|
|
97
|
+
counts = {}
|
|
98
|
+
for i in ring:
|
|
99
|
+
e = element_of.get(int(i), '?')
|
|
100
|
+
counts[e] = counts.get(e, 0) + 1
|
|
101
|
+
return ''.join(f'{e}{counts[e]}' for e in sorted(counts, key=lambda x: (-counts[x], x)))
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
def find_piercings(TC, max_ring=8, margin=0.3):
|
|
105
|
+
"""Every bond that passes through a ring.
|
|
106
|
+
|
|
107
|
+
Args:
|
|
108
|
+
TC (TopoCoord): the system, with coordinates loaded
|
|
109
|
+
max_ring (int): largest ring to consider when detecting rings
|
|
110
|
+
margin (float): how far beyond a ring's radius to look for bonds, in nm
|
|
111
|
+
|
|
112
|
+
Returns:
|
|
113
|
+
list: one dict per piercing, with the ring, its composition, the bond, whether
|
|
114
|
+
the bond belongs to a residue of the ring, and the geometry of the crossing
|
|
115
|
+
"""
|
|
116
|
+
A = TC.Coordinates.A
|
|
117
|
+
positions = {int(r.globalIdx): np.array([r.posX, r.posY, r.posZ]) for r in A.itertuples()}
|
|
118
|
+
box = np.asarray(TC.Coordinates.box.diagonal(), dtype=float)
|
|
119
|
+
at = TC.Topology.D['atoms']
|
|
120
|
+
element_of = {int(r.nr): _element_of(r.atom, r.type) for r in at.itertuples()}
|
|
121
|
+
resnr_of = {int(r.nr): int(r.resnr) for r in at.itertuples()}
|
|
122
|
+
bonds = TC.Topology.D['bonds']
|
|
123
|
+
|
|
124
|
+
rings = [[int(x) for x in r.idx] for r in (getattr(TC.Topology, 'rings', None) or [])]
|
|
125
|
+
rings = [r for r in rings if 3 <= len(r) <= max_ring]
|
|
126
|
+
if not rings:
|
|
127
|
+
logger.info('No ring list on this topology; detecting rings from the bond graph')
|
|
128
|
+
rings = detect_rings(bonds, max_size=max_ring)
|
|
129
|
+
logger.info(f'Scanning {len(rings)} ring(s) against {bonds.shape[0]} bond(s)')
|
|
130
|
+
|
|
131
|
+
ids = np.fromiter(positions.keys(), dtype=int, count=len(positions))
|
|
132
|
+
pts = np.array([positions[i] for i in ids], dtype=float)
|
|
133
|
+
tree = cKDTree(np.mod(pts, box), boxsize=box)
|
|
134
|
+
bonds_of = {}
|
|
135
|
+
for r in bonds.itertuples():
|
|
136
|
+
ai, aj = int(r.ai), int(r.aj)
|
|
137
|
+
bonds_of.setdefault(ai, []).append((ai, aj))
|
|
138
|
+
bonds_of.setdefault(aj, []).append((ai, aj))
|
|
139
|
+
|
|
140
|
+
out = []
|
|
141
|
+
for ring in rings:
|
|
142
|
+
frame = ring_frame(ring, positions, box)
|
|
143
|
+
if frame is None:
|
|
144
|
+
continue
|
|
145
|
+
_, O, _, radius = frame
|
|
146
|
+
near = tree.query_ball_point(np.mod(O, box), radius + margin)
|
|
147
|
+
ring_set, seen = set(ring), set()
|
|
148
|
+
for j in near:
|
|
149
|
+
a = int(ids[j])
|
|
150
|
+
if a in ring_set:
|
|
151
|
+
continue
|
|
152
|
+
for bond in bonds_of.get(a, ()):
|
|
153
|
+
key = (min(bond), max(bond))
|
|
154
|
+
if key in seen:
|
|
155
|
+
continue
|
|
156
|
+
seen.add(key)
|
|
157
|
+
hit = pierces_ring(ring, bond, positions, box)
|
|
158
|
+
if hit is None:
|
|
159
|
+
continue
|
|
160
|
+
ring_res = {resnr_of.get(i) for i in ring}
|
|
161
|
+
out.append({'ring': ring, 'composition': ring_composition(ring, element_of),
|
|
162
|
+
'bond': key, 'self': resnr_of.get(key[0]) in ring_res
|
|
163
|
+
or resnr_of.get(key[1]) in ring_res,
|
|
164
|
+
**{k: v for k, v in hit.items() if k != 'point'}})
|
|
165
|
+
return out
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
def format_report(piercings, overlong=0.2):
|
|
169
|
+
"""A human-readable summary, correlating piercings with over-long bonds."""
|
|
170
|
+
if not piercings:
|
|
171
|
+
return 'No bond passes through a ring in this system.'
|
|
172
|
+
lines = [f'{len(piercings)} bond(s) pass through a ring:', '']
|
|
173
|
+
by_comp = {}
|
|
174
|
+
for p in piercings:
|
|
175
|
+
by_comp[p['composition']] = by_comp.get(p['composition'], 0) + 1
|
|
176
|
+
lines.append(' by ring composition: '
|
|
177
|
+
+ ', '.join(f'{k} {v}' for k, v in sorted(by_comp.items())))
|
|
178
|
+
n_self = sum(1 for p in piercings if p['self'])
|
|
179
|
+
lines.append(f' {n_self} by a bond of a residue in the ring, '
|
|
180
|
+
f'{len(piercings) - n_self} by a foreign residue')
|
|
181
|
+
n_long = sum(1 for p in piercings if p['length'] > overlong)
|
|
182
|
+
lines.append(f' {n_long} of {len(piercings)} piercing bond(s) are longer than '
|
|
183
|
+
f'{overlong} nm, which is longer than any real bond')
|
|
184
|
+
lines.append('')
|
|
185
|
+
lines.append(' (from-normal 0 deg means the bond runs straight through the ring)')
|
|
186
|
+
lines.append('')
|
|
187
|
+
lines.append(' ring composition bond offset frac from-norm length')
|
|
188
|
+
for p in sorted(piercings, key=lambda x: -x['length']):
|
|
189
|
+
r = ','.join(str(x) for x in p['ring'][:3]) + '...'
|
|
190
|
+
lines.append(f' {r:<13} {p["composition"]:<12} '
|
|
191
|
+
f'{p["bond"][0]}-{p["bond"][1]:<10} '
|
|
192
|
+
f'{p["offset"] * 10:6.2f} {p["offset_frac"]:5.2f} '
|
|
193
|
+
f'{p["angle_from_normal"]:9.1f} {p["length"] * 10:6.2f} (A, deg)')
|
|
194
|
+
return '\n'.join(lines)
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
def piercings(args):
|
|
198
|
+
"""CLI handler for ``htpolynet piercings``.
|
|
199
|
+
|
|
200
|
+
Args:
|
|
201
|
+
args (argparse.Namespace): parsed arguments with ``.top``, ``.gro``,
|
|
202
|
+
``.max_ring``, and optional ``.json``
|
|
203
|
+
"""
|
|
204
|
+
import json
|
|
205
|
+
import os
|
|
206
|
+
|
|
207
|
+
from ..core.topocoord import TopoCoord
|
|
208
|
+
|
|
209
|
+
logging.basicConfig(level=logging.INFO, format='%(message)s')
|
|
210
|
+
for f in (args.top, args.gro):
|
|
211
|
+
if not os.path.exists(f):
|
|
212
|
+
logger.error(f'{f} not found')
|
|
213
|
+
raise SystemExit(1)
|
|
214
|
+
try:
|
|
215
|
+
TC = TopoCoord(topfilename=args.top, grofilename=args.gro)
|
|
216
|
+
found = find_piercings(TC, max_ring=args.max_ring)
|
|
217
|
+
except Exception as e:
|
|
218
|
+
logger.error(f'Piercing analysis failed: {e}')
|
|
219
|
+
raise SystemExit(1)
|
|
220
|
+
print(format_report(found))
|
|
221
|
+
if getattr(args, 'json', None):
|
|
222
|
+
with open(args.json, 'w') as f:
|
|
223
|
+
json.dump([{k: (list(v) if isinstance(v, tuple) else v)
|
|
224
|
+
for k, v in p.items()} for p in found], f, indent=2)
|
|
225
|
+
logger.info(f'Wrote {args.json}')
|
|
226
|
+
raise SystemExit(1 if found else 0)
|
|
@@ -25,6 +25,7 @@ from .utils.banner import banner_message
|
|
|
25
25
|
from .utils.inputcheck import input_check
|
|
26
26
|
from .utils.logsetup import setup_logging
|
|
27
27
|
from .utils.stringthings import my_logger
|
|
28
|
+
from .analysis.piercings import piercings
|
|
28
29
|
from .utils.vmd_viz import make_viz
|
|
29
30
|
|
|
30
31
|
logger = logging.getLogger(__name__)
|
|
@@ -292,6 +293,7 @@ def cli():
|
|
|
292
293
|
('analyze', analyze, "perform 'gmx <command>' style analyses specified in the config file"),
|
|
293
294
|
('gen-slurm-script', gen_slurm_script, 'generate a SLURM submission script for running htpolynet on a cluster'),
|
|
294
295
|
('make-viz', make_viz, 'regenerate VMD viz files (.viz.psf + .viz.tcl) from an existing gromacs top + gro pair'),
|
|
296
|
+
('piercings', piercings, 'report any bond threaded through a ring in a gromacs top + gro pair; exits 1 if any are found'),
|
|
295
297
|
('setup-claude', setup_claude, "install htpolynet's Claude Code skill so an agent can drive htpolynet"),
|
|
296
298
|
]
|
|
297
299
|
|
|
@@ -327,6 +329,11 @@ def cli():
|
|
|
327
329
|
cp['make-viz'].add_argument('-grx', type=str, default=None, help='input htpolynet .grx (default: auto-detect <gro-stem>.grx; needed for the constituent-selection macros)')
|
|
328
330
|
cp['make-viz'].add_argument('-prefix', type=str, default=None, help='output basename; the .viz.psf, .viz.tcl, and .viz.macros.tcl are written next to the input gro (default: stem of -gro)')
|
|
329
331
|
|
|
332
|
+
cp['piercings'].add_argument('-top', type=str, default='final.top', help='input gromacs topology file (default: final.top)')
|
|
333
|
+
cp['piercings'].add_argument('-gro', type=str, default='final.gro', help='input gromacs coordinate file (default: final.gro)')
|
|
334
|
+
cp['piercings'].add_argument('-max-ring', dest='max_ring', type=int, default=8, help='largest ring to consider when the topology carries no ring list (default: 8)')
|
|
335
|
+
cp['piercings'].add_argument('-json', type=str, default=None, help='also write the findings to this JSON file')
|
|
336
|
+
|
|
330
337
|
cp['setup-claude'].add_argument('--skills-dir', type=str, default='~/.claude/skills',
|
|
331
338
|
help='skills directory to install into (default: %(default)s); use ./.claude/skills to scope the skill to one project')
|
|
332
339
|
cp['setup-claude'].add_argument('--force', default=False, action='store_true', help='overwrite an existing installed skill')
|
|
@@ -706,11 +706,15 @@ class Runtime:
|
|
|
706
706
|
rc.state.iter += 1
|
|
707
707
|
continue
|
|
708
708
|
bdf = triple_bonds_dataframe(chosen, sites, R.product, order=R.bonds[0].get('order', 1))
|
|
709
|
+
# what these monomers already thread, so only what the ladder creates counts
|
|
710
|
+
before_threading = rc.threading_census(TC, bdf, chosen)
|
|
709
711
|
work = rc.close_rings(TC, bdf, gromacs_dict=gromacs_dict)
|
|
710
712
|
# a ring the ladder could not pull shut would be bonded long and stay that way
|
|
711
713
|
bdf, chosen = rc.accept(bdf, work, chosen)
|
|
712
714
|
# now that the loop is nearly ring-sized, ask what it actually encloses
|
|
713
715
|
bdf, chosen = rc.reject_threaded(TC, bdf, chosen)
|
|
716
|
+
# and the converse: did the drag push one of their own bonds through a ring
|
|
717
|
+
bdf, chosen = rc.reject_new_threading(TC, bdf, chosen, before_threading)
|
|
714
718
|
if not chosen:
|
|
715
719
|
rc.state.iter += 1
|
|
716
720
|
continue
|