timothydmorton / isochrones

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

python3 compatibility #21

Closed StuartLittlefair closed 9 years ago

StuartLittlefair commented 9 years ago

First - thanks for the amazing library.

Second - I'm teaching an observational astronomy class this autumn and the students are going to be fitting CMDs that they create with your isochrones library. However, we're on enforced Python3 at the University and there's a few things in your library that I noticed don't work with Python 3.

Check out the attached pull request for that.

If it's possible, it would be amazing if the version accessible via pip acquired these changes before late October, when my students will start using the library.

timothydmorton commented 9 years ago

Sure, thanks--- glad it's being useful for you! Let me know if you find any other python 3 issues; I'm still doing everything with 2.7.

Keep in mind that the only grids I'm actively using these days are the Dartmouth ones, so I can't vouch for the others just yet. On my short to-do list is to update the Padova grids. Shouldn't be a problem to have a new version out on pip within the next month or so.