Skip to content

Commit 24c0cfe

Browse files
committed
Rephrase help text and place parameter addition near 'scan' definition
1 parent ce1e56a commit 24c0cfe

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tools/Python/mcrun/mcrun.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,11 @@ def add_mcrun_options(parser):
9999
action='store_true',
100100
help='Run a multi-dimensional scan')
101101

102+
add("--scan_split",
103+
type=int,
104+
metavar="scan_split",
105+
help='Scan by parallelising steps as individual cpu threads. Initialise by number of wanted threads (e.g. your number of cores).')
106+
102107
add('--autoplot',
103108
action='store_true',
104109
help='Open plotter on generated dataset')
@@ -224,11 +229,6 @@ def add_mcrun_options(parser):
224229
default="",
225230
)
226231

227-
add("--scan_split",
228-
type=int,
229-
metavar="scan_split",
230-
help='Scanning over a variable is split onto individual cpu threads')
231-
232232
# --optimize-maxiter maxiter max iter of optimization
233233
# --tol tol tolerance criteria to end the optimization
234234
# --method method Method to maximize the intensity in ['nelder-mead', 'powell', 'cg', 'bfgs', 'newton-cg', 'l-bfgs-b', 'tnc', 'cobyla', 'slsqp', 'trust-constr', 'dogleg', 'trust-ncg', 'trust-exact', 'trust-krylov']

0 commit comments

Comments
 (0)