Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tempfiles #80

Open
wants to merge 20 commits into
base: master
Choose a base branch
from
Open

tempfiles #80

wants to merge 20 commits into from

Conversation

mmagnuski
Copy link
Owner

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:

[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:

  • "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
  • function to clear unused tempfiles (from db and from hard drive)
  • incorporate cleanlined files to tempfiles logic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant