westpa 2022.8__tar.gz → 2022.10__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 (174) hide show
  1. {westpa-2022.8/src/westpa.egg-info → westpa-2022.10}/PKG-INFO +5 -5
  2. {westpa-2022.8 → westpa-2022.10}/README.rst +4 -4
  3. {westpa-2022.8 → westpa-2022.10}/src/westpa/_version.py +3 -3
  4. {westpa-2022.8 → westpa-2022.10}/src/westpa/analysis/core.py +3 -3
  5. {westpa-2022.8 → westpa-2022.10}/src/westpa/cli/core/w_states.py +1 -1
  6. {westpa-2022.8 → westpa-2022.10}/src/westpa/cli/tools/w_ipa.py +4 -4
  7. {westpa-2022.8 → westpa-2022.10}/src/westpa/cli/tools/w_pdist.py +8 -2
  8. {westpa-2022.8 → westpa-2022.10}/src/westpa/core/_rc.py +18 -2
  9. {westpa-2022.8 → westpa-2022.10}/src/westpa/core/binning/_assign.c +123 -123
  10. {westpa-2022.8 → westpa-2022.10}/src/westpa/core/binning/mab.py +188 -64
  11. {westpa-2022.8 → westpa-2022.10}/src/westpa/core/binning/mab_manager.py +3 -0
  12. {westpa-2022.8 → westpa-2022.10}/src/westpa/core/data_manager.py +5 -1
  13. {westpa-2022.8 → westpa-2022.10}/src/westpa/core/h5io.py +4 -2
  14. {westpa-2022.8 → westpa-2022.10}/src/westpa/core/kinetics/_kinetics.c +123 -123
  15. {westpa-2022.8 → westpa-2022.10}/src/westpa/core/propagators/executable.py +5 -4
  16. {westpa-2022.8 → westpa-2022.10}/src/westpa/core/reweight/_reweight.c +123 -123
  17. {westpa-2022.8 → westpa-2022.10}/src/westpa/core/sim_manager.py +24 -12
  18. {westpa-2022.8 → westpa-2022.10}/src/westpa/fasthist/_fasthist.c +123 -123
  19. {westpa-2022.8 → westpa-2022.10}/src/westpa/mclib/_mclib.c +123 -123
  20. {westpa-2022.8 → westpa-2022.10}/src/westpa/trajtree/_trajtree.c +123 -123
  21. {westpa-2022.8 → westpa-2022.10}/src/westpa/westext/hamsm_restarting/restart_driver.py +9 -4
  22. {westpa-2022.8 → westpa-2022.10}/src/westpa/westext/stringmethod/string_method.py +5 -1
  23. {westpa-2022.8 → westpa-2022.10}/src/westpa/work_managers/processes.py +48 -44
  24. {westpa-2022.8 → westpa-2022.10/src/westpa.egg-info}/PKG-INFO +5 -5
  25. {westpa-2022.8 → westpa-2022.10}/src/westpa.egg-info/SOURCES.txt +1 -1
  26. westpa-2022.10/tests/test_executable.py +62 -0
  27. {westpa-2022.8 → westpa-2022.10}/tests/test_sim_manager.py +14 -0
  28. westpa-2022.8/tests/test_loaders.py +0 -38
  29. {westpa-2022.8 → westpa-2022.10}/AUTHORS +0 -0
  30. {westpa-2022.8 → westpa-2022.10}/LICENSE +0 -0
  31. {westpa-2022.8 → westpa-2022.10}/MANIFEST.in +0 -0
  32. {westpa-2022.8 → westpa-2022.10}/pyproject.toml +0 -0
  33. {westpa-2022.8 → westpa-2022.10}/setup.cfg +0 -0
  34. {westpa-2022.8 → westpa-2022.10}/setup.py +0 -0
  35. {westpa-2022.8 → westpa-2022.10}/src/westpa/__init__.py +0 -0
  36. {westpa-2022.8 → westpa-2022.10}/src/westpa/analysis/__init__.py +0 -0
  37. {westpa-2022.8 → westpa-2022.10}/src/westpa/analysis/statistics.py +0 -0
  38. {westpa-2022.8 → westpa-2022.10}/src/westpa/analysis/trajectories.py +0 -0
  39. {westpa-2022.8 → westpa-2022.10}/src/westpa/cli/__init__.py +0 -0
  40. {westpa-2022.8 → westpa-2022.10}/src/westpa/cli/core/__init__.py +0 -0
  41. {westpa-2022.8 → westpa-2022.10}/src/westpa/cli/core/w_fork.py +0 -0
  42. {westpa-2022.8 → westpa-2022.10}/src/westpa/cli/core/w_init.py +0 -0
  43. {westpa-2022.8 → westpa-2022.10}/src/westpa/cli/core/w_run.py +0 -0
  44. {westpa-2022.8 → westpa-2022.10}/src/westpa/cli/core/w_succ.py +0 -0
  45. {westpa-2022.8 → westpa-2022.10}/src/westpa/cli/core/w_truncate.py +0 -0
  46. {westpa-2022.8 → westpa-2022.10}/src/westpa/cli/tools/__init__.py +0 -0
  47. {westpa-2022.8 → westpa-2022.10}/src/westpa/cli/tools/ploterr.py +0 -0
  48. {westpa-2022.8 → westpa-2022.10}/src/westpa/cli/tools/plothist.py +0 -0
  49. {westpa-2022.8 → westpa-2022.10}/src/westpa/cli/tools/w_assign.py +0 -0
  50. {westpa-2022.8 → westpa-2022.10}/src/westpa/cli/tools/w_bins.py +0 -0
  51. {westpa-2022.8 → westpa-2022.10}/src/westpa/cli/tools/w_crawl.py +0 -0
  52. {westpa-2022.8 → westpa-2022.10}/src/westpa/cli/tools/w_direct.py +0 -0
  53. {westpa-2022.8 → westpa-2022.10}/src/westpa/cli/tools/w_dumpsegs.py +0 -0
  54. {westpa-2022.8 → westpa-2022.10}/src/westpa/cli/tools/w_eddist.py +0 -0
  55. {westpa-2022.8 → westpa-2022.10}/src/westpa/cli/tools/w_fluxanl.py +0 -0
  56. {westpa-2022.8 → westpa-2022.10}/src/westpa/cli/tools/w_kinavg.py +0 -0
  57. {westpa-2022.8 → westpa-2022.10}/src/westpa/cli/tools/w_kinetics.py +0 -0
  58. {westpa-2022.8 → westpa-2022.10}/src/westpa/cli/tools/w_multi_west.py +0 -0
  59. {westpa-2022.8 → westpa-2022.10}/src/westpa/cli/tools/w_ntop.py +0 -0
  60. {westpa-2022.8 → westpa-2022.10}/src/westpa/cli/tools/w_postanalysis_matrix.py +0 -0
  61. {westpa-2022.8 → westpa-2022.10}/src/westpa/cli/tools/w_postanalysis_reweight.py +0 -0
  62. {westpa-2022.8 → westpa-2022.10}/src/westpa/cli/tools/w_red.py +0 -0
  63. {westpa-2022.8 → westpa-2022.10}/src/westpa/cli/tools/w_reweight.py +0 -0
  64. {westpa-2022.8 → westpa-2022.10}/src/westpa/cli/tools/w_select.py +0 -0
  65. {westpa-2022.8 → westpa-2022.10}/src/westpa/cli/tools/w_stateprobs.py +0 -0
  66. {westpa-2022.8 → westpa-2022.10}/src/westpa/cli/tools/w_trace.py +0 -0
  67. {westpa-2022.8 → westpa-2022.10}/src/westpa/core/__init__.py +0 -0
  68. {westpa-2022.8 → westpa-2022.10}/src/westpa/core/binning/__init__.py +0 -0
  69. {westpa-2022.8 → westpa-2022.10}/src/westpa/core/binning/_assign.pyx +0 -0
  70. {westpa-2022.8 → westpa-2022.10}/src/westpa/core/binning/assign.py +0 -0
  71. {westpa-2022.8 → westpa-2022.10}/src/westpa/core/binning/binless.py +0 -0
  72. {westpa-2022.8 → westpa-2022.10}/src/westpa/core/binning/binless_driver.py +0 -0
  73. {westpa-2022.8 → westpa-2022.10}/src/westpa/core/binning/binless_manager.py +0 -0
  74. {westpa-2022.8 → westpa-2022.10}/src/westpa/core/binning/bins.py +0 -0
  75. {westpa-2022.8 → westpa-2022.10}/src/westpa/core/binning/mab_driver.py +0 -0
  76. {westpa-2022.8 → westpa-2022.10}/src/westpa/core/extloader.py +0 -0
  77. {westpa-2022.8 → westpa-2022.10}/src/westpa/core/kinetics/__init__.py +0 -0
  78. {westpa-2022.8 → westpa-2022.10}/src/westpa/core/kinetics/_kinetics.pyx +0 -0
  79. {westpa-2022.8 → westpa-2022.10}/src/westpa/core/kinetics/events.py +0 -0
  80. {westpa-2022.8 → westpa-2022.10}/src/westpa/core/kinetics/matrates.py +0 -0
  81. {westpa-2022.8 → westpa-2022.10}/src/westpa/core/kinetics/rate_averaging.py +0 -0
  82. {westpa-2022.8 → westpa-2022.10}/src/westpa/core/progress.py +0 -0
  83. {westpa-2022.8 → westpa-2022.10}/src/westpa/core/propagators/__init__.py +0 -0
  84. {westpa-2022.8 → westpa-2022.10}/src/westpa/core/reweight/__init__.py +0 -0
  85. {westpa-2022.8 → westpa-2022.10}/src/westpa/core/reweight/_reweight.pyx +0 -0
  86. {westpa-2022.8 → westpa-2022.10}/src/westpa/core/reweight/matrix.py +0 -0
  87. {westpa-2022.8 → westpa-2022.10}/src/westpa/core/segment.py +0 -0
  88. {westpa-2022.8 → westpa-2022.10}/src/westpa/core/states.py +0 -0
  89. {westpa-2022.8 → westpa-2022.10}/src/westpa/core/systems.py +0 -0
  90. {westpa-2022.8 → westpa-2022.10}/src/westpa/core/textio.py +0 -0
  91. {westpa-2022.8 → westpa-2022.10}/src/westpa/core/trajectory.py +0 -0
  92. {westpa-2022.8 → westpa-2022.10}/src/westpa/core/we_driver.py +0 -0
  93. {westpa-2022.8 → westpa-2022.10}/src/westpa/core/wm_ops.py +0 -0
  94. {westpa-2022.8 → westpa-2022.10}/src/westpa/core/yamlcfg.py +0 -0
  95. {westpa-2022.8 → westpa-2022.10}/src/westpa/fasthist/__init__.py +0 -0
  96. {westpa-2022.8 → westpa-2022.10}/src/westpa/fasthist/__main__.py +0 -0
  97. {westpa-2022.8 → westpa-2022.10}/src/westpa/fasthist/_fasthist.pyx +0 -0
  98. {westpa-2022.8 → westpa-2022.10}/src/westpa/mclib/__init__.py +0 -0
  99. {westpa-2022.8 → westpa-2022.10}/src/westpa/mclib/__main__.py +0 -0
  100. {westpa-2022.8 → westpa-2022.10}/src/westpa/mclib/_mclib.pyx +0 -0
  101. {westpa-2022.8 → westpa-2022.10}/src/westpa/oldtools/__init__.py +0 -0
  102. {westpa-2022.8 → westpa-2022.10}/src/westpa/oldtools/aframe/__init__.py +0 -0
  103. {westpa-2022.8 → westpa-2022.10}/src/westpa/oldtools/aframe/atool.py +0 -0
  104. {westpa-2022.8 → westpa-2022.10}/src/westpa/oldtools/aframe/base_mixin.py +0 -0
  105. {westpa-2022.8 → westpa-2022.10}/src/westpa/oldtools/aframe/binning.py +0 -0
  106. {westpa-2022.8 → westpa-2022.10}/src/westpa/oldtools/aframe/data_reader.py +0 -0
  107. {westpa-2022.8 → westpa-2022.10}/src/westpa/oldtools/aframe/iter_range.py +0 -0
  108. {westpa-2022.8 → westpa-2022.10}/src/westpa/oldtools/aframe/kinetics.py +0 -0
  109. {westpa-2022.8 → westpa-2022.10}/src/westpa/oldtools/aframe/mcbs.py +0 -0
  110. {westpa-2022.8 → westpa-2022.10}/src/westpa/oldtools/aframe/output.py +0 -0
  111. {westpa-2022.8 → westpa-2022.10}/src/westpa/oldtools/aframe/plotting.py +0 -0
  112. {westpa-2022.8 → westpa-2022.10}/src/westpa/oldtools/aframe/trajwalker.py +0 -0
  113. {westpa-2022.8 → westpa-2022.10}/src/westpa/oldtools/aframe/transitions.py +0 -0
  114. {westpa-2022.8 → westpa-2022.10}/src/westpa/oldtools/cmds/__init__.py +0 -0
  115. {westpa-2022.8 → westpa-2022.10}/src/westpa/oldtools/cmds/w_ttimes.py +0 -0
  116. {westpa-2022.8 → westpa-2022.10}/src/westpa/oldtools/files.py +0 -0
  117. {westpa-2022.8 → westpa-2022.10}/src/westpa/oldtools/miscfn.py +0 -0
  118. {westpa-2022.8 → westpa-2022.10}/src/westpa/oldtools/stats/__init__.py +0 -0
  119. {westpa-2022.8 → westpa-2022.10}/src/westpa/oldtools/stats/accumulator.py +0 -0
  120. {westpa-2022.8 → westpa-2022.10}/src/westpa/oldtools/stats/edfs.py +0 -0
  121. {westpa-2022.8 → westpa-2022.10}/src/westpa/oldtools/stats/mcbs.py +0 -0
  122. {westpa-2022.8 → westpa-2022.10}/src/westpa/tools/__init__.py +0 -0
  123. {westpa-2022.8 → westpa-2022.10}/src/westpa/tools/binning.py +0 -0
  124. {westpa-2022.8 → westpa-2022.10}/src/westpa/tools/core.py +0 -0
  125. {westpa-2022.8 → westpa-2022.10}/src/westpa/tools/data_reader.py +0 -0
  126. {westpa-2022.8 → westpa-2022.10}/src/westpa/tools/dtypes.py +0 -0
  127. {westpa-2022.8 → westpa-2022.10}/src/westpa/tools/iter_range.py +0 -0
  128. {westpa-2022.8 → westpa-2022.10}/src/westpa/tools/kinetics_tool.py +0 -0
  129. {westpa-2022.8 → westpa-2022.10}/src/westpa/tools/plot.py +0 -0
  130. {westpa-2022.8 → westpa-2022.10}/src/westpa/tools/progress.py +0 -0
  131. {westpa-2022.8 → westpa-2022.10}/src/westpa/tools/selected_segs.py +0 -0
  132. {westpa-2022.8 → westpa-2022.10}/src/westpa/tools/wipi.py +0 -0
  133. {westpa-2022.8 → westpa-2022.10}/src/westpa/trajtree/__init__.py +0 -0
  134. {westpa-2022.8 → westpa-2022.10}/src/westpa/trajtree/_trajtree.pyx +0 -0
  135. {westpa-2022.8 → westpa-2022.10}/src/westpa/trajtree/trajtree.py +0 -0
  136. {westpa-2022.8 → westpa-2022.10}/src/westpa/westext/__init__.py +0 -0
  137. {westpa-2022.8 → westpa-2022.10}/src/westpa/westext/adaptvoronoi/__init__.py +0 -0
  138. {westpa-2022.8 → westpa-2022.10}/src/westpa/westext/adaptvoronoi/adaptVor_driver.py +0 -0
  139. {westpa-2022.8 → westpa-2022.10}/src/westpa/westext/hamsm_restarting/__init__.py +0 -0
  140. {westpa-2022.8 → westpa-2022.10}/src/westpa/westext/hamsm_restarting/example_overrides.py +0 -0
  141. {westpa-2022.8 → westpa-2022.10}/src/westpa/westext/stringmethod/__init__.py +0 -0
  142. {westpa-2022.8 → westpa-2022.10}/src/westpa/westext/stringmethod/fourier_fitting.py +0 -0
  143. {westpa-2022.8 → westpa-2022.10}/src/westpa/westext/stringmethod/string_driver.py +0 -0
  144. {westpa-2022.8 → westpa-2022.10}/src/westpa/westext/weed/BinCluster.py +0 -0
  145. {westpa-2022.8 → westpa-2022.10}/src/westpa/westext/weed/ProbAdjustEquil.py +0 -0
  146. {westpa-2022.8 → westpa-2022.10}/src/westpa/westext/weed/UncertMath.py +0 -0
  147. {westpa-2022.8 → westpa-2022.10}/src/westpa/westext/weed/__init__.py +0 -0
  148. {westpa-2022.8 → westpa-2022.10}/src/westpa/westext/weed/weed_driver.py +0 -0
  149. {westpa-2022.8 → westpa-2022.10}/src/westpa/westext/wess/ProbAdjust.py +0 -0
  150. {westpa-2022.8 → westpa-2022.10}/src/westpa/westext/wess/__init__.py +0 -0
  151. {westpa-2022.8 → westpa-2022.10}/src/westpa/westext/wess/wess_driver.py +0 -0
  152. {westpa-2022.8 → westpa-2022.10}/src/westpa/work_managers/__init__.py +0 -0
  153. {westpa-2022.8 → westpa-2022.10}/src/westpa/work_managers/core.py +0 -0
  154. {westpa-2022.8 → westpa-2022.10}/src/westpa/work_managers/environment.py +0 -0
  155. {westpa-2022.8 → westpa-2022.10}/src/westpa/work_managers/mpi.py +0 -0
  156. {westpa-2022.8 → westpa-2022.10}/src/westpa/work_managers/serial.py +0 -0
  157. {westpa-2022.8 → westpa-2022.10}/src/westpa/work_managers/threads.py +0 -0
  158. {westpa-2022.8 → westpa-2022.10}/src/westpa/work_managers/zeromq/__init__.py +0 -0
  159. {westpa-2022.8 → westpa-2022.10}/src/westpa/work_managers/zeromq/core.py +0 -0
  160. {westpa-2022.8 → westpa-2022.10}/src/westpa/work_managers/zeromq/node.py +0 -0
  161. {westpa-2022.8 → westpa-2022.10}/src/westpa/work_managers/zeromq/work_manager.py +0 -0
  162. {westpa-2022.8 → westpa-2022.10}/src/westpa/work_managers/zeromq/worker.py +0 -0
  163. {westpa-2022.8 → westpa-2022.10}/src/westpa.egg-info/dependency_links.txt +0 -0
  164. {westpa-2022.8 → westpa-2022.10}/src/westpa.egg-info/entry_points.txt +0 -0
  165. {westpa-2022.8 → westpa-2022.10}/src/westpa.egg-info/not-zip-safe +0 -0
  166. {westpa-2022.8 → westpa-2022.10}/src/westpa.egg-info/requires.txt +0 -0
  167. {westpa-2022.8 → westpa-2022.10}/src/westpa.egg-info/top_level.txt +0 -0
  168. {westpa-2022.8 → westpa-2022.10}/tests/test_binning.py +0 -0
  169. {westpa-2022.8 → westpa-2022.10}/tests/test_data_manager.py +0 -0
  170. {westpa-2022.8 → westpa-2022.10}/tests/test_kinetics.py +0 -0
  171. {westpa-2022.8 → westpa-2022.10}/tests/test_states.py +0 -0
  172. {westpa-2022.8 → westpa-2022.10}/tests/test_we_driver.py +0 -0
  173. {westpa-2022.8 → westpa-2022.10}/tests/test_yamlfe.py +0 -0
  174. {westpa-2022.8 → westpa-2022.10}/versioneer.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: westpa
3
- Version: 2022.8
3
+ Version: 2022.10
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
@@ -121,8 +121,8 @@ WESTPA is developed and tested on Unix-like operating systems, including Linux a
121
121
 
122
122
  Regardless of the chosen method of installation, before installing WESTPA, we recommend you to first install the Python 3 version provided by the latest free `Anaconda Python distribution`_. After installing Anaconda, create a new python environment for the WESTPA install with the following::
123
123
 
124
- conda create -n westpa-2.0 python=3.9
125
- conda activate westpa-2.0
124
+ conda create -n westpa python=3.11
125
+ conda activate westpa
126
126
 
127
127
  Then, we recommend installing WESTPA through conda or pip. Execute either of the following::
128
128
 
@@ -137,12 +137,12 @@ See the install instructions on our `wiki`_ for more detailed information.
137
137
 
138
138
  To install from source (**not recommended**), start by downloading the corresponding tar.gz file from the `releases page`_. After downloading the file, unpack the file and install WESTPA by executing the following::
139
139
 
140
- tar xvzf westpa-main.tar.gz
140
+ tar xvzf westpa-2022.09.tar.gz
141
141
  cd westpa
142
142
  python -m pip install -e .
143
143
 
144
144
  .. _`releases page`: https://github.com/westpa/westpa/releases
145
- .. _`Anaconda Python distribution`: https://www.anaconda.com/products/individual
145
+ .. _`Anaconda Python distribution`: https://www.anaconda.com/download
146
146
  .. _`wiki`: https://github.com/westpa/westpa/wiki/Installing-WESTPA
147
147
 
148
148
  ---------------
@@ -78,8 +78,8 @@ WESTPA is developed and tested on Unix-like operating systems, including Linux a
78
78
 
79
79
  Regardless of the chosen method of installation, before installing WESTPA, we recommend you to first install the Python 3 version provided by the latest free `Anaconda Python distribution`_. After installing Anaconda, create a new python environment for the WESTPA install with the following::
80
80
 
81
- conda create -n westpa-2.0 python=3.9
82
- conda activate westpa-2.0
81
+ conda create -n westpa python=3.11
82
+ conda activate westpa
83
83
 
84
84
  Then, we recommend installing WESTPA through conda or pip. Execute either of the following::
85
85
 
@@ -94,12 +94,12 @@ See the install instructions on our `wiki`_ for more detailed information.
94
94
 
95
95
  To install from source (**not recommended**), start by downloading the corresponding tar.gz file from the `releases page`_. After downloading the file, unpack the file and install WESTPA by executing the following::
96
96
 
97
- tar xvzf westpa-main.tar.gz
97
+ tar xvzf westpa-2022.09.tar.gz
98
98
  cd westpa
99
99
  python -m pip install -e .
100
100
 
101
101
  .. _`releases page`: https://github.com/westpa/westpa/releases
102
- .. _`Anaconda Python distribution`: https://www.anaconda.com/products/individual
102
+ .. _`Anaconda Python distribution`: https://www.anaconda.com/download
103
103
  .. _`wiki`: https://github.com/westpa/westpa/wiki/Installing-WESTPA
104
104
 
105
105
  ---------------
@@ -8,11 +8,11 @@ import json
8
8
 
9
9
  version_json = '''
10
10
  {
11
- "date": "2024-04-15T22:37:00-0400",
11
+ "date": "2024-05-30T14:33:52-0400",
12
12
  "dirty": false,
13
13
  "error": null,
14
- "full-revisionid": "587296bd42835960dc67dc3e91ead8f4dd2c6d97",
15
- "version": "2022.08"
14
+ "full-revisionid": "40fe71e4e393b47e0a231b178add25696e469405",
15
+ "version": "2022.10"
16
16
  }
17
17
  ''' # END VERSION_JSON
18
18
 
@@ -298,8 +298,8 @@ class Iteration:
298
298
  def basis_state_summaries(self):
299
299
  """pd.DataFrame: Basis state summary data."""
300
300
  df = pd.DataFrame(self.h5group['ibstates']['bstate_index'][:])
301
- df['label'] = tostr(df['label'].str)
302
- df['auxref'] = tostr(df['auxref'].str)
301
+ df['label'] = df['label'].str.decode('UTF-8')
302
+ df['auxref'] = df['auxref'].str.decode('UTF-8')
303
303
  return df
304
304
 
305
305
  @property
@@ -325,7 +325,7 @@ class Iteration:
325
325
  """pd.DataFrame or None: Target state summary data."""
326
326
  if self.has_target_states:
327
327
  df = pd.DataFrame(self.h5group['tstates']['index'][:])
328
- df['label'] = tostr(df['label'].str)
328
+ df['label'] = df['label'].str.decode('UTF-8')
329
329
 
330
330
  return df
331
331
  else:
@@ -157,7 +157,7 @@ def initialize(mode, bstates, _bstate_file, tstates, _tstate_file):
157
157
  bstate.probability *= pscale
158
158
 
159
159
  # Assign progress coordinates to basis states
160
- sim_manager.get_bstate_pcoords(basis_states, n_iter)
160
+ sim_manager.get_bstate_pcoords(basis_states)
161
161
  data_manager.create_ibstate_group(basis_states, n_iter)
162
162
  sim_manager.report_basis_states(basis_states)
163
163
 
@@ -157,11 +157,11 @@ class WIPI(WESTParallelTool):
157
157
  # print(str(to_hash).encode('base64'))
158
158
  if self.debug_mode:
159
159
  for iarg, arg in enumerate(to_hash):
160
- if not isinstance(arg, list):
161
- print('arg {num:02d} -- {arg:<20}'.format(num=iarg, arg=arg))
162
- else:
160
+ if isinstance(arg, list):
163
161
  for il, l in enumerate(arg):
164
- print('arg {num:02d} -- {arg:<20}'.format(num=il + iarg, arg=l))
162
+ print('arg {num:02d} -- {arg:<20}'.format(num=il + iarg, arg=h5io.tostr(l)))
163
+ else:
164
+ print('arg {num:02d} -- {arg:<20}'.format(num=iarg, arg=h5io.tostr(arg)))
165
165
  # print('args: {}'.format(to_hash))
166
166
  # This SHOULD produce the same output, maybe? That would be nice, anyway.
167
167
  # But we'll need to test it more.
@@ -423,7 +423,10 @@ Command-line options
423
423
  lb, ub = self.data_range[idim]
424
424
  # Advance just beyond the upper bound of the range, so that we catch
425
425
  # the maximum in the histogram
426
- ub *= 1.01
426
+ if ub > 0:
427
+ ub *= 1.01
428
+ else:
429
+ ub /= 1.01
427
430
 
428
431
  boundset = np.linspace(lb, ub, bins + 1)
429
432
  midpoints = (boundset[:-1] + boundset[1:]) / 2.0
@@ -440,7 +443,10 @@ Command-line options
440
443
  lb, ub = self.data_range[idim]
441
444
  # Advance just beyond the upper bound of the range, so that we catch
442
445
  # the maximum in the histogram
443
- ub *= 1.01
446
+ if ub > 0:
447
+ ub *= 1.01
448
+ else:
449
+ ub /= 1.01
444
450
 
445
451
  boundset = np.linspace(lb, ub, bins[idim] + 1)
446
452
  midpoints = (boundset[:-1] + boundset[1:]) / 2.0
@@ -1,12 +1,13 @@
1
1
  """WEST run control and configuration routines"""
2
2
 
3
- import errno
4
- import logging
5
3
  import math
6
4
  import os
7
5
  import sys
6
+ import errno
7
+ import logging
8
8
  import warnings
9
9
  from copy import deepcopy
10
+ from datetime import timedelta
10
11
 
11
12
  import numpy as np
12
13
 
@@ -231,6 +232,21 @@ class WESTRC:
231
232
  self.config_logging()
232
233
  self.config['args'] = {k: v for k, v in args.__dict__.items() if not k.startswith('_')}
233
234
  self.process_config()
235
+ self.time_config()
236
+
237
+ def time_config(self):
238
+ '''Convert non-pyYAML accepted time formats into seconds'''
239
+ max_run_wallclock = self.config.get(['west', 'propagation', 'max_run_wallclock'], None)
240
+ if isinstance(max_run_wallclock, str):
241
+ time_formats = ['days', 'hours', 'minutes', 'seconds']
242
+ wallclock_str = max_run_wallclock.split(':')
243
+ kwargs = {key: int(val) for key, val in zip(time_formats[-len(wallclock_str) :], wallclock_str)}
244
+ try:
245
+ diff = int(timedelta(**kwargs).total_seconds())
246
+ self.config['west']['propagation']['max_run_wallclock'] = diff
247
+ log.debug(f'Automatically converted {max_run_wallclock=} to {diff}')
248
+ except ValueError:
249
+ log.debug(f'Failed to convert {max_run_wallclock=} to seconds.')
234
250
 
235
251
  def process_config(self):
236
252
  log.debug('config: {!r}'.format(self.config))