timothydmorton / isochrones

Pythonic stellar model grid access; easy MCMC fitting of stellar properties
http://isochrones.readthedocs.org
MIT License
123 stars 63 forks source link

Allow import of `isochrones` on readthedocs #177

Closed TomWagg closed 5 months ago

TomWagg commented 2 years ago

Super small PR! I've moved the definition of LOG_ONE_OVER_ROOT_2PI to prevent a crash during import whilst on readthedocs - this will fix #176.

(I also changed a "is" to "==" to prevent warnings in the latest python version)

TomWagg commented 1 year ago

Hi @timothydmorton, just wanted to check in on this PR - should be super quick but it'll let me build my docs for a package that uses isochrones 🙂

TomWagg commented 5 months ago

Thanks @timothydmorton! - but I don't have write access so I can't merge the PR 😅