Skip to content

Commit

Permalink
identify fix
Browse files Browse the repository at this point in the history
  • Loading branch information
profxj committed Jul 24, 2023
1 parent 3d40489 commit 2db1699
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions pypeit/core/gui/identify.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,11 +272,7 @@ def initialise(cls, arccen, lamps, slits, slit=0, par=None, wv_calib_all=None,
detns = tdetns[icut]

# Load line lists
if 'ThAr' in lamps:
line_lists_all = waveio.load_line_lists(lamps)
line_lists = line_lists_all[np.where(line_lists_all['ion'] != 'UNKNWN')]
else:
line_lists = waveio.load_line_lists(lamps)
line_lists, _, _ = waveio.load_line_lists(lamps, include_unknown=False)

# Trim the wavelength scale if requested
if wavelim is not None:
Expand Down

0 comments on commit 2db1699

Please sign in to comment.