westpa 2022.9__tar.gz → 2022.11__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.9/src/westpa.egg-info → westpa-2022.11}/PKG-INFO +1 -1
- {westpa-2022.9 → westpa-2022.11}/src/westpa/_version.py +3 -3
- {westpa-2022.9 → westpa-2022.11}/src/westpa/cli/core/w_truncate.py +15 -6
- {westpa-2022.9 → westpa-2022.11}/src/westpa/core/binning/_assign.c +123 -123
- {westpa-2022.9 → westpa-2022.11}/src/westpa/core/h5io.py +1 -2
- {westpa-2022.9 → westpa-2022.11}/src/westpa/core/kinetics/_kinetics.c +123 -123
- {westpa-2022.9 → westpa-2022.11}/src/westpa/core/propagators/executable.py +1 -1
- {westpa-2022.9 → westpa-2022.11}/src/westpa/core/reweight/_reweight.c +123 -123
- {westpa-2022.9 → westpa-2022.11}/src/westpa/fasthist/_fasthist.c +123 -123
- {westpa-2022.9 → westpa-2022.11}/src/westpa/mclib/_mclib.c +123 -123
- {westpa-2022.9 → westpa-2022.11}/src/westpa/oldtools/aframe/plotting.py +4 -4
- {westpa-2022.9 → westpa-2022.11}/src/westpa/trajtree/_trajtree.c +123 -123
- {westpa-2022.9 → westpa-2022.11/src/westpa.egg-info}/PKG-INFO +1 -1
- {westpa-2022.9 → westpa-2022.11}/tests/test_we_driver.py +1 -1
- {westpa-2022.9 → westpa-2022.11}/AUTHORS +0 -0
- {westpa-2022.9 → westpa-2022.11}/LICENSE +0 -0
- {westpa-2022.9 → westpa-2022.11}/MANIFEST.in +0 -0
- {westpa-2022.9 → westpa-2022.11}/README.rst +0 -0
- {westpa-2022.9 → westpa-2022.11}/pyproject.toml +0 -0
- {westpa-2022.9 → westpa-2022.11}/setup.cfg +0 -0
- {westpa-2022.9 → westpa-2022.11}/setup.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/__init__.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/analysis/__init__.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/analysis/core.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/analysis/statistics.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/analysis/trajectories.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/cli/__init__.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/cli/core/__init__.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/cli/core/w_fork.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/cli/core/w_init.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/cli/core/w_run.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/cli/core/w_states.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/cli/core/w_succ.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/cli/tools/__init__.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/cli/tools/ploterr.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/cli/tools/plothist.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/cli/tools/w_assign.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/cli/tools/w_bins.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/cli/tools/w_crawl.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/cli/tools/w_direct.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/cli/tools/w_dumpsegs.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/cli/tools/w_eddist.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/cli/tools/w_fluxanl.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/cli/tools/w_ipa.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/cli/tools/w_kinavg.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/cli/tools/w_kinetics.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/cli/tools/w_multi_west.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/cli/tools/w_ntop.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/cli/tools/w_pdist.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/cli/tools/w_postanalysis_matrix.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/cli/tools/w_postanalysis_reweight.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/cli/tools/w_red.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/cli/tools/w_reweight.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/cli/tools/w_select.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/cli/tools/w_stateprobs.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/cli/tools/w_trace.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/core/__init__.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/core/_rc.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/core/binning/__init__.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/core/binning/_assign.pyx +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/core/binning/assign.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/core/binning/binless.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/core/binning/binless_driver.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/core/binning/binless_manager.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/core/binning/bins.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/core/binning/mab.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/core/binning/mab_driver.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/core/binning/mab_manager.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/core/data_manager.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/core/extloader.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/core/kinetics/__init__.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/core/kinetics/_kinetics.pyx +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/core/kinetics/events.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/core/kinetics/matrates.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/core/kinetics/rate_averaging.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/core/progress.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/core/propagators/__init__.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/core/reweight/__init__.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/core/reweight/_reweight.pyx +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/core/reweight/matrix.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/core/segment.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/core/sim_manager.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/core/states.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/core/systems.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/core/textio.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/core/trajectory.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/core/we_driver.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/core/wm_ops.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/core/yamlcfg.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/fasthist/__init__.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/fasthist/__main__.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/fasthist/_fasthist.pyx +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/mclib/__init__.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/mclib/__main__.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/mclib/_mclib.pyx +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/oldtools/__init__.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/oldtools/aframe/__init__.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/oldtools/aframe/atool.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/oldtools/aframe/base_mixin.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/oldtools/aframe/binning.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/oldtools/aframe/data_reader.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/oldtools/aframe/iter_range.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/oldtools/aframe/kinetics.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/oldtools/aframe/mcbs.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/oldtools/aframe/output.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/oldtools/aframe/trajwalker.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/oldtools/aframe/transitions.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/oldtools/cmds/__init__.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/oldtools/cmds/w_ttimes.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/oldtools/files.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/oldtools/miscfn.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/oldtools/stats/__init__.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/oldtools/stats/accumulator.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/oldtools/stats/edfs.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/oldtools/stats/mcbs.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/tools/__init__.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/tools/binning.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/tools/core.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/tools/data_reader.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/tools/dtypes.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/tools/iter_range.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/tools/kinetics_tool.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/tools/plot.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/tools/progress.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/tools/selected_segs.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/tools/wipi.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/trajtree/__init__.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/trajtree/_trajtree.pyx +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/trajtree/trajtree.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/westext/__init__.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/westext/adaptvoronoi/__init__.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/westext/adaptvoronoi/adaptVor_driver.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/westext/hamsm_restarting/__init__.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/westext/hamsm_restarting/example_overrides.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/westext/hamsm_restarting/restart_driver.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/westext/stringmethod/__init__.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/westext/stringmethod/fourier_fitting.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/westext/stringmethod/string_driver.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/westext/stringmethod/string_method.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/westext/weed/BinCluster.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/westext/weed/ProbAdjustEquil.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/westext/weed/UncertMath.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/westext/weed/__init__.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/westext/weed/weed_driver.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/westext/wess/ProbAdjust.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/westext/wess/__init__.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/westext/wess/wess_driver.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/work_managers/__init__.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/work_managers/core.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/work_managers/environment.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/work_managers/mpi.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/work_managers/processes.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/work_managers/serial.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/work_managers/threads.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/work_managers/zeromq/__init__.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/work_managers/zeromq/core.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/work_managers/zeromq/node.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/work_managers/zeromq/work_manager.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa/work_managers/zeromq/worker.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa.egg-info/SOURCES.txt +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa.egg-info/dependency_links.txt +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa.egg-info/entry_points.txt +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa.egg-info/not-zip-safe +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa.egg-info/requires.txt +0 -0
- {westpa-2022.9 → westpa-2022.11}/src/westpa.egg-info/top_level.txt +0 -0
- {westpa-2022.9 → westpa-2022.11}/tests/test_binning.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/tests/test_data_manager.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/tests/test_executable.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/tests/test_kinetics.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/tests/test_sim_manager.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/tests/test_states.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/tests/test_yamlfe.py +0 -0
- {westpa-2022.9 → westpa-2022.11}/versioneer.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: westpa
|
|
3
|
-
Version: 2022.
|
|
3
|
+
Version: 2022.11
|
|
4
4
|
Summary: WESTPA is a package for constructing and running stochastic simulations using the "weighted ensemble" approach of Huber and Kim (1996).
|
|
5
5
|
Home-page: http://github.com/westpa/westpa
|
|
6
6
|
License: MIT
|
|
@@ -8,11 +8,11 @@ import json
|
|
|
8
8
|
|
|
9
9
|
version_json = '''
|
|
10
10
|
{
|
|
11
|
-
"date": "2024-
|
|
11
|
+
"date": "2024-07-02T19:19:53-0400",
|
|
12
12
|
"dirty": false,
|
|
13
13
|
"error": null,
|
|
14
|
-
"full-revisionid": "
|
|
15
|
-
"version": "2022.
|
|
14
|
+
"full-revisionid": "a2d390ea5ff8681246351e21a0bdeaeedc00f366",
|
|
15
|
+
"version": "2022.11"
|
|
16
16
|
}
|
|
17
17
|
''' # END VERSION_JSON
|
|
18
18
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import argparse
|
|
2
1
|
import logging
|
|
2
|
+
from argparse import ArgumentParser
|
|
3
3
|
|
|
4
4
|
import westpa
|
|
5
5
|
|
|
@@ -14,7 +14,7 @@ traj_segs directory) is deleted or moved for the corresponding iterations.
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
def entry_point():
|
|
17
|
-
parser =
|
|
17
|
+
parser = ArgumentParser(
|
|
18
18
|
'w_truncate',
|
|
19
19
|
description='''\
|
|
20
20
|
Remove all iterations after a certain point in a WESTPA simulation.
|
|
@@ -30,7 +30,7 @@ def entry_point():
|
|
|
30
30
|
metavar='WEST_H5FILE',
|
|
31
31
|
help='''Take WEST data from WEST_H5FILE (default: read from the HDF5 file specified in west.cfg).''',
|
|
32
32
|
)
|
|
33
|
-
parser.add_argument('-n', '--iter', dest='n_iter', type=int, help='Truncate this iteration and those following.')
|
|
33
|
+
parser.add_argument('-n', '--iter', dest='n_iter', type=int, default=0, help='Truncate this iteration and those following.')
|
|
34
34
|
|
|
35
35
|
args = parser.parse_args()
|
|
36
36
|
westpa.rc.process_args(args, config_required=False)
|
|
@@ -40,7 +40,15 @@ def entry_point():
|
|
|
40
40
|
|
|
41
41
|
dm.open_backing()
|
|
42
42
|
# max_iter = dm.current_iteration
|
|
43
|
-
|
|
43
|
+
|
|
44
|
+
if args.n_iter > dm.current_iteration:
|
|
45
|
+
parser.error(
|
|
46
|
+
'Provided iteration {} > current iteration {} of the {} HDF5 file. Exiting without doing anything.'.format(
|
|
47
|
+
args.n_iter, dm.current_iteration, dm.we_h5filename.split('/')[-1]
|
|
48
|
+
)
|
|
49
|
+
)
|
|
50
|
+
else:
|
|
51
|
+
n_iter = args.n_iter if args.n_iter > 0 else dm.current_iteration
|
|
44
52
|
|
|
45
53
|
for i in range(n_iter, dm.current_iteration + 1):
|
|
46
54
|
dm.del_iter_group(i)
|
|
@@ -48,8 +56,9 @@ def entry_point():
|
|
|
48
56
|
dm.del_iter_summary(n_iter)
|
|
49
57
|
dm.current_iteration = n_iter - 1
|
|
50
58
|
|
|
51
|
-
|
|
52
|
-
|
|
59
|
+
westpa.rc.pstatus('simulation data truncated after iteration {}'.format(dm.current_iteration))
|
|
60
|
+
westpa.rc.pstatus('\n' + warning_string)
|
|
61
|
+
westpa.rc.pflush()
|
|
53
62
|
|
|
54
63
|
dm.flush_backing()
|
|
55
64
|
dm.close_backing()
|