astropy v1.0.5 Release Notes

Release Date: 2015-10-05 // over 8 years ago
  • ๐Ÿ› Bug Fixes

    astropy.constants

    • ๐Ÿ“‡ Rename units -> unit and error -> uncertainty in the repr and str of constants to match attribute names. [#4147]

    astropy.coordinates

    • ๐Ÿ›  Fix string representation of SkyCoord objects transformed into the AltAz frame [#4055, #4057]

    • Fix the search_around_sky function to allow storekdtree to be False as was intended. [#4082, #4212]

    astropy.io.fits ^

    • ๐Ÿ›  Fix bug when extending one header (without comments) with another (with comments). [#3967]

    • Somewhat improved resource usage for FITS data--previously a new mmap was opened for each HDU of a FITS file accessed through an HDUList. Each mmap used up a single file descriptor, causing problems with system resource limits for some users. Now only a single mmap is opened, and shared for the data of all HDUs. Note: The problem still persists with using the "convenience" functions. For example using fits.getdata will create one mmap per HDU read this way (as opposed to opening the file with fits.open and accessing the HDUs through the HDUList object). [#4097]

    • ๐Ÿ›  Fix bug where reading a file without a newline failed with an unrelated / unhelpful exception. [#4160]

    astropy.modeling ^

    • Cleaned up repr of models that have no parameters. [#4076]

    astropy.nddata ^

    • ๐ŸŽ‰ Initializing NDDataArray from another instance now sets flags as expected and no longer fails when uncertainty is set [#4129]. Initializing an NDData subclass from a parent instance (eg. NDDataArray from NDData) now sets the attributes other than data as it should [#4130, #4137].

    astropy.table ^

    • ๐Ÿ›  Fix an issue with setting fill value when column dtype is changed. [#4088]

    • Fix bug when unpickling a bare Column where the _parent_table attribute was not set. This impacted the Column representation. [#4099]

    • ๐Ÿ›  Fix issue with the web browser opening with an empty page, and ensure that the url is correctly formatted for Windows. [#4132]

    • ๐Ÿ›  Fix NameError in table stack exception message. [#4213]

    astropy.utils ^

    • resolve_name no longer causes sys.modules to be cluttered with additional copies of modules under a package imported like resolve_name('numpy'). [#4084]

    • โšก๏ธ console was updated to support IPython 4.x and Jupyter 1.x. This should suppress a ShimWarning that was appearing at import of astropy with IPython 4.0 or later. [#4078]

    • Temporary downloaded files created by get_readable_fileobj when passed a URL are now deleted immediately after the file is closed. [#4198]

    astropy.visualization

    • The color for axes labels was set to white. Since white labels on white background are hard to read, the label color has been changed to black. [#4143]

    • ImageNormalize now automatically determines vmin/vmax (via the autoscale_None method) when they have not been set explicitly. [#4117]

    astropy.vo ^

    • Cone Search validation no longer crashes when the provider gives an incomplete test query. It also ensures search radius for a test query is not too large to avoid timeout. [#4158, #4159]

    Other Changes and Additions

    • ๐Ÿ‘ Astropy now supports Python 3.5. [#4027]

    • โšก๏ธ Updated bundled version of astropy-helpers to 1.0.5. [#4215]

    • โšก๏ธ Updated tests to support py.test 2.7, and upgraded the bundled copy of py.test to v2.7.3. [#4027]