LSSTDESC / gcr-catalogs

A Python module that provides a unified interface to access mock galaxy catalogs and more for the LSST DESC
https://github.com/LSSTDESC/gcr-catalogs
BSD 3-Clause "New" or "Revised" License
26 stars 20 forks source link

Incompatibility with astropy 6.1.0 #635

Closed JoanneBogart closed 5 months ago

JoanneBogart commented 5 months ago

The code in the cosmodc2 reader which attempts to add attributes to the object returned by astropy.cosmology.FlatLambdaCDM fails with astropy 6.1.0 (the version in current LSST Pipelines builds) because that object is not modifiable. In particular, attributes for quantities n_s and sigma8 cannot be added. If there are users needing those quantities, they should be made accessible some other way.