Skip to content

Commit 7f24283

Browse files
nkphysicsbsipocz
authored andcommitted
Refactor: Made astrometry_net kwargs keyword only
1 parent 09c2265 commit 7f24283

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

astroquery/astrometry_net/core.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ def _validate_settings(self, settings):
198198
raise ValueError('Scale type {} requires '
199199
'values for {}'.format(scale_type, required_keys))
200200

201-
def monitor_submission(self, submission_id,
201+
def monitor_submission(self, submission_id, *,
202202
solve_timeout=TIMEOUT, verbose=True):
203203
"""
204204
Monitor the submission for completion.
@@ -270,7 +270,7 @@ def monitor_submission(self, submission_id,
270270
raise RuntimeError('Unrecognized status {}'.format(status))
271271
return wcs
272272

273-
def solve_from_source_list(self, x, y, image_width, image_height,
273+
def solve_from_source_list(self, x, y, image_width, image_height, *,
274274
solve_timeout=TIMEOUT,
275275
verbose=True,
276276
**settings
@@ -320,7 +320,7 @@ def solve_from_source_list(self, x, y, image_width, image_height,
320320
solve_timeout=solve_timeout,
321321
verbose=verbose)
322322

323-
def solve_from_image(self, image_file_path, force_image_upload=False,
323+
def solve_from_image(self, image_file_path, *, force_image_upload=False,
324324
ra_key=None, dec_key=None,
325325
ra_dec_units=None,
326326
fwhm=3, detect_threshold=5,

0 commit comments

Comments
 (0)