Closed DanielAndreasen closed 3 months ago
Looking at your error, it's throwing it because Sonora's Bobcat dashboard is using an outdated bokeh figure constructor that uses arguments plot_height and plot_width instead of height and width. I fixed this with the Sonora Diamondback dashboard when I tested it, but forgot to do so with Bobcat as well. This error is fixed in the recent commit, I've updated the constructor to use the correct arguments.
With regards to running the dashboard outside of jupyter notebook, I think we never anticipated use cases outside of jupyter so the dashboard as it currently is doesn't say, pop out into its own window and do stuff from there. I think you're right in that bokeh has some functionality that would let one do this, but it would require an overhaul of the way we handle dashboard objects and possibly a new script that bokeh would have to use to pop open a window that non-jupyter users could use. I'll see what I can do about this and get back to you.
I will try it again soon, and let you know if it works better now. Unfortunately I do not have much free time these days. Sorry for the late replies.
Okay, the dashboard works really well for me now. The only thing missing before you can close this, is to update the notebook. Right now it has an AssertionError
in the documentation, which does not happen. So I guess you just have to run the notebook again, and commit it.
Great, I'll rerun that notebook and close that issue when the documentation has been updated.
The notebook has been rerun and committed, just some tiny commits left until the errors are cleaned up in full. To your earlier point, I think that as gollum currently is and has been, the dashboard was something that required jupyter. While I do agree with you and want to make jupyter-less functionality possible, I'd like to put that up in a future version release where we can do the major design overhauls and keep everything clean instead of trying to hack it into the current release. Thoughts?
I agree with that. At that point, the review should be over, but feel free to ask me for testing it again.
I've created a standalone issue about it so that it's visible outside of the JOSS review process, so we can safely close this one.
Hi again,
As you might have noticed, I'm not a big jupyter fan. I prefer to run scripts directly from the terminal, but that is not possible with the dashboard (which seems to be the coolest feature); https://gollum-astro.readthedocs.io/en/latest/tutorials/gollum_demo_Sonora_and_BDSS.html.
I was poking around, and it seems there is running some kind of service, and some calls to bokeh. Therefore it does not seem straightforward to make it work like I want. I tried in jupyter-notebook (something I haven't opened for many years, so I might have done something wrong), but couldn't get that to work either. Here are the errors I got:
This is more than I can debug quickly. I have installed version 3.4.1 of bokeh. Any ideas what is going wrong here?
Review link: https://github.com/openjournals/joss-reviews/issues/6601