bd-j / prospector

Python code for Stellar Population Inference from Spectra and SEDs
http://prospect.readthedocs.io
MIT License
157 stars 73 forks source link

deprecated aliases in Numpy 1.20 #315

Closed aniennis closed 8 months ago

aniennis commented 8 months ago

Numpy 1.20 deprecated aliases like np.int np.bool and np.float so running prospector can sometimes give out empty results files since the optresultlist_to_ndarray function in prospect/io/write_results.py fails since lines 341/342 use these aliases.

bd-j commented 8 months ago

Thanks for the report!