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

Added datasets_electrophysiology.cached_load_data function #75

Merged
merged 1 commit into from
Mar 12, 2024

Conversation

davidparks21
Copy link
Contributor

@davidparks21 davidparks21 commented Mar 6, 2024

Added datasets_electrophysiology.cached_load_data function which wraps load_data and provides a local disk cache.

This uses diskcache, and is something many users will want to do because pulling a certain set of data is often the slowest part of running analysis code. This allows them to easily cache the results once the data they want is pulled.

Unit tests included - written by ChatGPT.

…s load_data and provides a local disk cache.
@davidparks21 davidparks21 self-assigned this Mar 6, 2024
Copy link
Member

@DailyDreaming DailyDreaming left a comment

Choose a reason for hiding this comment

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

LGTM.

@davidparks21 davidparks21 merged commit 4e9173c into master Mar 12, 2024
19 checks passed
@davidparks21 davidparks21 deleted the cached_load_data branch March 12, 2024 18:53
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.

2 participants