File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
astroquery/ipac/nexsci/nasa_exoplanet_archive Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -392,7 +392,7 @@ def query_aliases(self, object_name):
392
392
url = requests .get ("https://exoplanetarchive.ipac.caltech.edu/cgi-bin/Lookup/nph-aliaslookup.py?objname=" + object_name )
393
393
data = json .loads (url .text )
394
394
395
- try :
395
+ try :
396
396
objname_split = object_name .split ()
397
397
if len (objname_split ) > 1 and len (objname_split [- 1 ]) == 1 and objname_split [- 1 ].isalpha ():
398
398
pl_letter = object_name .split ()[- 1 ]
@@ -413,7 +413,6 @@ def query_aliases(self, object_name):
413
413
414
414
return aliases
415
415
416
-
417
416
@class_or_instance
418
417
def _regularize_object_name (self , object_name ):
419
418
"""Regularize the name of a planet or planet host using the ``aliaslookup`` service"""
You can’t perform that action at this time.
0 commit comments