class SawsimRunner (object):
"""
- >>> from .manager.thread import ThreadManager
- >>> m = ThreadManager()
+ >>> m = get_manager()()
>>> sr = SawsimRunner(sawsim='bin/sawsim', manager=m)
>>> for run in sr(param_string=DEFAULT_PARAM_STRING, N=2):
... print 'New run'
default=400),
Option('-m', '--manager', dest='manager',
metavar='STRING',
- help='Job manager name (one of %s) (%%default).'
+ help='Job manager name (one of %s) (default: auto-select).'
% (', '.join(MANAGERS)),
- default=MANAGERS[0]),
+ default=None),
Option('-C','--use-cache', dest='use_cache',
help='Use cached simulations if they exist (vs. running new simulations) (%default)',
default=False, action='store_true'),