astropy v5.0.2 Release Notes
Release Date: 2022-03-10 // about 2 years ago-
๐ Bug Fixes
astropy.io.ascii ^
- ๐ Bugfix to add backwards compatibility for reading ECSV version 0.9 files with
non-standard column datatypes (such as
object
,str
,datetime64
, etc.), which would raise a ValueError in ECSV version 1.0. [#12880]
astropy.io.misc ^
- ๐ Bugfix for
units_mapping
schema's property name conflicts. Changes:inputs
tounit_inputs
outputs
tounit_outputs
[#12800]
astropy.io.votable
- ๐ Fixed a bug where
astropy.io.votable.validate
was printing output tosys.stdout
when theoutput
paramter was set toNone
.validate
now returns a string whenoutput
is set toNone
, as documented. [#12604]
astropy.modeling ^
๐ Fix handling of units on
scale
parameter in BlackBody model. [#12318]Indexing on models can now be used with all types of integers (like
numpy.int64
) instead of justint
. [#12561]๐ Fix computation of the separability of a
CompoundModel
where anotherCompoundModel
is on the right hand side of the&
operator. [#12907]Provide a hook (
Model._calculate_separability_matrix
) to allow subclasses ofModel
to define how to compute their separability matrix. [#12900]
astropy.stats ^
- Fixed a bug in which running
kuiper_false_positive_probability(D,N)
on distributions with many data points could produce NaN values for the false positive probability of the Kuiper statistic. [#12896]
astropy.wcs ^
- ๐ Fixed a bug due to which
naxis
,pixel_shape
, andpixel_bounds
attributes ofastropy.wcs.WCS
were not restored when anastropy.wcs.WCS
object was unpickled. This fix also eliminatesFITSFixedWarning
warning issued during unpiclikng of the WCS objects related to the number of axes. This fix also eliminates errors when unpickling WCS objects originally created using non-default values forkey
,colsel
, andkeysel
parameters. [#12844]
- ๐ Bugfix to add backwards compatibility for reading ECSV version 0.9 files with
non-standard column datatypes (such as