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.
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 quantitiesn_s
andsigma8
cannot be added. If there are users needing those quantities, they should be made accessible some other way.