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 option to instantiate NWB extractors from nwbfile object #2506

Closed
wants to merge 2 commits into from

Conversation

alejoe91
Copy link
Member

Fixes #2498

@alejoe91 alejoe91 added enhancement New feature or request extractors Related to extractors module labels Feb 21, 2024
Comment on lines +627 to +631
if nwbfile is not None:
# NWBFile is not serializable
self._serializability["memory"] = False
self._serializability["json"] = False
self._serializability["pickle"] = False
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@CodyCBakerPhD note that this will make the object unsuitable for parallel processing (so this approach is not recommended IMO)

@alejoe91
Copy link
Member Author

Closing because of #2498 (comment)

@alejoe91 alejoe91 closed this Mar 25, 2024
@alejoe91 alejoe91 deleted the from-nwbfile branch April 12, 2024 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request extractors Related to extractors module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature] .from_nwbfile_object method for NwbExtractors
1 participant