Skip to content
Snippets Groups Projects
Commit 5a172e5b authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

RF: Usage incompatible wtih macOS version of sed

parent d33157ba
No related branches found
No related tags found
1 merge request!51Mnt/fixes
Pipeline #16823 passed
......@@ -26,9 +26,10 @@ utils.run(cmd)
# For conda version, default_flobs.flobs is in new location
cmd = f'''sed -i 's,etc,data/feat5,g' {newFSF}'''
utils.run(cmd)
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")))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment