Skip to content

Commit

Permalink
Fix InvalidTableError when attempting to query DI_STARS_EXEP or TD ta…
Browse files Browse the repository at this point in the history
…bles.
  • Loading branch information
rickynilsson committed Jan 23, 2025
1 parent 013261c commit 560d427
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion astroquery/ipac/nexsci/nasa_exoplanet_archive/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def query_criteria_async(self, table, get_query_payload=False, cache=None, **cri
if cache is None:
cache = self.CACHE

if table in self.TAP_TABLES:
if table in [tab.lower() for tab in self.TAP_TABLES]:
tap = pyvo.dal.tap.TAPService(baseurl=self.URL_TAP, session=self._session)
# construct query from table and request_payload (including format)
tap_query = self._request_to_sql(request_payload)
Expand Down

0 comments on commit 560d427

Please sign in to comment.