eegDb is an egglab plugin that eases up managing preprocessing routines. It allows to create project databases for reproducible eeg preprocessing with eeglab.
This PR introduces tempfiles - temporary files with filtered & epoched data stored in tempfiles folder. Using tempfiles significantly speeds up recovering files the second time.
Using tempfiles from the command line:
[EEG, db] = recoverEEG(db, 3, 'tempsave');
Infomation about the tempfiles is stored in db(r).datainfo.tempfiles in the database and EEG.etc.temp in the recovered file. So you can add tempfile info to db even if you forgot to get updated db from recoverEEG you can still get it from EEG and save in the db.
TODOs:
[x] "rooted" paths - for example +tempfiles meaning any valid path from db(r).filepath but with tempfiles folder added to the path end.
[ ] db_gui options to use tempfiles
[x] function to clear unused tempfiles (from db and from hard drive)
[ ] incorporate cleanlined files to tempfiles logic
About this PR:
This PR introduces tempfiles - temporary files with filtered & epoched data stored in
tempfiles
folder. Using tempfiles significantly speeds up recovering files the second time. Using tempfiles from the command line:Infomation about the tempfiles is stored in
db(r).datainfo.tempfiles
in the database andEEG.etc.temp
in the recovered file. So you can add tempfile info to db even if you forgot to get updateddb
fromrecoverEEG
you can still get it fromEEG
and save in thedb
.TODOs:
+tempfiles
meaning any valid path fromdb(r).filepath
but withtempfiles
folder added to the path end.db
and from hard drive)