Skip to content

Commit 9727d2d

Browse files
authored
Minor wording change in x1d loader warning
1 parent 9e66dcc commit 9727d2d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

specutils/io/default_loaders/jwst_reader.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,8 @@ def _jwst_spec1d_loader(file_obj, extname='EXTRACT1D', **kwargs):
243243

244244
# checking if SRCTPYE is missing or UNKNOWN
245245
if not srctype or srctype == 'UNKNOWN':
246-
log.warning('SRCTYPE is missing or UNKNOWN. Defaulting to srctype="POINT".')
246+
log.warning('SRCTYPE is missing or UNKNOWN in JWST x1d loader.
247+
Defaulting to srctype="POINT".')
247248
srctype = 'POINT'
248249

249250
if srctype == "POINT":

0 commit comments

Comments
 (0)