Use single-quote delimited strings when possssible.
[sawsim.git] / pysawsim / sawsim.py
index a8c55fc846c1ea2b21daf1255cfd9e121fb79d82..92db8839a633d1847468c91818e30fa220beca5f 100644 (file)
@@ -86,32 +86,32 @@ class SawsimRunner (object):
     """
 
     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),
     ]