Changelog History
Page 5
-
v2.0.11 Changes
December 31, 2018π Bug Fixes
astropy.io.ascii ^
- π Fix fast reader C tokenizer to handle double quotes in quoted field. [#8283]
astropy.io.fits ^
- π Fix a bug in
io.fits
with writing Fortran-ordered arrays to file objects. [#8282]
astropy.units ^
- β Add support for
np.matmul
as aufunc
(new in numpy 1.16). [#8264, #8305]
astropy.utils ^
- Fix failures caused by IERS_A_URL being unavailable by introducing IERS_A_URL_MIRROR. [#8308]
-
v2.0.10 Changes
December 04, 2018π Bug Fixes
astropy.convolution
- π Fix Moffat2DKernel's FWHM computation, which has an influence on the default size of the kernel when no size is given. [#8105]
astropy.coordinates
- Disable
of_address
usage due to Google API now requiring API key. [#7993]
astropy.io.fits ^
fits.append
now correctly handles file objects with valid modes other thanostream
. [#7856]
astropy.table ^
- Fix
Table.show_in_notebook
failure when mixin columns are present. [#8069]
β astropy.tests ^
- β
Explicitly disallow incompatible versions of
pytest
when using the test runner. [#8188]
astropy.units ^
- π Fixed the spelling of the 'luminous emittance/illuminance' physical property. [#7942]
astropy.visualization
π Fixed a bug that caused origin to be incorrect if not specified. [#7927]
π Fixed a bug that caused an error when plotting grids multiple times with grid_type='contours'. [#7927]
Put an upper limit on the number of bins in
hist
andhistogram
and factor out calculation of bin edges into public functioncalculate_bin_edges
. [#7991]
Other Changes and Additions
Fixing
astropy.__citation__
to provide the full bibtex entry of the 2018 paper. [#8110]π Pytest 4.0 is not supported by the 2.0.x LTS releases. [#8173]
β‘οΈ Updating bundled
pytest-remotedata
to v0.3.1. [#8174]β‘οΈ Updating bundled
pytest-doctestplus
to v0.2.0. [#8175]β‘οΈ Updating bundled
pytest-openfiles
to v0.3.0. [#8176]β Adding
warning_type
keyword argument to the "deprecated" decorators to allow issuing custom warning types instead of the defaultAstropyDeprecationWarning
. [#8178]
-
v2.0.9 Changes
October 14, 2018π Bug Fixes
astropy.io.ascii ^
- π Fix reading of big files with the fast reader. [#7885]
astropy.io.fits ^
HDUList.__contains__()
now works withHDU
arguments. That is,hdulist[0] in hdulist
now works as expected. [#7282]HDUList
s can now be written to streams in Python 3 [#7850]
astropy.nddata ^
- π Fixed the bug in CCData.read when the HDU is not specified and the first one is empty so the function searches for the first HDU with data which may not have an image extension. [#7739]
astropy.stats ^
- π Fixed bugs in biweight statistics functions where a constant data array (or if using the axis keyword, constant along an axis) would return NaN. [#7737]
astropy.table ^
- π Fixed a bug in
to_pandas()
where integer type masked columns were always getting converted to float. This could cause loss of precision. Now this only occurs if there are actually masked data values, in which casepandas
does require the values to be float so thatNaN
can be used to mark the masked values. [#7741, #7747]
β astropy.tests ^
- π Change the name of the configuration variable controlling the location of the
Astropy cache in the Pytest plugin from
cache_dir
toastropy_cache_dir
. The command line flag also changed to--astropy-cache-dir
. This prevents a conflict with thecache_dir
variable provided by pytest itself. Also made similar change toconfig_dir
option as a precaution. [#7721]
astropy.units ^
UnrecognizedUnit
instances can now be compared to any other object without raisingTypeError
. [#7606]
astropy.visualization
π Fix compatibility with Matplotlib 3.0. [#7839]
π Fix an issue that caused a crash when using WCSAxes with a custom Transform object and when using
grid_type='contours'
to plot a grid. [#7846]
astropy.wcs ^
Instead of raising an error
astropy.wcs
now returns the input when the input has zero size. [#7746]Fix
malloc(0)
bug inpipeline_all_pixel2world()
andpipeline_pix2foc()
. They now raise an exception for input with zero coordinates, i.e. shape = (0, n). [#7806]π Fixed an issue with scalar input when WCS.naxis is one. [#7858]
Other Changes and Additions
- Added a new
astropy.__citation__
attribute which gives a citation for Astropy in bibtex format. Made sure that both this andastropy.__bibtex__
works outside the source environment, too. [#7718]
-
v2.0.8 Changes
August 02, 2018π Bug Fixes
astropy.convolution
Correct data type conversion for non-float masked kernels. [#7542]
π Fix non-float or masked, zero sum kernels when
normalize_kernel=False
. Non-floats would yeild a type error and masked kernels were not being filled. [#7541]
astropy.coordinates
- Ensure that relative humidities can be given as Quantities, rather than take any quantity and just strip its unit. [#7668]
astropy.nddata ^
- π Fixed
Cutout2D
output WCS NAXIS values to reflect the cutout image size. [#7552]
astropy.table ^
- Fixed a bug in
add_columns
method whererename_duplicate=True
would cause an error if there were no duplicates. [#7540]
β astropy.tests ^
- π Fixed bug in
python setup.py test --coverage
on Windows machines. [#7673]
astropy.time ^
- Avoid rounding errors when converting
Quantity
toTimeDelta
. [#7625]
astropy.visualization
- π Fixed a bug that caused the position of the tick values in decimal mode to be incorrectly determined. [#7332]
astropy.wcs ^
- Fixed a bug that caused
wcs_to_celestial_frame
,skycoord_to_pixel
, andpixel_to_skycoord
to raise an error if the axes of the celestial WCS were swapped. [#7691]
-
v2.0.7 Changes
June 01, 2018π Bug Fixes
astropy.modeling ^
- π Fixed
Tabular
models to not change the shape of data. [#7411]
astropy.stats ^
- In
freedman_bin_width
, if the data has too small IQR, raiseValueError
. [#7248, #7402]
astropy.table ^
π Fix a performance issue in
MaskedColumn
where initialization was extremely slow for large arrays with the defaultmask=None
. [#7422]π Fix printing table row indexed with unsigned integer. [#7469]
π Fix copy of mask when copying a Table, as this is no more done systematically by Numpy since version 1.14. Also fixed a problem when MaskedColumn was initialized with
mask=np.ma.nomask
. [#7486]
astropy.time ^
- π Fixed a bug in Time that raised an error when initializing a subclass of Time with a Time object. [#7453]
astropy.utils ^
- π Fixed a bug that improperly handled unicode case of URL mirror in Python 2. [#7493]
astropy.visualization
- π Fixed a bug that prevented legends from being added to plots done with units. [#7510]
Other Changes and Additions
- β¬οΈ Bundled
pytest-remotedata
plugin is upgraded to 0.3. [#7493]
- π Fixed
-
v2.0.6 Changes
April 23, 2018π Bug Fixes
astropy.convolution
- convolve(boundary=None) requires the kernel to be smaller than the image. This was never actually checked, it now is and an exception is raised. [#7313]
astropy.units ^
u.quantity_input
no longer errors if the return annotation for a function isNone
. [#7336, #7380]
astropy.visualization
0οΈβ£ Explicitly default to origin='lower' in WCSAxes. [#7331]
Lists of units are now converted in the Matplotlib unit converter. This means that for Matplotlib versions later than 2.2, more plotting functions now work with units (e.g. errorbar). [#7037]
Other Changes and Additions
- β‘οΈ Updated the bundled CFITSIO library to 3.44. This is to remedy another
critical security vulnerability that was identified by NASA. See
cextern/cfitsio/docs/changes.txt
for additional information. [#7370]
-
v2.0.5 Changes
March 12, 2018π Bug Fixes
astropy.coordinates
β Add a workaround for a bug in the einsum function in Numpy 1.14.0. [#7187]
π Fix problems with printing
Angle
instances under numpy 1.14.1. [#7234]
astropy.io.fits ^
π Fixed the
fitsdiff
script for matching fits file with one in a directory path. [#7085]π Make sure that lazily-loaded
HDUList
is automatically loaded when callinghdulist.pop
. [#7186]
astropy.modeling ^
- Propagate weights to underlying fitter in
FittingWithOutlierRemoval
[#7249]
β astropy.tests ^
- π Support dotted package names as namespace packages when gathering test coverage. [#7170]
astropy.visualization
- Matplotlib axes have the
axisbelow
property to control the z-order of ticks, tick labels, and grid lines. WCSAxes will now respect this property. This is useful for drawing scale bars or inset boxes, which should have a z-order that places them above all ticks and gridlines. [#7098]
Other Changes and Additions
- π Updated the bundled CFITSIO library to 3.430. This is to remedy a critical
security vulnerability that was identified by NASA. See
cextern/cfitsio/docs/changes.txt
for additional information. [#7274, #7275]
-
v2.0.4 Changes
February 06, 2018π Bug Fixes
astropy.convolution
- Fixed IndexError when
preserve_nan=True
inconvolve_fft
. Added testing withpreserve_nan=True
. [#7000]
astropy.coordinates
π The
sites.json
file is now parsed explicitly with a UTF-8 encoding. This means that future revisions to the file with unicode observatory names can be done without breaking the site registry parser. [#7082]Working around a bug in Numpy 1.14.0 that broke some coordinate transformations. [#7105]
π Fixed a bug where negative angles could be rounded wrongly when converting to a string with seconds omitted. [#7148]
astropy.io.fits ^
π When datafile is missing, fits.tabledump uses input file name to build output file name. Fixed how it gets input file name from HDUList. [#6976]
π Fix in-place updates to scaled columns. [#6956]
astropy.io.registry
- π Fixed bug in identifying inherited registrations from multiple ancestors [#7156]
astropy.modeling ^
- π Fixed a bug in
LevMarLSQFitter
when fitting 2D models with constraints. [#6705]
astropy.utils ^
download_file
function will check for cache downloaded from mirror URL first before attempting actual download if primary URL is unavailable. [#6987]
astropy.visualization
- π Fixed test failures for
astropy.visualization.wcsaxes
which were due to local matplotlibrc files being taken into account. [#7132]
Other Changes and Additions
π Fixed broken links in the documentation. [#6745]
π Substantial performance improvement (potentially >1000x for some cases) when converting non-scalar
coordinates.Angle
objects to strings. [#7004]
- Fixed IndexError when
-
v2.0.3 Changes
December 13, 2017π Bug Fixes
astropy.coordinates
Ecliptic frame classes now support attributes
v_x
,v_y
,v_z
when using with a Cartesian representation. [#6569]β Added a nicer error message when accidentally calling
frame.representation
instead offrame.data
in the context of methods that use._apply()
. [#6561]Creating a new
SkyCoord
from a list of multipleSkyCoord
objects now yield the correct type of frame, and works at all for non-equatorial frames. [#6612]Improved accuracy of velocity calculation in
EarthLocation.get_gcrs_posvel
. [#6699]π Improved accuracy of radial velocity corrections in
SkyCoord.radial_velocity_correction
`. [#6861]π The precision of ecliptic frames is now much better, after removing the nutation from the rotation and fixing the computation of the position of the Sun. [#6508]
astropy.extern ^
- π Version 0.2.1 of
pytest-astropy
is included as an external package. [#6918]
astropy.io.fits ^
π Fix writing the result of
fitsdiff
to file with--output-file
. [#6621]π Fix a minor bug where
FITS_rec
instances can not be indexed with tuples and other sequences that end up with a scalar. [#6955, #6966]
astropy.io.misc ^
- π Fix
ImportError
whenhdf5
is imported first in a fresh Python interpreter in Python 3. [#6604, #6610]
astropy.nddata ^
Suppress errors during WCS creation in CCDData.read(). [#6500]
π Fixed a problem with
CCDData.read
when the extension wasn't given and the primary HDU contained nodata
but another HDU did. In that case the header were not correctly combined. [#6489]
astropy.stats ^
- π Fixed an issue where the biweight statistics functions would sometimes cause runtime underflow/overflow errors for float32 input arrays. [#6905]
astropy.table ^
π Fixed a problem when printing a table when a column is deleted and garbage-collected, and the format function caching mechanism happens to re-use the same cache key. [#6714]
π Fixed a problem when comparing a unicode masked column (on left side) to a bytes masked column (on right side). [#6899]
π Fixed a problem in comparing masked columns in bytes and unicode when the unicode had masked entries. [#6899]
β astropy.tests ^
π Fixed a bug that causes tests for rst files to not be run on certain platforms. [#6555, #6608]
π Fixed a bug that caused the doctestplus plugin to not work nicely with the hypothesis package. [#6605, #6609]
π Fixed a bug that meant that the data.astropy.org mirror could not be used when using --remote-data=astropy. [#6724]
π Support compatibility with new
pytest-astropy
plugins. [#6918]π¦ When testing, astropy (or the package being tested) is now installed to a temporary directory instead of copying the build. This allows entry points to work correctly. [#6890]
astropy.time ^
- π Initialization of Time instances now is consistent for all formats to
ensure that
-0.5 <= jd2 < 0.5
. [#6653]
astropy.units ^
- Ensure that
Quantity
slices can be set with objects that have aunit
attribute (such asColumn
). [#6123]
astropy.utils ^
download_files_in_parallel
now respects the giventimeout
value. [#6658]π Fixed bugs in remote data handling and also in IERS unit test related to path URL, and URI normalization on Windows. [#6651]
Fixed a bug that caused
get_pkg_data_fileobj
to not work correctly when used with non-local data from inside packages. [#6724]Make sure
get_pkg_data_fileobj
fails if the URL can not be read, and correctly falls back on the mirror if necessary. [#6767]Fix the
finddiff
option infind_current_module
to properly deal with submodules. [#6767]π Fixed
pyreadline
import inutils.console.isatty
for older IPython versions on Windows. [#6800]
astropy.visualization
π Fixed the vertical orientation of the
fits2bitmap
output bitmap image to match that of the FITS image. [#6844, #6969]β Added a workaround for a bug in matplotlib so that the
fits2bitmap
script generates the correct output file type. [#6969]
Other Changes and Additions
π No longer require LaTeX to build the documentation locally and use mathjax instead. [#6701]
β Ensured that all tests use the Astropy data mirror if needed. [#6767]
-
v2.0.2 Changes
September 08, 2017π Bug Fixes
astropy.coordinates
Ensure transformations via ICRS also work for coordinates that use cartesian representations. [#6440]
π Fixed a bug that was preventing
SkyCoord
objects made from lists of other coordinate objects from being written out to ECSV files. [#6448]
astropy.io.fits ^
- π Support the
GZIP_2
FITS image compression algorithm as claimed in docs. [#6486]
astropy.io.votable
- π Fixed a bug that wrote out VO table as version 1.2 instead of 1.3. [#6521]
astropy.table ^
- π Fix a bug when combining unicode columns via join or vstack. The character width of the output column was a factor of 4 larger than needed. [#6459]
β astropy.tests ^
π Fixed running the test suite using --parallel. [#6415]
β Added error handling for attempting to run tests in parallel without having the
pytest-xdist
package installed. [#6416]π Fixed issue running doctests with pytest>=3.2. [#6423, #6430]
π Fixed issue caused by antivirus software in response to malformed compressed files used for testing. [#6522]
β‘οΈ Updated top-level config file to properly ignore top-level directories. [#6449]
astropy.units ^
- Quantity.repr_latex now respects precision option from numpy printoptions. [#6412]
astropy.utils ^
- π For the
deprecated_renamed_argument
decorator, refer to the deprecationβs caller instead ofastropy.utils.decorators
, to makes it easier to find where the deprecation warnings comes from. [#6422]