Skip to content

Commit 27e6e43

Browse files
keflavichbsipocz
authored andcommitted
fix codestyle issues
1 parent c33113f commit 27e6e43

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

astroquery/vsa/core.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ def __init__(self, username=None, password=None, community=None,
7474
self.ARCHIVE_URL = self.BASE_URL + "ImageList"
7575
self.REGION_URL = self.BASE_URL + "WSASQL"
7676

77-
7877
self.database = database
7978
self.programme_id = programme_id
8079
self.session = None

astroquery/vsa/tests/test_vista_remote.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
vista = vsa.core.VsaClass()
1717

18+
1819
@remote_data
1920
class TestVista:
2021

astroquery/wfau/core.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -718,7 +718,7 @@ def query_cross_id_async(self, coordinates, radius=1*u.arcsec,
718718
constraints="", attributes='default',
719719
pairing='all', system='J2000',
720720
get_query_payload=False,
721-
):
721+
):
722722
"""
723723
Query the crossID server
724724
@@ -787,9 +787,9 @@ def query_cross_id_async(self, coordinates, radius=1*u.arcsec,
787787
request_payload['qType'] = 'form'
788788
request_payload['selectList'] = attributes
789789
request_payload['uploadFile'] = 'file.txt'
790-
if pairing not in ('nearest','all'):
790+
if pairing not in ('nearest', 'all'):
791791
raise ValueError("pairing must be one of 'nearest' or 'all'")
792-
request_payload['nearest'] = 0 if pairing=='nearest' else 1
792+
request_payload['nearest'] = 0 if pairing == 'nearest' else 1
793793

794794
# for some reason, this is required on the VISTA website
795795
if self.archive is not None:
@@ -803,7 +803,6 @@ def query_cross_id_async(self, coordinates, radius=1*u.arcsec,
803803
for crd in coordinates:
804804
fh.write("{0} {1}\n".format(crd.ra.deg, crd.dec.deg))
805805
fh.seek(0)
806-
807806

808807
if hasattr(self, 'session') and self.logged_in():
809808
response = self.session.post(self.CROSSID_URL,
@@ -818,9 +817,8 @@ def query_cross_id_async(self, coordinates, radius=1*u.arcsec,
818817

819818
raise NotImplementedError("It appears we haven't implemented the file "
820819
"upload correctly. Help is needed.")
821-
822820

823-
#response = self._check_page(response.url, "query finished")
821+
# response = self._check_page(response.url, "query finished")
824822

825823
return response
826824

0 commit comments

Comments
 (0)