diff --git a/fsl_course/feat3/feedsRun3.py b/fsl_course/feat3/feedsRun3.py index a40cf875a867276082d33c1c6fa08dfd4509355b..1778b3e5e32a2ec346f4bbca079db9cca302a19e 100755 --- a/fsl_course/feat3/feedsRun3.py +++ b/fsl_course/feat3/feedsRun3.py @@ -36,7 +36,7 @@ cmd = "./cleanFSF.py {0} {1} {2} {3} {4} {5}".format( origFSF, newFSF, origDataDir, dataDir, outDir, origFSLDir) run(cmd) -cmd = """sed -i 's/set feat_files(1).*/set feat_files(1) "{0}"/g' {1}""".format(newFeatDir,newFSF) +cmd = """sed -ie 's/set feat_files(1).*/set feat_files(1) "{0}"/g' {1}""".format(newFeatDir,newFSF) print(cmd) run(cmd)