Skip to content

Commit 5bfc66b

Browse files
committed
Formatting warning message to fit coding standards
1 parent c675b0a commit 5bfc66b

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

astroquery/astrometry_net/core.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -415,10 +415,13 @@ def solve_from_image(self, image_file_path, *, force_image_upload=False,
415415
cache=False,
416416
files={'file': f})
417417
else:
418-
warning_msg = ("Removing photutils functionality to obtain extracted positions list from "
419-
"AstrometryNetClass.solve_from_source_list. Users will need to "
420-
"submit pre-extracted catalog positions or a fits file for https://nova.astrometry.net/ "
421-
"to extract with their algorithm.")
418+
warning_msg = (
419+
"Removing photutils functionality to obtain extracted positions list from "
420+
"AstrometryNetClass.solve_from_source_list. Users will need to "
421+
"submit pre-extracted catalog positions or a fits file for https://nova.astrometry.net/ "
422+
"to extract with their algorithm."
423+
)
424+
422425
warnings.warn(warning_msg, category=AstropyDeprecationWarning)
423426
# Detect sources and delegate to solve_from_source_list
424427
if _HAVE_CCDDATA:

0 commit comments

Comments
 (0)