@@ -677,7 +677,7 @@ def _parse_result(self, response, *, get_catalog_names=False, verbose=False,
677
677
"""
678
678
if response .content [:5 ] == b'<?xml' :
679
679
try :
680
- return parse_vizier_votable (
680
+ return _parse_vizier_votable (
681
681
response .content , verbose = verbose , invalid = invalid ,
682
682
get_catalog_names = get_catalog_names )
683
683
except Exception as ex :
@@ -691,7 +691,7 @@ def _parse_result(self, response, *, get_catalog_names=False, verbose=False,
691
691
"self.parsed_result.\n Exception: " +
692
692
str (self .table_parse_error ))
693
693
elif response .content [:5 ] == b'#\n # ' :
694
- return parse_vizier_tsvfile (response .content , verbose = verbose )
694
+ return _parse_vizier_tsvfile (response .content , verbose = verbose )
695
695
elif response .content [:6 ] == b'SIMPLE' :
696
696
return fits .open (BytesIO (response .content ),
697
697
ignore_missing_end = True )
@@ -710,7 +710,7 @@ def valid_keywords(self):
710
710
return self ._valid_keyword_dict
711
711
712
712
713
- def parse_vizier_tsvfile (data , * , verbose = False ):
713
+ def _parse_vizier_tsvfile (data , * , verbose = False ):
714
714
"""
715
715
Parse a Vizier-generated list of tsv data tables into a list of astropy
716
716
Tables.
@@ -731,8 +731,8 @@ def parse_vizier_tsvfile(data, *, verbose=False):
731
731
return tables
732
732
733
733
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 ):
736
736
"""
737
737
Given a votable as string, parse it into dict or tables
738
738
"""
0 commit comments