Skip to content

Commit 530c050

Browse files
rickynilssonbsipocz
authored andcommitted
Fix codestyle issues.
1 parent 137ffcb commit 530c050

File tree

1 file changed

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

1 file changed

+1
-2
lines changed

astroquery/ipac/nexsci/nasa_exoplanet_archive/core.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ def query_aliases(self, object_name):
392392
url = requests.get("https://exoplanetarchive.ipac.caltech.edu/cgi-bin/Lookup/nph-aliaslookup.py?objname="+object_name)
393393
data = json.loads(url.text)
394394

395-
try :
395+
try:
396396
objname_split = object_name.split()
397397
if len(objname_split) > 1 and len(objname_split[-1]) == 1 and objname_split[-1].isalpha():
398398
pl_letter = object_name.split()[-1]
@@ -413,7 +413,6 @@ def query_aliases(self, object_name):
413413

414414
return aliases
415415

416-
417416
@class_or_instance
418417
def _regularize_object_name(self, object_name):
419418
"""Regularize the name of a planet or planet host using the ``aliaslookup`` service"""

0 commit comments

Comments
 (0)