Skip to content

Commit 29292bd

Browse files
authored
Update parallelCodeML.py
1 parent 0fbdafd commit 29292bd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

bin/parallelCodeML.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def parallelize(ap, outdir, finished, completed, multiple, cpu, ctl,
101101
makeCtl(gene, outfile, tempctl, treefile, ctl)
102102
os.chdir(wd)
103103
# Call CodeML
104-
with open(wd + "codemlLog.txt", "w") as tmpout:
104+
with open("codemlLog.txt", "w") as tmpout:
105105
cm = Popen(split(ap + "paml/bin/codeml " + tempctl),
106106
shell = True, stdout = tmpout)
107107
cm.wait()
@@ -111,7 +111,7 @@ def parallelize(ap, outdir, finished, completed, multiple, cpu, ctl,
111111
makeCtl(gene, outfile, tempctl, treefile, ctl)
112112
# Call CodeML for all files
113113
os.chdir(wd)
114-
with open(wd + "codemlLog.txt", "w") as tmpout:
114+
with open("codemlLog.txt", "w") as tmpout:
115115
cm = Popen(split(ap + "paml/bin/codeml " + tempctl),
116116
shell = True, stdout = tmpout)
117117
cm.wait()

0 commit comments

Comments
 (0)