westpa 2022.10__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.

Files changed (173) hide show
  1. {westpa-2022.10/src/westpa.egg-info → westpa-2022.11}/PKG-INFO +1 -1
  2. {westpa-2022.10 → westpa-2022.11}/src/westpa/_version.py +3 -3
  3. {westpa-2022.10 → westpa-2022.11}/src/westpa/cli/core/w_truncate.py +15 -6
  4. {westpa-2022.10 → westpa-2022.11}/src/westpa/core/binning/_assign.c +123 -123
  5. {westpa-2022.10 → westpa-2022.11}/src/westpa/core/kinetics/_kinetics.c +123 -123
  6. {westpa-2022.10 → westpa-2022.11}/src/westpa/core/propagators/executable.py +1 -1
  7. {westpa-2022.10 → westpa-2022.11}/src/westpa/core/reweight/_reweight.c +123 -123
  8. {westpa-2022.10 → westpa-2022.11}/src/westpa/fasthist/_fasthist.c +123 -123
  9. {westpa-2022.10 → westpa-2022.11}/src/westpa/mclib/_mclib.c +123 -123
  10. {westpa-2022.10 → westpa-2022.11}/src/westpa/oldtools/aframe/plotting.py +4 -4
  11. {westpa-2022.10 → westpa-2022.11}/src/westpa/trajtree/_trajtree.c +123 -123
  12. {westpa-2022.10 → westpa-2022.11/src/westpa.egg-info}/PKG-INFO +1 -1
  13. {westpa-2022.10 → westpa-2022.11}/tests/test_we_driver.py +1 -1
  14. {westpa-2022.10 → westpa-2022.11}/AUTHORS +0 -0
  15. {westpa-2022.10 → westpa-2022.11}/LICENSE +0 -0
  16. {westpa-2022.10 → westpa-2022.11}/MANIFEST.in +0 -0
  17. {westpa-2022.10 → westpa-2022.11}/README.rst +0 -0
  18. {westpa-2022.10 → westpa-2022.11}/pyproject.toml +0 -0
  19. {westpa-2022.10 → westpa-2022.11}/setup.cfg +0 -0
  20. {westpa-2022.10 → westpa-2022.11}/setup.py +0 -0
  21. {westpa-2022.10 → westpa-2022.11}/src/westpa/__init__.py +0 -0
  22. {westpa-2022.10 → westpa-2022.11}/src/westpa/analysis/__init__.py +0 -0
  23. {westpa-2022.10 → westpa-2022.11}/src/westpa/analysis/core.py +0 -0
  24. {westpa-2022.10 → westpa-2022.11}/src/westpa/analysis/statistics.py +0 -0
  25. {westpa-2022.10 → westpa-2022.11}/src/westpa/analysis/trajectories.py +0 -0
  26. {westpa-2022.10 → westpa-2022.11}/src/westpa/cli/__init__.py +0 -0
  27. {westpa-2022.10 → westpa-2022.11}/src/westpa/cli/core/__init__.py +0 -0
  28. {westpa-2022.10 → westpa-2022.11}/src/westpa/cli/core/w_fork.py +0 -0
  29. {westpa-2022.10 → westpa-2022.11}/src/westpa/cli/core/w_init.py +0 -0
  30. {westpa-2022.10 → westpa-2022.11}/src/westpa/cli/core/w_run.py +0 -0
  31. {westpa-2022.10 → westpa-2022.11}/src/westpa/cli/core/w_states.py +0 -0
  32. {westpa-2022.10 → westpa-2022.11}/src/westpa/cli/core/w_succ.py +0 -0
  33. {westpa-2022.10 → westpa-2022.11}/src/westpa/cli/tools/__init__.py +0 -0
  34. {westpa-2022.10 → westpa-2022.11}/src/westpa/cli/tools/ploterr.py +0 -0
  35. {westpa-2022.10 → westpa-2022.11}/src/westpa/cli/tools/plothist.py +0 -0
  36. {westpa-2022.10 → westpa-2022.11}/src/westpa/cli/tools/w_assign.py +0 -0
  37. {westpa-2022.10 → westpa-2022.11}/src/westpa/cli/tools/w_bins.py +0 -0
  38. {westpa-2022.10 → westpa-2022.11}/src/westpa/cli/tools/w_crawl.py +0 -0
  39. {westpa-2022.10 → westpa-2022.11}/src/westpa/cli/tools/w_direct.py +0 -0
  40. {westpa-2022.10 → westpa-2022.11}/src/westpa/cli/tools/w_dumpsegs.py +0 -0
  41. {westpa-2022.10 → westpa-2022.11}/src/westpa/cli/tools/w_eddist.py +0 -0
  42. {westpa-2022.10 → westpa-2022.11}/src/westpa/cli/tools/w_fluxanl.py +0 -0
  43. {westpa-2022.10 → westpa-2022.11}/src/westpa/cli/tools/w_ipa.py +0 -0
  44. {westpa-2022.10 → westpa-2022.11}/src/westpa/cli/tools/w_kinavg.py +0 -0
  45. {westpa-2022.10 → westpa-2022.11}/src/westpa/cli/tools/w_kinetics.py +0 -0
  46. {westpa-2022.10 → westpa-2022.11}/src/westpa/cli/tools/w_multi_west.py +0 -0
  47. {westpa-2022.10 → westpa-2022.11}/src/westpa/cli/tools/w_ntop.py +0 -0
  48. {westpa-2022.10 → westpa-2022.11}/src/westpa/cli/tools/w_pdist.py +0 -0
  49. {westpa-2022.10 → westpa-2022.11}/src/westpa/cli/tools/w_postanalysis_matrix.py +0 -0
  50. {westpa-2022.10 → westpa-2022.11}/src/westpa/cli/tools/w_postanalysis_reweight.py +0 -0
  51. {westpa-2022.10 → westpa-2022.11}/src/westpa/cli/tools/w_red.py +0 -0
  52. {westpa-2022.10 → westpa-2022.11}/src/westpa/cli/tools/w_reweight.py +0 -0
  53. {westpa-2022.10 → westpa-2022.11}/src/westpa/cli/tools/w_select.py +0 -0
  54. {westpa-2022.10 → westpa-2022.11}/src/westpa/cli/tools/w_stateprobs.py +0 -0
  55. {westpa-2022.10 → westpa-2022.11}/src/westpa/cli/tools/w_trace.py +0 -0
  56. {westpa-2022.10 → westpa-2022.11}/src/westpa/core/__init__.py +0 -0
  57. {westpa-2022.10 → westpa-2022.11}/src/westpa/core/_rc.py +0 -0
  58. {westpa-2022.10 → westpa-2022.11}/src/westpa/core/binning/__init__.py +0 -0
  59. {westpa-2022.10 → westpa-2022.11}/src/westpa/core/binning/_assign.pyx +0 -0
  60. {westpa-2022.10 → westpa-2022.11}/src/westpa/core/binning/assign.py +0 -0
  61. {westpa-2022.10 → westpa-2022.11}/src/westpa/core/binning/binless.py +0 -0
  62. {westpa-2022.10 → westpa-2022.11}/src/westpa/core/binning/binless_driver.py +0 -0
  63. {westpa-2022.10 → westpa-2022.11}/src/westpa/core/binning/binless_manager.py +0 -0
  64. {westpa-2022.10 → westpa-2022.11}/src/westpa/core/binning/bins.py +0 -0
  65. {westpa-2022.10 → westpa-2022.11}/src/westpa/core/binning/mab.py +0 -0
  66. {westpa-2022.10 → westpa-2022.11}/src/westpa/core/binning/mab_driver.py +0 -0
  67. {westpa-2022.10 → westpa-2022.11}/src/westpa/core/binning/mab_manager.py +0 -0
  68. {westpa-2022.10 → westpa-2022.11}/src/westpa/core/data_manager.py +0 -0
  69. {westpa-2022.10 → westpa-2022.11}/src/westpa/core/extloader.py +0 -0
  70. {westpa-2022.10 → westpa-2022.11}/src/westpa/core/h5io.py +0 -0
  71. {westpa-2022.10 → westpa-2022.11}/src/westpa/core/kinetics/__init__.py +0 -0
  72. {westpa-2022.10 → westpa-2022.11}/src/westpa/core/kinetics/_kinetics.pyx +0 -0
  73. {westpa-2022.10 → westpa-2022.11}/src/westpa/core/kinetics/events.py +0 -0
  74. {westpa-2022.10 → westpa-2022.11}/src/westpa/core/kinetics/matrates.py +0 -0
  75. {westpa-2022.10 → westpa-2022.11}/src/westpa/core/kinetics/rate_averaging.py +0 -0
  76. {westpa-2022.10 → westpa-2022.11}/src/westpa/core/progress.py +0 -0
  77. {westpa-2022.10 → westpa-2022.11}/src/westpa/core/propagators/__init__.py +0 -0
  78. {westpa-2022.10 → westpa-2022.11}/src/westpa/core/reweight/__init__.py +0 -0
  79. {westpa-2022.10 → westpa-2022.11}/src/westpa/core/reweight/_reweight.pyx +0 -0
  80. {westpa-2022.10 → westpa-2022.11}/src/westpa/core/reweight/matrix.py +0 -0
  81. {westpa-2022.10 → westpa-2022.11}/src/westpa/core/segment.py +0 -0
  82. {westpa-2022.10 → westpa-2022.11}/src/westpa/core/sim_manager.py +0 -0
  83. {westpa-2022.10 → westpa-2022.11}/src/westpa/core/states.py +0 -0
  84. {westpa-2022.10 → westpa-2022.11}/src/westpa/core/systems.py +0 -0
  85. {westpa-2022.10 → westpa-2022.11}/src/westpa/core/textio.py +0 -0
  86. {westpa-2022.10 → westpa-2022.11}/src/westpa/core/trajectory.py +0 -0
  87. {westpa-2022.10 → westpa-2022.11}/src/westpa/core/we_driver.py +0 -0
  88. {westpa-2022.10 → westpa-2022.11}/src/westpa/core/wm_ops.py +0 -0
  89. {westpa-2022.10 → westpa-2022.11}/src/westpa/core/yamlcfg.py +0 -0
  90. {westpa-2022.10 → westpa-2022.11}/src/westpa/fasthist/__init__.py +0 -0
  91. {westpa-2022.10 → westpa-2022.11}/src/westpa/fasthist/__main__.py +0 -0
  92. {westpa-2022.10 → westpa-2022.11}/src/westpa/fasthist/_fasthist.pyx +0 -0
  93. {westpa-2022.10 → westpa-2022.11}/src/westpa/mclib/__init__.py +0 -0
  94. {westpa-2022.10 → westpa-2022.11}/src/westpa/mclib/__main__.py +0 -0
  95. {westpa-2022.10 → westpa-2022.11}/src/westpa/mclib/_mclib.pyx +0 -0
  96. {westpa-2022.10 → westpa-2022.11}/src/westpa/oldtools/__init__.py +0 -0
  97. {westpa-2022.10 → westpa-2022.11}/src/westpa/oldtools/aframe/__init__.py +0 -0
  98. {westpa-2022.10 → westpa-2022.11}/src/westpa/oldtools/aframe/atool.py +0 -0
  99. {westpa-2022.10 → westpa-2022.11}/src/westpa/oldtools/aframe/base_mixin.py +0 -0
  100. {westpa-2022.10 → westpa-2022.11}/src/westpa/oldtools/aframe/binning.py +0 -0
  101. {westpa-2022.10 → westpa-2022.11}/src/westpa/oldtools/aframe/data_reader.py +0 -0
  102. {westpa-2022.10 → westpa-2022.11}/src/westpa/oldtools/aframe/iter_range.py +0 -0
  103. {westpa-2022.10 → westpa-2022.11}/src/westpa/oldtools/aframe/kinetics.py +0 -0
  104. {westpa-2022.10 → westpa-2022.11}/src/westpa/oldtools/aframe/mcbs.py +0 -0
  105. {westpa-2022.10 → westpa-2022.11}/src/westpa/oldtools/aframe/output.py +0 -0
  106. {westpa-2022.10 → westpa-2022.11}/src/westpa/oldtools/aframe/trajwalker.py +0 -0
  107. {westpa-2022.10 → westpa-2022.11}/src/westpa/oldtools/aframe/transitions.py +0 -0
  108. {westpa-2022.10 → westpa-2022.11}/src/westpa/oldtools/cmds/__init__.py +0 -0
  109. {westpa-2022.10 → westpa-2022.11}/src/westpa/oldtools/cmds/w_ttimes.py +0 -0
  110. {westpa-2022.10 → westpa-2022.11}/src/westpa/oldtools/files.py +0 -0
  111. {westpa-2022.10 → westpa-2022.11}/src/westpa/oldtools/miscfn.py +0 -0
  112. {westpa-2022.10 → westpa-2022.11}/src/westpa/oldtools/stats/__init__.py +0 -0
  113. {westpa-2022.10 → westpa-2022.11}/src/westpa/oldtools/stats/accumulator.py +0 -0
  114. {westpa-2022.10 → westpa-2022.11}/src/westpa/oldtools/stats/edfs.py +0 -0
  115. {westpa-2022.10 → westpa-2022.11}/src/westpa/oldtools/stats/mcbs.py +0 -0
  116. {westpa-2022.10 → westpa-2022.11}/src/westpa/tools/__init__.py +0 -0
  117. {westpa-2022.10 → westpa-2022.11}/src/westpa/tools/binning.py +0 -0
  118. {westpa-2022.10 → westpa-2022.11}/src/westpa/tools/core.py +0 -0
  119. {westpa-2022.10 → westpa-2022.11}/src/westpa/tools/data_reader.py +0 -0
  120. {westpa-2022.10 → westpa-2022.11}/src/westpa/tools/dtypes.py +0 -0
  121. {westpa-2022.10 → westpa-2022.11}/src/westpa/tools/iter_range.py +0 -0
  122. {westpa-2022.10 → westpa-2022.11}/src/westpa/tools/kinetics_tool.py +0 -0
  123. {westpa-2022.10 → westpa-2022.11}/src/westpa/tools/plot.py +0 -0
  124. {westpa-2022.10 → westpa-2022.11}/src/westpa/tools/progress.py +0 -0
  125. {westpa-2022.10 → westpa-2022.11}/src/westpa/tools/selected_segs.py +0 -0
  126. {westpa-2022.10 → westpa-2022.11}/src/westpa/tools/wipi.py +0 -0
  127. {westpa-2022.10 → westpa-2022.11}/src/westpa/trajtree/__init__.py +0 -0
  128. {westpa-2022.10 → westpa-2022.11}/src/westpa/trajtree/_trajtree.pyx +0 -0
  129. {westpa-2022.10 → westpa-2022.11}/src/westpa/trajtree/trajtree.py +0 -0
  130. {westpa-2022.10 → westpa-2022.11}/src/westpa/westext/__init__.py +0 -0
  131. {westpa-2022.10 → westpa-2022.11}/src/westpa/westext/adaptvoronoi/__init__.py +0 -0
  132. {westpa-2022.10 → westpa-2022.11}/src/westpa/westext/adaptvoronoi/adaptVor_driver.py +0 -0
  133. {westpa-2022.10 → westpa-2022.11}/src/westpa/westext/hamsm_restarting/__init__.py +0 -0
  134. {westpa-2022.10 → westpa-2022.11}/src/westpa/westext/hamsm_restarting/example_overrides.py +0 -0
  135. {westpa-2022.10 → westpa-2022.11}/src/westpa/westext/hamsm_restarting/restart_driver.py +0 -0
  136. {westpa-2022.10 → westpa-2022.11}/src/westpa/westext/stringmethod/__init__.py +0 -0
  137. {westpa-2022.10 → westpa-2022.11}/src/westpa/westext/stringmethod/fourier_fitting.py +0 -0
  138. {westpa-2022.10 → westpa-2022.11}/src/westpa/westext/stringmethod/string_driver.py +0 -0
  139. {westpa-2022.10 → westpa-2022.11}/src/westpa/westext/stringmethod/string_method.py +0 -0
  140. {westpa-2022.10 → westpa-2022.11}/src/westpa/westext/weed/BinCluster.py +0 -0
  141. {westpa-2022.10 → westpa-2022.11}/src/westpa/westext/weed/ProbAdjustEquil.py +0 -0
  142. {westpa-2022.10 → westpa-2022.11}/src/westpa/westext/weed/UncertMath.py +0 -0
  143. {westpa-2022.10 → westpa-2022.11}/src/westpa/westext/weed/__init__.py +0 -0
  144. {westpa-2022.10 → westpa-2022.11}/src/westpa/westext/weed/weed_driver.py +0 -0
  145. {westpa-2022.10 → westpa-2022.11}/src/westpa/westext/wess/ProbAdjust.py +0 -0
  146. {westpa-2022.10 → westpa-2022.11}/src/westpa/westext/wess/__init__.py +0 -0
  147. {westpa-2022.10 → westpa-2022.11}/src/westpa/westext/wess/wess_driver.py +0 -0
  148. {westpa-2022.10 → westpa-2022.11}/src/westpa/work_managers/__init__.py +0 -0
  149. {westpa-2022.10 → westpa-2022.11}/src/westpa/work_managers/core.py +0 -0
  150. {westpa-2022.10 → westpa-2022.11}/src/westpa/work_managers/environment.py +0 -0
  151. {westpa-2022.10 → westpa-2022.11}/src/westpa/work_managers/mpi.py +0 -0
  152. {westpa-2022.10 → westpa-2022.11}/src/westpa/work_managers/processes.py +0 -0
  153. {westpa-2022.10 → westpa-2022.11}/src/westpa/work_managers/serial.py +0 -0
  154. {westpa-2022.10 → westpa-2022.11}/src/westpa/work_managers/threads.py +0 -0
  155. {westpa-2022.10 → westpa-2022.11}/src/westpa/work_managers/zeromq/__init__.py +0 -0
  156. {westpa-2022.10 → westpa-2022.11}/src/westpa/work_managers/zeromq/core.py +0 -0
  157. {westpa-2022.10 → westpa-2022.11}/src/westpa/work_managers/zeromq/node.py +0 -0
  158. {westpa-2022.10 → westpa-2022.11}/src/westpa/work_managers/zeromq/work_manager.py +0 -0
  159. {westpa-2022.10 → westpa-2022.11}/src/westpa/work_managers/zeromq/worker.py +0 -0
  160. {westpa-2022.10 → westpa-2022.11}/src/westpa.egg-info/SOURCES.txt +0 -0
  161. {westpa-2022.10 → westpa-2022.11}/src/westpa.egg-info/dependency_links.txt +0 -0
  162. {westpa-2022.10 → westpa-2022.11}/src/westpa.egg-info/entry_points.txt +0 -0
  163. {westpa-2022.10 → westpa-2022.11}/src/westpa.egg-info/not-zip-safe +0 -0
  164. {westpa-2022.10 → westpa-2022.11}/src/westpa.egg-info/requires.txt +0 -0
  165. {westpa-2022.10 → westpa-2022.11}/src/westpa.egg-info/top_level.txt +0 -0
  166. {westpa-2022.10 → westpa-2022.11}/tests/test_binning.py +0 -0
  167. {westpa-2022.10 → westpa-2022.11}/tests/test_data_manager.py +0 -0
  168. {westpa-2022.10 → westpa-2022.11}/tests/test_executable.py +0 -0
  169. {westpa-2022.10 → westpa-2022.11}/tests/test_kinetics.py +0 -0
  170. {westpa-2022.10 → westpa-2022.11}/tests/test_sim_manager.py +0 -0
  171. {westpa-2022.10 → westpa-2022.11}/tests/test_states.py +0 -0
  172. {westpa-2022.10 → westpa-2022.11}/tests/test_yamlfe.py +0 -0
  173. {westpa-2022.10 → westpa-2022.11}/versioneer.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: westpa
3
- Version: 2022.10
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-05-30T14:33:52-0400",
11
+ "date": "2024-07-02T19:19:53-0400",
12
12
  "dirty": false,
13
13
  "error": null,
14
- "full-revisionid": "40fe71e4e393b47e0a231b178add25696e469405",
15
- "version": "2022.10"
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 = argparse.ArgumentParser(
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
- n_iter = args.n_iter if args.n_iter > 0 else dm.current_iteration
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
- print('simulation data truncated after iteration {}'.format(dm.current_iteration))
52
- print('\n' + warning_string)
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()