Skip to content

Commit f7517f8

Browse files
rickynilssonbsipocz
authored andcommitted
Fix InvalidTableError when attempting to query DI_STARS_EXEP or TD tables.
1 parent ce23722 commit f7517f8

File tree

1 file changed

+1
-1
lines changed
  • astroquery/ipac/nexsci/nasa_exoplanet_archive

1 file changed

+1
-1
lines changed

astroquery/ipac/nexsci/nasa_exoplanet_archive/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ def query_criteria_async(self, table, get_query_payload=False, cache=None, **cri
233233
if cache is None:
234234
cache = self.CACHE
235235

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

0 commit comments

Comments
 (0)