westpa 2022.5__tar.gz → 2022.6__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.6}/PKG-INFO +26 -3
- {westpa-2022.5 → westpa-2022.6}/pyproject.toml +2 -1
- {westpa-2022.5 → westpa-2022.6}/setup.py +3 -2
- {westpa-2022.5 → westpa-2022.6}/src/westpa/_version.py +3 -3
- {westpa-2022.5 → westpa-2022.6}/src/westpa/cli/core/w_fork.py +1 -1
- {westpa-2022.5 → westpa-2022.6}/src/westpa/cli/core/w_init.py +0 -1
- {westpa-2022.5 → westpa-2022.6}/src/westpa/cli/core/w_run.py +0 -1
- {westpa-2022.5 → westpa-2022.6}/src/westpa/cli/core/w_states.py +0 -2
- {westpa-2022.5 → westpa-2022.6}/src/westpa/cli/core/w_succ.py +1 -1
- {westpa-2022.5 → westpa-2022.6}/src/westpa/cli/tools/w_assign.py +0 -1
- {westpa-2022.5 → westpa-2022.6}/src/westpa/cli/tools/w_bins.py +0 -1
- {westpa-2022.5 → westpa-2022.6}/src/westpa/cli/tools/w_dumpsegs.py +1 -1
- {westpa-2022.5 → westpa-2022.6}/src/westpa/cli/tools/w_eddist.py +0 -4
- {westpa-2022.5 → westpa-2022.6}/src/westpa/cli/tools/w_ipa.py +0 -1
- {westpa-2022.5 → westpa-2022.6}/src/westpa/cli/tools/w_multi_west.py +1 -1
- {westpa-2022.5 → westpa-2022.6}/src/westpa/cli/tools/w_pdist.py +0 -1
- {westpa-2022.5 → westpa-2022.6}/src/westpa/cli/tools/w_red.py +0 -1
- {westpa-2022.5 → westpa-2022.6}/src/westpa/core/_rc.py +0 -1
- {westpa-2022.5 → westpa-2022.6}/src/westpa/core/binning/_assign.c +1994 -764
- {westpa-2022.5 → westpa-2022.6}/src/westpa/core/binning/assign.py +2 -2
- {westpa-2022.5 → westpa-2022.6}/src/westpa/core/binning/binless_driver.py +1 -1
- {westpa-2022.5 → westpa-2022.6}/src/westpa/core/binning/binless_manager.py +25 -2
- {westpa-2022.5 → westpa-2022.6}/src/westpa/core/binning/mab.py +23 -7
- {westpa-2022.5 → westpa-2022.6}/src/westpa/core/binning/mab_driver.py +1 -1
- {westpa-2022.5 → westpa-2022.6}/src/westpa/core/binning/mab_manager.py +25 -2
- {westpa-2022.5 → westpa-2022.6}/src/westpa/core/data_manager.py +5 -6
- {westpa-2022.5 → westpa-2022.6}/src/westpa/core/h5io.py +1 -5
- {westpa-2022.5 → westpa-2022.6}/src/westpa/core/kinetics/_kinetics.c +2706 -997
- {westpa-2022.5 → westpa-2022.6}/src/westpa/core/propagators/__init__.py +0 -1
- {westpa-2022.5 → westpa-2022.6}/src/westpa/core/propagators/executable.py +1 -3
- {westpa-2022.5 → westpa-2022.6}/src/westpa/core/reweight/_reweight.c +2146 -807
- {westpa-2022.5 → westpa-2022.6}/src/westpa/core/sim_manager.py +3 -4
- {westpa-2022.5 → westpa-2022.6}/src/westpa/core/trajectory.py +9 -1
- {westpa-2022.5 → westpa-2022.6}/src/westpa/core/we_driver.py +7 -7
- {westpa-2022.5 → westpa-2022.6}/src/westpa/fasthist/_fasthist.c +1806 -680
- {westpa-2022.5 → westpa-2022.6}/src/westpa/mclib/_mclib.c +1877 -759
- {westpa-2022.5 → westpa-2022.6}/src/westpa/oldtools/aframe/binning.py +2 -2
- {westpa-2022.5 → westpa-2022.6}/src/westpa/oldtools/aframe/data_reader.py +3 -4
- {westpa-2022.5 → westpa-2022.6}/src/westpa/oldtools/aframe/kinetics.py +0 -1
- {westpa-2022.5 → westpa-2022.6}/src/westpa/oldtools/aframe/trajwalker.py +1 -1
- {westpa-2022.5 → westpa-2022.6}/src/westpa/oldtools/aframe/transitions.py +1 -3
- {westpa-2022.5 → westpa-2022.6}/src/westpa/oldtools/cmds/w_ttimes.py +2 -4
- {westpa-2022.5 → westpa-2022.6}/src/westpa/tools/binning.py +1 -4
- {westpa-2022.5 → westpa-2022.6}/src/westpa/tools/kinetics_tool.py +0 -3
- {westpa-2022.5 → westpa-2022.6}/src/westpa/tools/selected_segs.py +0 -1
- {westpa-2022.5 → westpa-2022.6}/src/westpa/trajtree/_trajtree.c +1212 -491
- {westpa-2022.5 → westpa-2022.6}/src/westpa/trajtree/trajtree.py +0 -2
- {westpa-2022.5 → westpa-2022.6}/src/westpa/westext/adaptvoronoi/adaptVor_driver.py +0 -2
- {westpa-2022.5 → westpa-2022.6}/src/westpa/westext/hamsm_restarting/example_overrides.py +0 -1
- {westpa-2022.5 → westpa-2022.6}/src/westpa/westext/hamsm_restarting/restart_driver.py +1 -18
- {westpa-2022.5 → westpa-2022.6}/src/westpa/westext/stringmethod/string_driver.py +0 -1
- {westpa-2022.5 → westpa-2022.6}/src/westpa/westext/stringmethod/string_method.py +0 -2
- {westpa-2022.5 → westpa-2022.6}/src/westpa/westext/weed/weed_driver.py +2 -2
- {westpa-2022.5 → westpa-2022.6}/src/westpa/westext/wess/ProbAdjust.py +0 -1
- {westpa-2022.5 → westpa-2022.6}/src/westpa/westext/wess/wess_driver.py +2 -2
- {westpa-2022.5 → westpa-2022.6}/src/westpa/work_managers/environment.py +0 -1
- {westpa-2022.5 → westpa-2022.6}/src/westpa/work_managers/mpi.py +0 -7
- {westpa-2022.5 → westpa-2022.6}/src/westpa/work_managers/zeromq/core.py +1 -5
- {westpa-2022.5 → westpa-2022.6}/src/westpa/work_managers/zeromq/work_manager.py +1 -2
- {westpa-2022.5 → westpa-2022.6}/src/westpa/work_managers/zeromq/worker.py +0 -1
- {westpa-2022.5 → westpa-2022.6/src/westpa.egg-info}/PKG-INFO +26 -3
- {westpa-2022.5 → westpa-2022.6}/src/westpa.egg-info/requires.txt +7 -0
- {westpa-2022.5 → westpa-2022.6}/tests/test_binning.py +0 -1
- {westpa-2022.5 → westpa-2022.6}/tests/test_sim_manager.py +99 -5
- {westpa-2022.5 → westpa-2022.6}/tests/test_we_driver.py +0 -1
- {westpa-2022.5 → westpa-2022.6}/tests/test_yamlfe.py +1 -0
- {westpa-2022.5 → westpa-2022.6}/AUTHORS +0 -0
- {westpa-2022.5 → westpa-2022.6}/LICENSE +0 -0
- {westpa-2022.5 → westpa-2022.6}/MANIFEST.in +0 -0
- {westpa-2022.5 → westpa-2022.6}/README.rst +0 -0
- {westpa-2022.5 → westpa-2022.6}/setup.cfg +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/__init__.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/analysis/__init__.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/analysis/core.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/analysis/statistics.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/analysis/trajectories.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/cli/__init__.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/cli/core/__init__.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/cli/core/w_truncate.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/cli/tools/__init__.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/cli/tools/ploterr.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/cli/tools/plothist.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/cli/tools/w_crawl.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/cli/tools/w_direct.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/cli/tools/w_fluxanl.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/cli/tools/w_kinavg.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/cli/tools/w_kinetics.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/cli/tools/w_ntop.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/cli/tools/w_postanalysis_matrix.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/cli/tools/w_postanalysis_reweight.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/cli/tools/w_reweight.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/cli/tools/w_select.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/cli/tools/w_stateprobs.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/cli/tools/w_trace.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/core/__init__.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/core/binning/__init__.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/core/binning/_assign.pyx +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/core/binning/binless.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/core/binning/bins.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/core/extloader.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/core/kinetics/__init__.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/core/kinetics/_kinetics.pyx +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/core/kinetics/events.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/core/kinetics/matrates.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/core/kinetics/rate_averaging.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/core/progress.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/core/reweight/__init__.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/core/reweight/_reweight.pyx +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/core/reweight/matrix.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/core/segment.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/core/states.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/core/systems.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/core/textio.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/core/wm_ops.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/core/yamlcfg.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/fasthist/__init__.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/fasthist/__main__.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/fasthist/_fasthist.pyx +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/mclib/__init__.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/mclib/__main__.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/mclib/_mclib.pyx +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/oldtools/__init__.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/oldtools/aframe/__init__.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/oldtools/aframe/atool.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/oldtools/aframe/base_mixin.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/oldtools/aframe/iter_range.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/oldtools/aframe/mcbs.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/oldtools/aframe/output.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/oldtools/aframe/plotting.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/oldtools/cmds/__init__.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/oldtools/files.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/oldtools/miscfn.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/oldtools/stats/__init__.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/oldtools/stats/accumulator.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/oldtools/stats/edfs.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/oldtools/stats/mcbs.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/tools/__init__.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/tools/core.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/tools/data_reader.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/tools/dtypes.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/tools/iter_range.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/tools/plot.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/tools/progress.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/tools/wipi.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/trajtree/__init__.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/trajtree/_trajtree.pyx +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/westext/__init__.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/westext/adaptvoronoi/__init__.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/westext/hamsm_restarting/__init__.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/westext/stringmethod/__init__.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/westext/stringmethod/fourier_fitting.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/westext/weed/BinCluster.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/westext/weed/ProbAdjustEquil.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/westext/weed/UncertMath.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/westext/weed/__init__.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/westext/wess/__init__.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/work_managers/__init__.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/work_managers/core.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/work_managers/processes.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/work_managers/serial.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/work_managers/threads.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/work_managers/zeromq/__init__.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa/work_managers/zeromq/node.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa.egg-info/SOURCES.txt +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa.egg-info/dependency_links.txt +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa.egg-info/entry_points.txt +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa.egg-info/not-zip-safe +0 -0
- {westpa-2022.5 → westpa-2022.6}/src/westpa.egg-info/top_level.txt +0 -0
- {westpa-2022.5 → westpa-2022.6}/tests/test_data_manager.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/tests/test_kinetics.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/tests/test_loaders.py +0 -0
- {westpa-2022.5 → westpa-2022.6}/versioneer.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: westpa
|
|
3
|
-
Version: 2022.
|
|
3
|
+
Version: 2022.6
|
|
4
4
|
Home-page: http://github.com/westpa/westpa
|
|
5
5
|
License: MIT
|
|
6
6
|
Classifier: Development Status :: 5 - Production/Stable
|
|
@@ -12,11 +12,34 @@ 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>=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<3.9; python_version < "3.9"
|
|
29
|
+
Requires-Dist: tables; python_version >= "3.9"
|
|
15
30
|
Provides-Extra: tests
|
|
31
|
+
Requires-Dist: pytest; extra == "tests"
|
|
32
|
+
Requires-Dist: pytest-cov; extra == "tests"
|
|
33
|
+
Requires-Dist: pytest-rerunfailures; extra == "tests"
|
|
34
|
+
Requires-Dist: pytest-timeout; extra == "tests"
|
|
16
35
|
Provides-Extra: mpi
|
|
36
|
+
Requires-Dist: mpi4py; extra == "mpi"
|
|
17
37
|
Provides-Extra: dev
|
|
18
|
-
|
|
19
|
-
|
|
38
|
+
Requires-Dist: pytest; extra == "dev"
|
|
39
|
+
Requires-Dist: pytest-cov; extra == "dev"
|
|
40
|
+
Requires-Dist: pytest-rerunfailures; extra == "dev"
|
|
41
|
+
Requires-Dist: pytest-timeout; extra == "dev"
|
|
42
|
+
Requires-Dist: pre-commit; extra == "dev"
|
|
20
43
|
|
|
21
44
|
===============
|
|
22
45
|
WESTPA 2.0
|
|
@@ -5,7 +5,8 @@ build-backend = 'setuptools.build_meta:__legacy__'
|
|
|
5
5
|
requires = [
|
|
6
6
|
"setuptools>=40.8.0",
|
|
7
7
|
"wheel",
|
|
8
|
-
"Cython>=0.29.16", # Note: sync with setup.py
|
|
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'",
|
|
9
10
|
"oldest-supported-numpy",
|
|
10
11
|
"scipy>=0.19.1",
|
|
11
12
|
"versioneer-518"
|
|
@@ -120,11 +120,12 @@ INSTALL_REQUIRES = [
|
|
|
120
120
|
"ipykernel",
|
|
121
121
|
"tqdm",
|
|
122
122
|
"pandas",
|
|
123
|
-
"tables",
|
|
123
|
+
"tables < 3.9; python_version < '3.9'",
|
|
124
|
+
"tables; python_version >= '3.9'",
|
|
124
125
|
]
|
|
125
126
|
|
|
126
127
|
EXTRAS_REQUIRE = {
|
|
127
|
-
"tests": ["pytest", "pytest-cov", "pytest-rerunfailures"],
|
|
128
|
+
"tests": ["pytest", "pytest-cov", "pytest-rerunfailures", "pytest-timeout"],
|
|
128
129
|
"mpi": ["mpi4py"],
|
|
129
130
|
}
|
|
130
131
|
|
|
@@ -8,11 +8,11 @@ import json
|
|
|
8
8
|
|
|
9
9
|
version_json = '''
|
|
10
10
|
{
|
|
11
|
-
"date": "2023-
|
|
11
|
+
"date": "2023-10-20T12:52:31-0400",
|
|
12
12
|
"dirty": false,
|
|
13
13
|
"error": null,
|
|
14
|
-
"full-revisionid": "
|
|
15
|
-
"version": "2022.
|
|
14
|
+
"full-revisionid": "ef5fbd3e0aeb4d08160fc56ee39cca6ba75e3217",
|
|
15
|
+
"version": "2022.06"
|
|
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,7 +156,7 @@ 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
162
|
class Segment:
|
|
@@ -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
|
|