Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ heasarc
- Heasarc.locate_data returns empty rows with an error in the error_message column if there are
no data associated with that row rather than filtering it out. [#3275]
- Heasarc.locate_data changed to use POST request instead of GET to accomodate large requests. [#3356]
- Preserve size of mask when all values are False in HeasarcClass.locate_data [#3411]

imcce
^^^^^
Expand Down Expand Up @@ -2292,4 +2293,4 @@ Infrastructure, Utility and Other Changes and Additions
0.1 (2013-09-19)
================

- Initial release. Includes features!
- Initial release. Includes features!
3 changes: 2 additions & 1 deletion astroquery/heasarc/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -533,7 +533,8 @@ def locate_data(self, query_result=None, catalog_name=None):
# that report errors (usually means there are no data products)
dl_result = dl_result[np.ma.mask_or(
dl_result['content_type'] == 'directory',
dl_result['error_message'] != ''
dl_result['error_message'] != '',
shrink=False
)]
dl_result = dl_result[['ID', 'access_url', 'content_length', 'error_message']]

Expand Down
Loading