POSYDON-code / POSYDON

POSYDON is a next-generation single and binary-star population synthesis code incorporating full stellar structure and evolution modeling with the use of MESA.
BSD 3-Clause "New" or "Revised" License
25 stars 19 forks source link

update v1 for scikit-learn version #292

Closed elizabethteng closed 2 months ago

elizabethteng commented 2 months ago

resolving incompatibility between v1 syntax and current sklearn dependency

elizabethteng commented 2 months ago

tried changing from existing v1 environment to have sklearn 0.21.3 to resolve incompatibility. Now getting issues with incompatibility of code with numpy>1.20

elizabethteng commented 2 months ago

on my laptop with M3 chip: updated to numpy=1.19.0, now getting error related to libtiff Screenshot 2024-04-24 at 13 02 57

elizabethteng commented 2 months ago

Tried again with QUEST, post-conda install downgrading to sklearn 0.21.3 and numpy 1.19.0. Tutorial seems to run okay. I'll add that the tutorial, when referencing "PATH_TO_POSYDON_DATA", is expecting the data to be in a directory in that path called "POSYDON_data", which is not the case for the new file structure on QUEST.

elizabethteng commented 2 months ago

installed from scratch github clone. installation worked, got following error when trying "run populations" tutorial.

Screenshot 2024-04-24 at 14 18 08

astroJeff commented 2 months ago

Update (Apr 25): @elizabethteng to try and resolve minimum column size error listed above. To discuss with @ka-rocha and @celiotine

elizabethteng commented 2 months ago

unable to reproduce error -- everything working fine now. May have been running on the wrong environment in the previous error.