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

add bids_reexport to the end of the pipeline #38

Open
arnodelorme opened this issue Nov 6, 2023 · 2 comments
Open

add bids_reexport to the end of the pipeline #38

arnodelorme opened this issue Nov 6, 2023 · 2 comments
Assignees

Comments

@arnodelorme
Copy link
Collaborator

1- re-export processed data
2- Split results into separate folders (not include data)
3- Delete original processed data
4- Handle any interruption/problem in the sequence above

@arnodelorme
Copy link
Collaborator Author

  • Reexport the data from processed to "derivative" master folder same level as processed.
  • Delete the big files out of processed folder

@arnodelorme
Copy link
Collaborator Author

try
      bids_reexport(ALLEEG, 'tempfolder');
      % Move all processed/dsxxxxxx to tempfolder/code
      % Remove all data from tempfolder/code/dsxxxxxx/*/*
      % Move all processed/dsxxxxxx/code/NEMAR.json to tempfolder/code/NEMAR.json
      % remove folder processed/dsxxxxxx
      % mv tempfolder processed/dsxxxxxx
catch
      % Copy all processed/dsxxxxxx to processed/dsxxxxxx/code
      % Remove all data from processed/dsxxxxxx/code/dsxxxxxx/*/*
       disp('could not export');
end

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

No branches or pull requests

2 participants