Differences

This shows you the differences between two versions of the page.

Link to this comparison view

mgl:taskreferencesavingdata [2015/01/28 17:37]
mgl:taskreferencesavingdata [2015/03/11 15:30]
Line 33: Line 33:
 See also the section on setting [[:​mgl:​taskreferencesid#​stimfile_location|subject IDs]] which will allow you to save in subject specific directories and provides a little more support for organizing stimfile locations. See also the section on setting [[:​mgl:​taskreferencesid#​stimfile_location|subject IDs]] which will allow you to save in subject specific directories and provides a little more support for organizing stimfile locations.
  
 +===== Aborted stimfiles =====
 +
 +If you have set your system not to save stimfiles or you answer n when prompted to save a stimfile, the task code **will still save a stimfile** but it will put in the ./Trash folder. Thus, you can always dig around in the Trash and look for a missing file if you messed up and didn't save it. Note that you may need to empty the Trash or remove these files if you don't need them and want to free up space. To delete them without emptying your whole trash folder:
 +
 +<​code>​
 +comptuername:/​Users/​justin>​ cd ~/.Trash
 +computername:/​Users/​justin/​.Trash>​ ls
 +mglAbortedStimfiles/​
 +computername:/​Users/​justin/​.Trash>​ rm -rf mglAbortedStimfiles
 +</​code>​
 +
 +If you want to save these aborted stimfiles in a different directory then under the Trash, you can set the parameter '​abortedStimfilesDir':​
 +
 +  mglSetParam('​abortedStimfilesDir','/​some/​directory/​where/​you/​want/​them',​1);​
 +
 +Set back to empty if you want the default location.
 ====== Retrieving data from stimfiles ====== ====== Retrieving data from stimfiles ======
 ===== getTaskParameters ===== ===== getTaskParameters =====