Skip to content

Commit af3625e

Browse files
committed
Style fixes
1 parent e714159 commit af3625e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

astroquery/mast/missions.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class MastMissionsClass(MastQueryWithLogin):
4343
_list_products = 'post_list_products'
4444

4545
# Workaround so that observation_id is returned in ULLYSES queries that do not specify columns
46-
_default_ulysses_cols = ['target_name_ulysses', 'target_classification', 'targ_ra', 'targ_dec', 'host_galaxy_name',
46+
_default_ullyses_cols = ['target_name_ulysses', 'target_classification', 'targ_ra', 'targ_dec', 'host_galaxy_name',
4747
'spectral_type', 'bmv0_mag', 'u_mag', 'b_mag', 'v_mag', 'gaia_g_mean_mag', 'star_mass',
4848
'instrument', 'grating', 'filter', 'observation_id']
4949

@@ -192,7 +192,7 @@ def query_region_async(self, coordinates, *, radius=3*u.arcmin, limit=5000, offs
192192
if select_cols:
193193
select_cols.append(self.dataset_kwds.get(self.mission, None))
194194
elif self.mission == 'ullyses':
195-
select_cols = self._default_ulysses_cols
195+
select_cols = self._default_ullyses_cols
196196

197197
# basic params
198198
params = {'target': [f"{coordinates.ra.deg} {coordinates.dec.deg}"],
@@ -269,7 +269,7 @@ def query_criteria_async(self, *, coordinates=None, objectname=None, radius=3*u.
269269
if select_cols:
270270
select_cols.append(self.dataset_kwds.get(self.mission, None))
271271
elif self.mission == 'ullyses':
272-
select_cols = self._default_ulysses_cols
272+
select_cols = self._default_ullyses_cols
273273

274274
# build query
275275
params = {"limit": self.limit, "offset": offset, 'select_cols': select_cols}
@@ -583,7 +583,7 @@ def download_products(self, products, *, download_dir=None, flat=False,
583583
flat : bool, optional
584584
Default is False. If False, puts files into the standard
585585
directory structure of "mastDownload/<mission>/<dataset ID>/".
586-
If True, places files directly in `download_dir` without subdirectories.
586+
If True, places files directly in ``download_dir`` without subdirectories.
587587
cache : bool, optional
588588
Default is True. If file is found on disc, it will not be downloaded again.
589589
extension : string or list, optional

astroquery/mast/tests/test_mast.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
from astroquery.mast.services import _json_to_table
1818
from astroquery.utils.mocks import MockResponse
19-
from astroquery.exceptions import InvalidQueryError, InputWarning, MaxResultsWarning, NoResultsWarning
19+
from astroquery.exceptions import InvalidQueryError, InputWarning, MaxResultsWarning
2020

2121
from astroquery import mast
2222

0 commit comments

Comments
 (0)