westpa 2022.5__tar.gz → 2022.7__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.
Potentially problematic release.
This version of westpa might be problematic. Click here for more details.
- {westpa-2022.5/src/westpa.egg-info → westpa-2022.7}/PKG-INFO +27 -5
- {westpa-2022.5 → westpa-2022.7}/README.rst +2 -2
- {westpa-2022.5 → westpa-2022.7}/pyproject.toml +6 -4
- {westpa-2022.5 → westpa-2022.7}/setup.py +2 -2
- {westpa-2022.5 → westpa-2022.7}/src/westpa/__init__.py +0 -4
- {westpa-2022.5 → westpa-2022.7}/src/westpa/_version.py +3 -3
- {westpa-2022.5 → westpa-2022.7}/src/westpa/cli/core/w_fork.py +1 -1
- {westpa-2022.5 → westpa-2022.7}/src/westpa/cli/core/w_init.py +0 -1
- {westpa-2022.5 → westpa-2022.7}/src/westpa/cli/core/w_run.py +0 -1
- {westpa-2022.5 → westpa-2022.7}/src/westpa/cli/core/w_states.py +0 -2
- {westpa-2022.5 → westpa-2022.7}/src/westpa/cli/core/w_succ.py +1 -1
- {westpa-2022.5 → westpa-2022.7}/src/westpa/cli/tools/w_assign.py +0 -1
- {westpa-2022.5 → westpa-2022.7}/src/westpa/cli/tools/w_bins.py +0 -1
- {westpa-2022.5 → westpa-2022.7}/src/westpa/cli/tools/w_dumpsegs.py +1 -1
- {westpa-2022.5 → westpa-2022.7}/src/westpa/cli/tools/w_eddist.py +0 -4
- {westpa-2022.5 → westpa-2022.7}/src/westpa/cli/tools/w_ipa.py +0 -1
- {westpa-2022.5 → westpa-2022.7}/src/westpa/cli/tools/w_multi_west.py +16 -11
- {westpa-2022.5 → westpa-2022.7}/src/westpa/cli/tools/w_pdist.py +0 -1
- {westpa-2022.5 → westpa-2022.7}/src/westpa/cli/tools/w_red.py +0 -1
- {westpa-2022.5 → westpa-2022.7}/src/westpa/core/_rc.py +0 -1
- {westpa-2022.5 → westpa-2022.7}/src/westpa/core/binning/_assign.c +2183 -870
- {westpa-2022.5 → westpa-2022.7}/src/westpa/core/binning/assign.py +5 -3
- {westpa-2022.5 → westpa-2022.7}/src/westpa/core/binning/binless_driver.py +1 -1
- {westpa-2022.5 → westpa-2022.7}/src/westpa/core/binning/binless_manager.py +25 -2
- {westpa-2022.5 → westpa-2022.7}/src/westpa/core/binning/mab.py +23 -7
- {westpa-2022.5 → westpa-2022.7}/src/westpa/core/binning/mab_driver.py +1 -1
- {westpa-2022.5 → westpa-2022.7}/src/westpa/core/binning/mab_manager.py +25 -2
- {westpa-2022.5 → westpa-2022.7}/src/westpa/core/data_manager.py +5 -6
- {westpa-2022.5 → westpa-2022.7}/src/westpa/core/h5io.py +1 -5
- {westpa-2022.5 → westpa-2022.7}/src/westpa/core/kinetics/_kinetics.c +2913 -1105
- {westpa-2022.5 → westpa-2022.7}/src/westpa/core/propagators/__init__.py +0 -1
- {westpa-2022.5 → westpa-2022.7}/src/westpa/core/propagators/executable.py +10 -10
- {westpa-2022.5 → westpa-2022.7}/src/westpa/core/reweight/_reweight.c +2334 -912
- {westpa-2022.5 → westpa-2022.7}/src/westpa/core/sim_manager.py +3 -4
- {westpa-2022.5 → westpa-2022.7}/src/westpa/core/states.py +19 -3
- {westpa-2022.5 → westpa-2022.7}/src/westpa/core/trajectory.py +9 -1
- {westpa-2022.5 → westpa-2022.7}/src/westpa/core/we_driver.py +7 -7
- {westpa-2022.5 → westpa-2022.7}/src/westpa/core/yamlcfg.py +1 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/fasthist/_fasthist.c +2008 -785
- {westpa-2022.5 → westpa-2022.7}/src/westpa/mclib/_mclib.c +2065 -865
- {westpa-2022.5 → westpa-2022.7}/src/westpa/oldtools/aframe/binning.py +2 -2
- {westpa-2022.5 → westpa-2022.7}/src/westpa/oldtools/aframe/data_reader.py +3 -4
- {westpa-2022.5 → westpa-2022.7}/src/westpa/oldtools/aframe/kinetics.py +0 -1
- {westpa-2022.5 → westpa-2022.7}/src/westpa/oldtools/aframe/trajwalker.py +1 -1
- {westpa-2022.5 → westpa-2022.7}/src/westpa/oldtools/aframe/transitions.py +1 -3
- {westpa-2022.5 → westpa-2022.7}/src/westpa/oldtools/cmds/w_ttimes.py +2 -4
- {westpa-2022.5 → westpa-2022.7}/src/westpa/tools/__init__.py +1 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/tools/binning.py +1 -4
- {westpa-2022.5 → westpa-2022.7}/src/westpa/tools/kinetics_tool.py +0 -3
- {westpa-2022.5 → westpa-2022.7}/src/westpa/tools/selected_segs.py +0 -1
- {westpa-2022.5 → westpa-2022.7}/src/westpa/trajtree/_trajtree.c +1413 -595
- {westpa-2022.5 → westpa-2022.7}/src/westpa/trajtree/trajtree.py +0 -2
- {westpa-2022.5 → westpa-2022.7}/src/westpa/westext/adaptvoronoi/adaptVor_driver.py +0 -2
- {westpa-2022.5 → westpa-2022.7}/src/westpa/westext/hamsm_restarting/example_overrides.py +0 -1
- {westpa-2022.5 → westpa-2022.7}/src/westpa/westext/hamsm_restarting/restart_driver.py +1 -18
- {westpa-2022.5 → westpa-2022.7}/src/westpa/westext/stringmethod/string_driver.py +0 -1
- {westpa-2022.5 → westpa-2022.7}/src/westpa/westext/stringmethod/string_method.py +0 -2
- {westpa-2022.5 → westpa-2022.7}/src/westpa/westext/weed/weed_driver.py +2 -2
- {westpa-2022.5 → westpa-2022.7}/src/westpa/westext/wess/ProbAdjust.py +0 -1
- {westpa-2022.5 → westpa-2022.7}/src/westpa/westext/wess/wess_driver.py +2 -2
- {westpa-2022.5 → westpa-2022.7}/src/westpa/work_managers/environment.py +0 -2
- {westpa-2022.5 → westpa-2022.7}/src/westpa/work_managers/mpi.py +0 -7
- {westpa-2022.5 → westpa-2022.7}/src/westpa/work_managers/zeromq/core.py +1 -5
- {westpa-2022.5 → westpa-2022.7}/src/westpa/work_managers/zeromq/node.py +0 -1
- {westpa-2022.5 → westpa-2022.7}/src/westpa/work_managers/zeromq/work_manager.py +1 -2
- {westpa-2022.5 → westpa-2022.7}/src/westpa/work_managers/zeromq/worker.py +0 -1
- {westpa-2022.5 → westpa-2022.7/src/westpa.egg-info}/PKG-INFO +27 -5
- {westpa-2022.5 → westpa-2022.7}/src/westpa.egg-info/SOURCES.txt +1 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa.egg-info/requires.txt +3 -1
- {westpa-2022.5 → westpa-2022.7}/tests/test_binning.py +0 -1
- {westpa-2022.5 → westpa-2022.7}/tests/test_sim_manager.py +99 -5
- westpa-2022.7/tests/test_states.py +38 -0
- {westpa-2022.5 → westpa-2022.7}/tests/test_we_driver.py +0 -1
- {westpa-2022.5 → westpa-2022.7}/tests/test_yamlfe.py +6 -0
- {westpa-2022.5 → westpa-2022.7}/AUTHORS +0 -0
- {westpa-2022.5 → westpa-2022.7}/LICENSE +0 -0
- {westpa-2022.5 → westpa-2022.7}/MANIFEST.in +0 -0
- {westpa-2022.5 → westpa-2022.7}/setup.cfg +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/analysis/__init__.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/analysis/core.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/analysis/statistics.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/analysis/trajectories.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/cli/__init__.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/cli/core/__init__.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/cli/core/w_truncate.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/cli/tools/__init__.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/cli/tools/ploterr.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/cli/tools/plothist.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/cli/tools/w_crawl.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/cli/tools/w_direct.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/cli/tools/w_fluxanl.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/cli/tools/w_kinavg.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/cli/tools/w_kinetics.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/cli/tools/w_ntop.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/cli/tools/w_postanalysis_matrix.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/cli/tools/w_postanalysis_reweight.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/cli/tools/w_reweight.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/cli/tools/w_select.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/cli/tools/w_stateprobs.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/cli/tools/w_trace.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/core/__init__.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/core/binning/__init__.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/core/binning/_assign.pyx +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/core/binning/binless.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/core/binning/bins.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/core/extloader.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/core/kinetics/__init__.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/core/kinetics/_kinetics.pyx +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/core/kinetics/events.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/core/kinetics/matrates.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/core/kinetics/rate_averaging.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/core/progress.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/core/reweight/__init__.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/core/reweight/_reweight.pyx +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/core/reweight/matrix.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/core/segment.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/core/systems.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/core/textio.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/core/wm_ops.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/fasthist/__init__.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/fasthist/__main__.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/fasthist/_fasthist.pyx +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/mclib/__init__.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/mclib/__main__.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/mclib/_mclib.pyx +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/oldtools/__init__.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/oldtools/aframe/__init__.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/oldtools/aframe/atool.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/oldtools/aframe/base_mixin.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/oldtools/aframe/iter_range.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/oldtools/aframe/mcbs.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/oldtools/aframe/output.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/oldtools/aframe/plotting.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/oldtools/cmds/__init__.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/oldtools/files.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/oldtools/miscfn.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/oldtools/stats/__init__.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/oldtools/stats/accumulator.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/oldtools/stats/edfs.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/oldtools/stats/mcbs.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/tools/core.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/tools/data_reader.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/tools/dtypes.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/tools/iter_range.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/tools/plot.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/tools/progress.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/tools/wipi.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/trajtree/__init__.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/trajtree/_trajtree.pyx +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/westext/__init__.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/westext/adaptvoronoi/__init__.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/westext/hamsm_restarting/__init__.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/westext/stringmethod/__init__.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/westext/stringmethod/fourier_fitting.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/westext/weed/BinCluster.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/westext/weed/ProbAdjustEquil.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/westext/weed/UncertMath.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/westext/weed/__init__.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/westext/wess/__init__.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/work_managers/__init__.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/work_managers/core.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/work_managers/processes.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/work_managers/serial.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/work_managers/threads.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa/work_managers/zeromq/__init__.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa.egg-info/dependency_links.txt +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa.egg-info/entry_points.txt +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa.egg-info/not-zip-safe +0 -0
- {westpa-2022.5 → westpa-2022.7}/src/westpa.egg-info/top_level.txt +0 -0
- {westpa-2022.5 → westpa-2022.7}/tests/test_data_manager.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/tests/test_kinetics.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/tests/test_loaders.py +0 -0
- {westpa-2022.5 → westpa-2022.7}/versioneer.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: westpa
|
|
3
|
-
Version: 2022.
|
|
3
|
+
Version: 2022.7
|
|
4
4
|
Home-page: http://github.com/westpa/westpa
|
|
5
5
|
License: MIT
|
|
6
6
|
Classifier: Development Status :: 5 - Production/Stable
|
|
@@ -12,11 +12,33 @@ Classifier: Programming Language :: Python
|
|
|
12
12
|
Classifier: Programming Language :: Python :: 3
|
|
13
13
|
Classifier: Programming Language :: Cython
|
|
14
14
|
Requires-Python: >=3.6
|
|
15
|
+
License-File: LICENSE
|
|
16
|
+
License-File: AUTHORS
|
|
17
|
+
Requires-Dist: numpy<2,>=1.16.0
|
|
18
|
+
Requires-Dist: scipy>=0.19.1
|
|
19
|
+
Requires-Dist: h5py>=2.10
|
|
20
|
+
Requires-Dist: mdtraj>=1.9.5
|
|
21
|
+
Requires-Dist: pyyaml
|
|
22
|
+
Requires-Dist: pyzmq
|
|
23
|
+
Requires-Dist: matplotlib
|
|
24
|
+
Requires-Dist: blessings
|
|
25
|
+
Requires-Dist: ipykernel
|
|
26
|
+
Requires-Dist: tqdm
|
|
27
|
+
Requires-Dist: pandas
|
|
28
|
+
Requires-Dist: tables
|
|
15
29
|
Provides-Extra: tests
|
|
30
|
+
Requires-Dist: pytest; extra == "tests"
|
|
31
|
+
Requires-Dist: pytest-cov; extra == "tests"
|
|
32
|
+
Requires-Dist: pytest-rerunfailures; extra == "tests"
|
|
33
|
+
Requires-Dist: pytest-timeout; extra == "tests"
|
|
16
34
|
Provides-Extra: mpi
|
|
35
|
+
Requires-Dist: mpi4py; extra == "mpi"
|
|
17
36
|
Provides-Extra: dev
|
|
18
|
-
|
|
19
|
-
|
|
37
|
+
Requires-Dist: pytest; extra == "dev"
|
|
38
|
+
Requires-Dist: pytest-cov; extra == "dev"
|
|
39
|
+
Requires-Dist: pytest-rerunfailures; extra == "dev"
|
|
40
|
+
Requires-Dist: pytest-timeout; extra == "dev"
|
|
41
|
+
Requires-Dist: pre-commit; extra == "dev"
|
|
20
42
|
|
|
21
43
|
===============
|
|
22
44
|
WESTPA 2.0
|
|
@@ -26,7 +48,7 @@ WESTPA 2.0
|
|
|
26
48
|
|
|
27
49
|
|docs| |usersgroup| |develgroup|
|
|
28
50
|
|
|
29
|
-
.. |ghactions| image:: https://github.com/westpa/westpa/actions/workflows/test.yaml/badge.svg?branch=
|
|
51
|
+
.. |ghactions| image:: https://github.com/westpa/westpa/actions/workflows/test.yaml/badge.svg?branch=westpa2
|
|
30
52
|
:target: https://github.com/westpa/westpa/actions/workflows/test.yaml
|
|
31
53
|
:alt: GitHub Actions
|
|
32
54
|
|
|
@@ -120,7 +142,7 @@ To install from source (**not recommended**), start by downloading the correspon
|
|
|
120
142
|
|
|
121
143
|
.. _`releases page`: https://github.com/westpa/westpa/releases
|
|
122
144
|
.. _`Anaconda Python distribution`: https://www.anaconda.com/products/individual
|
|
123
|
-
.. _`wiki`: https://github.com/westpa/westpa/wiki/WESTPA
|
|
145
|
+
.. _`wiki`: https://github.com/westpa/westpa/wiki/Installing-WESTPA
|
|
124
146
|
|
|
125
147
|
---------------
|
|
126
148
|
Getting started
|
|
@@ -6,7 +6,7 @@ WESTPA 2.0
|
|
|
6
6
|
|
|
7
7
|
|docs| |usersgroup| |develgroup|
|
|
8
8
|
|
|
9
|
-
.. |ghactions| image:: https://github.com/westpa/westpa/actions/workflows/test.yaml/badge.svg?branch=
|
|
9
|
+
.. |ghactions| image:: https://github.com/westpa/westpa/actions/workflows/test.yaml/badge.svg?branch=westpa2
|
|
10
10
|
:target: https://github.com/westpa/westpa/actions/workflows/test.yaml
|
|
11
11
|
:alt: GitHub Actions
|
|
12
12
|
|
|
@@ -100,7 +100,7 @@ To install from source (**not recommended**), start by downloading the correspon
|
|
|
100
100
|
|
|
101
101
|
.. _`releases page`: https://github.com/westpa/westpa/releases
|
|
102
102
|
.. _`Anaconda Python distribution`: https://www.anaconda.com/products/individual
|
|
103
|
-
.. _`wiki`: https://github.com/westpa/westpa/wiki/WESTPA
|
|
103
|
+
.. _`wiki`: https://github.com/westpa/westpa/wiki/Installing-WESTPA
|
|
104
104
|
|
|
105
105
|
---------------
|
|
106
106
|
Getting started
|
|
@@ -3,11 +3,13 @@ build-backend = 'setuptools.build_meta:__legacy__'
|
|
|
3
3
|
# Minimum requirements for the build system to execute.
|
|
4
4
|
# See current numpy pinning in https://github.com/scipy/oldest-supported-numpy
|
|
5
5
|
requires = [
|
|
6
|
-
"setuptools>=40.8.0",
|
|
6
|
+
"setuptools >=40.8.0",
|
|
7
7
|
"wheel",
|
|
8
|
-
"Cython>=0.29.16", # Note: sync with setup.py
|
|
9
|
-
"
|
|
10
|
-
"
|
|
8
|
+
"Cython >=0.29.16; python_version >='3.10'", # Note: sync with setup.py
|
|
9
|
+
"Cython <3.0.3, >=0.29.16; python_version <'3.10'",
|
|
10
|
+
"oldest-supported-numpy; python_version <'3.9'",
|
|
11
|
+
"numpy >=1.25.0, <2; python_version >='3.9'",
|
|
12
|
+
"scipy >=0.19.1",
|
|
11
13
|
"versioneer-518"
|
|
12
14
|
]
|
|
13
15
|
# Uncommenting this requires adding the top level of the repo to sys.path in the setup.py
|
|
@@ -109,7 +109,7 @@ CLASSIFIERS = [
|
|
|
109
109
|
]
|
|
110
110
|
|
|
111
111
|
INSTALL_REQUIRES = [
|
|
112
|
-
"numpy >= 1.16.0",
|
|
112
|
+
"numpy >= 1.16.0, <2",
|
|
113
113
|
"scipy >= 0.19.1",
|
|
114
114
|
"h5py >= 2.10",
|
|
115
115
|
"mdtraj >= 1.9.5",
|
|
@@ -124,7 +124,7 @@ INSTALL_REQUIRES = [
|
|
|
124
124
|
]
|
|
125
125
|
|
|
126
126
|
EXTRAS_REQUIRE = {
|
|
127
|
-
"tests": ["pytest", "pytest-cov", "pytest-rerunfailures"],
|
|
127
|
+
"tests": ["pytest", "pytest-cov", "pytest-rerunfailures", "pytest-timeout"],
|
|
128
128
|
"mpi": ["mpi4py"],
|
|
129
129
|
}
|
|
130
130
|
|
|
@@ -8,11 +8,11 @@ import json
|
|
|
8
8
|
|
|
9
9
|
version_json = '''
|
|
10
10
|
{
|
|
11
|
-
"date": "
|
|
11
|
+
"date": "2024-04-02T11:29:16-0400",
|
|
12
12
|
"dirty": false,
|
|
13
13
|
"error": null,
|
|
14
|
-
"full-revisionid": "
|
|
15
|
-
"version": "2022.
|
|
14
|
+
"full-revisionid": "d48640fc3fff59f2f8470d6e7170a73f72fff5c6",
|
|
15
|
+
"version": "2022.07"
|
|
16
16
|
}
|
|
17
17
|
''' # END VERSION_JSON
|
|
18
18
|
|
|
@@ -101,7 +101,7 @@ def entry_point():
|
|
|
101
101
|
state_map = np.empty((n_segments,), dtype=state_map_dtype)
|
|
102
102
|
state_map['old_n_iter'] = n_iter
|
|
103
103
|
|
|
104
|
-
for
|
|
104
|
+
for iseg, (index_row, pcoord) in enumerate(zip(old_index, old_final_pcoords)):
|
|
105
105
|
istate = istates[iseg]
|
|
106
106
|
istate.iter_created = 0
|
|
107
107
|
istate.iter_used = 1
|
|
@@ -102,7 +102,6 @@ def entry_point():
|
|
|
102
102
|
|
|
103
103
|
# TODO: This would benefit from a refactor to set default args to None, and replace some of those "if <argument>" clauses
|
|
104
104
|
def initialize(mode, bstates, _bstate_file, tstates, _tstate_file):
|
|
105
|
-
|
|
106
105
|
work_manager = make_work_manager()
|
|
107
106
|
|
|
108
107
|
system = westpa.rc.get_system_driver()
|
|
@@ -116,7 +115,6 @@ def initialize(mode, bstates, _bstate_file, tstates, _tstate_file):
|
|
|
116
115
|
|
|
117
116
|
assert mode in ('show', 'replace', 'append')
|
|
118
117
|
if mode == 'show':
|
|
119
|
-
|
|
120
118
|
basis_states = data_manager.get_basis_states(n_iter)
|
|
121
119
|
if basis_states:
|
|
122
120
|
bstate_file = sys.stdout if not _bstate_file else open(_bstate_file, 'wt')
|
|
@@ -57,7 +57,7 @@ class WSucc(CommonOutputMixin, WESTDataReaderMixin, WESTAnalysisTool):
|
|
|
57
57
|
# The above HDF5 selection always returns a vector; we want a 2-d array
|
|
58
58
|
final_pcoords.shape = (len(recycled_seg_ids), pcoord_ndim)
|
|
59
59
|
|
|
60
|
-
for
|
|
60
|
+
for ipc, seg_id in enumerate(recycled_seg_ids):
|
|
61
61
|
self.output_file.write('%8d %8d %20.14g' % (n_iter, seg_id, seg_index[seg_id]['weight']))
|
|
62
62
|
fields = ['']
|
|
63
63
|
for field in final_pcoords[ipc]:
|
|
@@ -33,7 +33,6 @@ def parse_pcoord_value(pc_str):
|
|
|
33
33
|
def _assign_label_pop(
|
|
34
34
|
n_iter, lb, ub, mapper, nstates, state_map, last_labels, parent_id_dsspec, weight_dsspec, pcoord_dsspec, subsample
|
|
35
35
|
):
|
|
36
|
-
|
|
37
36
|
nbins = len(state_map) - 1
|
|
38
37
|
parent_ids = parent_id_dsspec.get_iter_data(n_iter, index_exp[lb:ub])
|
|
39
38
|
weights = weight_dsspec.get_iter_data(n_iter, index_exp[lb:ub])
|
|
@@ -68,7 +68,6 @@ modify the binning for the current iteration of a WEST simulation.
|
|
|
68
68
|
rebin_parser.set_defaults(func=self.cmd_rebin)
|
|
69
69
|
|
|
70
70
|
def process_args(self, args):
|
|
71
|
-
|
|
72
71
|
self.data_reader.process_args(args)
|
|
73
72
|
self.data_reader.open(mode='r+')
|
|
74
73
|
self.n_iter = getattr(args, 'n_iter', None) or self.data_reader.current_iteration
|
|
@@ -64,7 +64,7 @@ significant analysis tasks).
|
|
|
64
64
|
+ '\n'
|
|
65
65
|
)
|
|
66
66
|
pcoord_lines = ' pcoord[0] = {init_pcoord}\n pcoord[-1] = {final_pcoord}' + '\n'
|
|
67
|
-
for
|
|
67
|
+
for _seg_id, segment in enumerate(segments):
|
|
68
68
|
parents_str = '[' + ', '.join(map(str, sorted(segment.wtg_parent_ids))) + ']'
|
|
69
69
|
init_pcoord_str = '[' + ', '.join('{pcval:<12.6g}'.format(pcval=float(pce)) for pce in segment.pcoord[0]) + ']'
|
|
70
70
|
final_pcoord_str = '[' + ', '.join('{pcval:<12.6g}'.format(pcval=float(pce)) for pce in segment.pcoord[-1]) + ']'
|
|
@@ -68,7 +68,6 @@ def _remote_min_max(ndim, dset_dtype, n_iter, dsspec):
|
|
|
68
68
|
|
|
69
69
|
|
|
70
70
|
def _remote_bin_iter(iiter, n_iter, dsspec, wt_dsspec, initpoint, binbounds, ignore_out_of_range):
|
|
71
|
-
|
|
72
71
|
iter_hist_shape = tuple(len(bounds) - 1 for bounds in binbounds)
|
|
73
72
|
iter_hist = np.zeros(iter_hist_shape, dtype=np.float64)
|
|
74
73
|
|
|
@@ -220,7 +219,6 @@ Command-line options
|
|
|
220
219
|
self.compress_output = False
|
|
221
220
|
|
|
222
221
|
def add_args(self, parser):
|
|
223
|
-
|
|
224
222
|
parser.add_argument(
|
|
225
223
|
'-b',
|
|
226
224
|
'--bins',
|
|
@@ -300,7 +298,6 @@ Command-line options
|
|
|
300
298
|
self.compress_output = args.compress or False
|
|
301
299
|
|
|
302
300
|
def go(self):
|
|
303
|
-
|
|
304
301
|
pi = self.progress.indicator
|
|
305
302
|
pi.operation = 'Initializing'
|
|
306
303
|
with pi:
|
|
@@ -334,7 +331,6 @@ Command-line options
|
|
|
334
331
|
|
|
335
332
|
@staticmethod
|
|
336
333
|
def parse_binspec(binspec):
|
|
337
|
-
|
|
338
334
|
namespace = {'numpy': np, 'np': np, 'inf': float('inf')}
|
|
339
335
|
|
|
340
336
|
try:
|
|
@@ -156,16 +156,9 @@ Command-line options
|
|
|
156
156
|
# Sometimes, we're smaller or larger by one. Hm.
|
|
157
157
|
try:
|
|
158
158
|
self.total_walkers[:] += west['summary'][:-1]['n_particles']
|
|
159
|
-
except
|
|
159
|
+
except ValueError:
|
|
160
160
|
self.total_walkers[:] += west['summary'][:-1]['n_particles'][: len(self.total_walkers)]
|
|
161
161
|
|
|
162
|
-
class Segment:
|
|
163
|
-
def __init__(self, weight=0, iteration=0, simid=0, recycled_in=0):
|
|
164
|
-
self.weight = weight
|
|
165
|
-
self.iteration = iteration
|
|
166
|
-
self.simid = simid
|
|
167
|
-
self.recycled_in = recycled_in
|
|
168
|
-
|
|
169
162
|
def go(self):
|
|
170
163
|
pi = self.progress.indicator
|
|
171
164
|
self.istates = True # Assume serendipitously istates is same between runs...
|
|
@@ -174,7 +167,11 @@ Command-line options
|
|
|
174
167
|
self.open_files()
|
|
175
168
|
self.total_number_of_walkers()
|
|
176
169
|
if self.auxall is True:
|
|
177
|
-
|
|
170
|
+
try:
|
|
171
|
+
self.aux = list(self.westH5[1]['iterations/iter_00000001/auxdata'].keys())
|
|
172
|
+
except KeyError:
|
|
173
|
+
self.aux = None
|
|
174
|
+
log.warning('No auxdata. Proceeding forward without merging auxdata.')
|
|
178
175
|
# Create a giant WEST.h5 file, separating the individual walkers, and renormalizing the weights.
|
|
179
176
|
# It should then be compatible with existing toolsets.
|
|
180
177
|
# Isn't really going to start with auxdata, but we'll add it in.
|
|
@@ -240,7 +237,7 @@ Command-line options
|
|
|
240
237
|
self.futr_iter[i] = []
|
|
241
238
|
self.past_rm[i] = []
|
|
242
239
|
self.futr_rm[i] = []
|
|
243
|
-
|
|
240
|
+
pi.new_operation('Recreating...', self.niters)
|
|
244
241
|
# tracker = SummaryTracker()
|
|
245
242
|
# self.output_file.close()
|
|
246
243
|
|
|
@@ -262,12 +259,20 @@ Command-line options
|
|
|
262
259
|
if addition.dtype != istate_dtype:
|
|
263
260
|
addition = create_idtype_array(addition)
|
|
264
261
|
final_istate_index = np.append(final_istate_index, addition)
|
|
265
|
-
final_istate_pcoord = np.append(final_istate_pcoord, west['ibstates/0/istate_pcoord'][:])
|
|
262
|
+
final_istate_pcoord = np.append(final_istate_pcoord, west['ibstates/0/istate_pcoord'][:], axis=0)
|
|
266
263
|
|
|
267
264
|
# Saving them into self.output_file
|
|
268
265
|
self.output_file['ibstates/0'].create_dataset('istate_index', data=final_istate_index, dtype=istate_dtype)
|
|
269
266
|
self.output_file['ibstates/0'].create_dataset('istate_pcoord', data=final_istate_pcoord)
|
|
270
267
|
|
|
268
|
+
# Remaking the ibstates index link
|
|
269
|
+
master_index_row = self.output_file['ibstates/index'][0]
|
|
270
|
+
master_index_row['iter_valid'] = 0
|
|
271
|
+
master_index_row['n_bstates'] = len(self.output_file['ibstates/0/bstate_index'])
|
|
272
|
+
master_index_row['group_ref'] = self.output_file['ibstates/0'].ref
|
|
273
|
+
|
|
274
|
+
self.output_file['ibstates/index'][0] = master_index_row
|
|
275
|
+
|
|
271
276
|
for iter in range(self.niters):
|
|
272
277
|
# We have the following datasets in each iteration:
|
|
273
278
|
# ibstates, which can now be combined with --ibstates
|
|
@@ -51,7 +51,6 @@ def _remote_min_max(ndim, dset_dtype, n_iter, dsspec):
|
|
|
51
51
|
|
|
52
52
|
|
|
53
53
|
def _remote_bin_iter(iiter, n_iter, dsspec, wt_dsspec, initpoint, binbounds, ignore_out_of_range):
|
|
54
|
-
|
|
55
54
|
iter_hist_shape = tuple(len(bounds) - 1 for bounds in binbounds)
|
|
56
55
|
iter_hist = np.zeros(iter_hist_shape, dtype=np.float64)
|
|
57
56
|
|