rzellem / EXOTIC

EXOplanet Transit Interpretation Code
Other
85 stars 45 forks source link

Issue 1290: Hotfix for Colab Bokeh breaking API issues #1292

Closed jpl-jengelke closed 3 months ago

jpl-jengelke commented 3 months ago

Minor API changes with a big impact.

EXOTIC Colab Notebooks (exotic-colab) are the accompanying part of EXOTIC that runs on Google Colab. Anyone using an older Colab notebook (pre-EXOTIC 4.0.1 release), either off-the-shelf or customized, should default to EXOTIC 3.3.0 either in this repository (above link) or at exotic PyPi.

The newer notebook benefits by unpinning the Bokeh image presentation module, see #1290 .

ivenzor commented 3 months ago

I added try/except in my fork, currently testing.

Update: I tested with the retail version, it worked, opened a pull request, but closed it based on John's reply.

ivenzor commented 3 months ago

If/when this is merged in main, the retail EXOTIC Standard Colab version must also be changed, these lines must be commented out:

#if bokeh.__version__ != "2.4.3":
#  !pip install bokeh==2.4.3
#  hideWarning()
#else:
#  showProgress(.3)