-
Notifications
You must be signed in to change notification settings - Fork 75
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
Docstring changes and some suggestions #191
Conversation
Allows for usage of import brainrender brainrender.Atlas which I find quite handy and think others may too
fucntionally equivalent to old, but think super() is clearer + more future proof
The latest version of bg-atlasapi (from Github) has no print_authors argument, so the old code crashed on Atlas init
This comes from a personal use that I thought might help others. I had many GB of data in RAM when a crash happened in brainrender. Rich tried to display my local variables to terminal, and couldn't. Disabling rich printing is best here. There may be a better solution to this problem, but since the previous code loading the rich style traceback at init of brainrender this was the best I could think of.
Hi, Thanks! The comments look really good (so many typos haha), thank you so much for sending this in. The The only thing I'm not sure is |
Great, glad to hear it! The settings.RICH_TRACKBACK is because I am using brainrender along with another application where I have many GB of local variables. So I suggested the ability to suppress the high detail traceback in case any others run into a similar issue! |
I see, makes sense. So I think the best option would be to have Btw, in general I think that if after importing brainrender in your code you use |
Yeah, that sounds perfect, I think what you suggest makes much more sense. Also glad to hear about the ability to override the |
Awesome. If you want to add a commit with the suggested |
install traceback now only shows locals in debug mode
Ok added that, hopefully what you had in mind, but please let me know if not. |
Looks good. Thanks for the PR! |
Hi,
Amazing repository, delighted to see such an easy-to-use renderer for neuroscience.
I have been using this quite a lot recently, and have a few suggested edits if you are interested in them.
I'm open to any thoughts and further edits on these of course!
Best wishes,
Sean