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

Resolve #544 : refactor RawToNWBBuilder for easier workflow #545

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

Conversation

jihyunbak
Copy link

@jihyunbak jihyunbak commented Nov 12, 2020

This resolves #544 for me.

After constructing a RawToNWBBuilder,

builder = RawToNWBBuilder(**all_my_kwargs)
  • User-developer can now run the NWB builder part separately. Kept this a private function to match with the existing method __preprocess_data(). Ideally this separation is not needed if everything "just works".

    builder._RawToNWBBuilder__build_nwb_file()
  • User can also extract a matching NWBFileBuilder for a specific day:

    builder.get_nwb_builder('20170901')

@jihyunbak jihyunbak changed the title Resolve #544: refactor RawToNWBBuilder for easier workflow Resolve #544 : refactor RawToNWBBuilder for easier workflow Nov 12, 2020
@jihyunbak jihyunbak force-pushed the refactor-raw-to-nwb-builder branch from 6cdd317 to ab5a682 Compare November 24, 2020 06:56
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

Successfully merging this pull request may close these issues.

easy separate workflow for preprocessing and NWB building in RawToNWBBuilder
1 participant