Skip to content

Commit c25dd11

Browse files
author
Anne Mennen
committed
changing globals to be saved by day in subject folder, removed fparam separate saving
1 parent 000960d commit c25dd11

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

webInterface/rtAtten/RtAttenWeb.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -334,12 +334,6 @@ def writeRegConfigFile(regGlobals, scriptPath):
334334
val = os.path.normpath(CommonOutputDir + val)
335335
fp.write(key + '=' + str(val) + '\n')
336336
fp.write('code_path=' + registrationDir)
337-
# Save f param value to a file
338-
fparam = regGlobals.get('fParam', None)
339-
if fparam is not None:
340-
fparamFilename = os.path.join(scriptPath, 'fparam.txt')
341-
with open(fparamFilename, 'w') as fp:
342-
fp.write('fparam: ' + str(fparam))
343337

344338
@staticmethod
345339
def runSession():

webInterface/rtAtten/registration/reg_epi_day2.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,6 @@ fi
5454

5555
echo="copying this version for safe keeping!"
5656
cp $code_path/reg_epi_day2.sh $data_path/subject$subjectNum/usedscripts/reg_epi_day2_$dayNum'.'sh
57-
57+
cp $code_path/globals.sh $data_path/subject$subjectNum/usedscripts/globals_day$dayNum.sh
5858

5959
cd $data_path

webInterface/rtAtten/registration/skullstrip_t1.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,5 @@ fi
4545
echo "copying this version of file into subject folder for safe keeping!"
4646
mkdir -pv $data_path/subject$subjectNum/usedscripts/
4747
cp $code_path/skullstrip_t1.sh $data_path/subject$subjectNum/usedscripts/skullstrip_T1.sh
48-
cp $code_path/globals.sh $data_path/subject$subjectNum/usedscripts/
48+
cp $code_path/globals.sh $data_path/subject$subjectNum/usedscripts/globals_day$dayNum.sh
4949
echo "done!"

0 commit comments

Comments
 (0)