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