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

Enhance ModuleNotFoundError messages #85

Merged
merged 5 commits into from
Oct 3, 2023

Conversation

stes
Copy link
Member

@stes stes commented Oct 3, 2023

As discussed in #57 , the error messages when using cebra.load and other parts of the code can be improved. This PR fixes #77 and adds more context to all error messages for cebra.load, and also removes the confusing error message about the nlb_tools package in the demo notebooks.

It turns out that this module is only needed when accessing the raw NWB files, but not for loading the preprocessed files we host on figshare. The error is hence moved into that particular loading function.

Fix #77

@cla-bot cla-bot bot added the CLA signed label Oct 3, 2023
@stes stes requested a review from MMathisLab October 3, 2023 12:43
@stes stes self-assigned this Oct 3, 2023
@stes stes added the documentation Improvements or additions to documentation label Oct 3, 2023
@stes stes merged commit 3f06b71 into main Oct 3, 2023
8 checks passed
@stes stes deleted the stes/enhance-module-not-found-errors branch October 3, 2023 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA signed documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

error messages for missing extra dependencies
2 participants