FileCommander#
This tool can be used to copy the data into correct file structure according to the datastructure rules.
From the datastructure_tools directory run
python ./FileCommander.py
or from any directory
python -m datastructure_tools file
Error
In case you get this error, no connection can be established to MySQL. Ensure you entered correct credentials first using AdminCommander.
Select user. Is preselected according to the saved settings
List of session from this user, sorted most recent -first
Press to open the raw folder of this session on the server (Folder were already created at session creation)
Press browse to select files for this types of data modality. The default path which opens for each modality can be set in AdminCommander. You can also drag and drop files to window in 5
List of files to be added for this modality and this session
List of files for all session in current Queu
Press add to add currently selected files (from 5) to the to copy Q The idea here is that you can select files for multiple sessions at once and then run a batch copy job. For example at the end of each day.
To remove all files from Queu and current selection for this session
For all session
This executes the file copying. May take a while, the program may appear to hang. Dont close.
Check whether the program should verify file integrity after copy. More secure but takes longer.
*. Indicates different building block of the exp template of this experiment there may be more or less of those.
You record different data modalities on different computers ? No problem, FileCommander can be used in a distributed manner. Install datastructure_tools on each computer and just select the correct session and copy the individual files for each modality.
written by: Artur
last modified: 2024-02-02