Skip to content
Snippets Groups Projects

Update runEddy script to work with new multi-threaded version.

Merged Paul McCarthy requested to merge mnt/eddy-nthr into master
Files
19
@@ -24,6 +24,13 @@ newFSF = op.join(outDir, "design.fsf")
cmd = "./cleanFSF.py {0} {1} {2} {3} {4} {5}".format(origFSF, newFSF, origDataDir, dataDir, outDir, origFSLDir)
utils.run(cmd)
# For conda version, default_flobs.flobs is in new location
with open(newFSF, 'rt') as f:
contents = f.read()
with open(newFSF, 'wt') as f:
f.write(contents.replace('/etc/', '/data/feat5/'))
# run FEAT
utils.run("unset SGE_ROOT; feat {0}".format(op.join(outDir, "design.fsf")))
Loading