"""
optparse_options = [
- Option("-s","--sawsim", dest="sawsim",
- metavar="PATH",
- help="Set sawsim binary (%default).",
+ Option('-s','--sawsim', dest='sawsim',
+ metavar='PATH',
+ help='Set sawsim binary (%default).',
default=SAWSIM),
- Option("-p","--params", dest="param_string",
- metavar="PARAMS",
- help="Initial params for fitting (%default).",
+ Option('-p','--params', dest='param_string',
+ metavar='PARAMS',
+ help='Initial params for fitting (%default).',
default=DEFAULT_PARAM_STRING),
- Option("-N", "--number-of-runs", dest="N",
- metavar="INT", type='int',
- help="Number of sawsim runs at each point in parameter space (%default).",
+ Option('-N', '--number-of-runs', dest='N',
+ metavar='INT', type='int',
+ help='Number of sawsim runs at each point in parameter space (%default).',
default=400),
- Option("-m", "--manager", dest="manager",
- metavar="STRING",
- help="Job manager name (one of %s) (%%default)."
+ Option('-m', '--manager', dest='manager',
+ metavar='STRING',
+ help='Job manager name (one of %s) (%%default).'
% (', '.join(MANAGERS)),
default=MANAGERS[0]),
- Option("-C","--use-cache", dest="use_cache",
- help="Use cached simulations if they exist (vs. running new simulations) (%default)",
- default=False, action="store_true"),
- Option("--clean-cache", dest="clean_cache",
- help="Remove previously cached simulations if they exist (%default)",
- default=False, action="store_true"),
- Option("-d","--cache-dir", dest="cache_dir",
- metavar="STRING",
- help="Cache directory for sawsim unfolding forces (%default).",
+ Option('-C','--use-cache', dest='use_cache',
+ help='Use cached simulations if they exist (vs. running new simulations) (%default)',
+ default=False, action='store_true'),
+ Option('--clean-cache', dest='clean_cache',
+ help='Remove previously cached simulations if they exist (%default)',
+ default=False, action='store_true'),
+ Option('-d','--cache-dir', dest='cache_dir',
+ metavar='STRING',
+ help='Cache directory for sawsim unfolding forces (%default).',
default=CACHE_DIR),
]