Skip to content

Commit fd36c12

Browse files
committed
MAINT: rename non public API
1 parent 68ba349 commit fd36c12

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

astroquery/vizier/core.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@ def _parse_result(self, response, *, get_catalog_names=False, verbose=False,
677677
"""
678678
if response.content[:5] == b'<?xml':
679679
try:
680-
return parse_vizier_votable(
680+
return _parse_vizier_votable(
681681
response.content, verbose=verbose, invalid=invalid,
682682
get_catalog_names=get_catalog_names)
683683
except Exception as ex:
@@ -691,7 +691,7 @@ def _parse_result(self, response, *, get_catalog_names=False, verbose=False,
691691
"self.parsed_result.\n Exception: " +
692692
str(self.table_parse_error))
693693
elif response.content[:5] == b'#\n# ':
694-
return parse_vizier_tsvfile(response.content, verbose=verbose)
694+
return _parse_vizier_tsvfile(response.content, verbose=verbose)
695695
elif response.content[:6] == b'SIMPLE':
696696
return fits.open(BytesIO(response.content),
697697
ignore_missing_end=True)
@@ -710,7 +710,7 @@ def valid_keywords(self):
710710
return self._valid_keyword_dict
711711

712712

713-
def parse_vizier_tsvfile(data, *, verbose=False):
713+
def _parse_vizier_tsvfile(data, *, verbose=False):
714714
"""
715715
Parse a Vizier-generated list of tsv data tables into a list of astropy
716716
Tables.
@@ -731,8 +731,8 @@ def parse_vizier_tsvfile(data, *, verbose=False):
731731
return tables
732732

733733

734-
def parse_vizier_votable(data, *, verbose=False, invalid='warn',
735-
get_catalog_names=False):
734+
def _parse_vizier_votable(data, *, verbose=False, invalid='warn',
735+
get_catalog_names=False):
736736
"""
737737
Given a votable as string, parse it into dict or tables
738738
"""

0 commit comments

Comments
 (0)