astropy / astropy/astroquery

Gracefully return a NoResultsWarning and empty table

Open
#1,838 4 comments 0 reactions 0 assignees View on GitHub
infrastructure
Dominant language
Python
Stars
791
Forks
451
Avg merge
1d 3h
Merged PRs (30d)
4

Description

We recently saw a few regressions that result from not properly handling empty query returns. I would be useful to go through the modules and double check that the result parsing methods are not choking on empty results.

Recent examples #1836 and #1829

Contributor guide

Open the contributing guide

Research direction

Start by reviewing regressions #1836 and #1829, then inspect the result-parsing methods across the affected modules. The work is done when empty query returns are handled consistently by returning a NoResultsWarning and an empty table without raising parsing errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, data
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.