Commit 3d2f093e authored by aknecht2's avatar aknecht2
Browse files

Fixed PFN.

parent c7dc50af
......@@ -178,13 +178,11 @@ class Workflow(object):
else:
fnew = File(gen_prefix + "." + ext)
if os.path.isfile(prefix + "." + ext):
fnew.addPFN(prefix + "." + ext)
fnew.addPFN(PFN(prefix + "." + ext, "local"))
else:
fnew.addPFN(base_file + "." + ext)
fnew.addPFN(PFN(base_file + "." + ext, "local"))
self.files[gen_prefix + "." + ext] = fnew
print "EVERYHTING IS GOOD HERE:",self.dax.toXML()
self.dax.addFile(fnew)
print "NOT GETTING HERE!:",self.dax.toXML()
if len(missing) > 0:
self.err += "Genome defined with tool '%s' and assembly '%s' is missing additional_files with extensions %s.\n" % (run["align"], assembly, missing)
else:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment