diff --git a/fsl_course/feat3/feedsRun3.py b/fsl_course/feat3/feedsRun3.py index c15eda85a12dc0dbce1b9bf7d9606099f70ba5ba..a40cf875a867276082d33c1c6fa08dfd4509355b 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 -i 's/set feat_files(1).*/set feat_files(1) "{0}"/g' {1}""".format(newFeatDir,newFSF) print(cmd) run(cmd)