fix a variable name typo
authorDiane Trout <diane@caltech.edu>
Thu, 12 Jul 2012 17:54:37 +0000 (10:54 -0700)
committerDiane Trout <diane@caltech.edu>
Thu, 12 Jul 2012 17:54:37 +0000 (10:54 -0700)
scripts/htsw-runfolder

index e0b993776e7f52d4f0d0ebc9aa1a7f5feceb2dbe..27df866b67471ebdde139c23c7ca992efbd475f4 100755 (executable)
@@ -86,8 +86,8 @@ def load_run_xml_file(parser, args, opts):
     runs = []
     if opts.run_xml:
         # handle ~ shortcut
-        opt.run_xml = os.path.expanduser(opt.run_xml)
-        tree = ElementTree.parse(opt.run_xml).getroot()
+        opts.run_xml = os.path.expanduser(opts.run_xml)
+        tree = ElementTree.parse(opts.run_xml).getroot()
         runs.append(runfolder.PipelineRun(xml=tree))
     return runs