Skip to content

Commit

Permalink
return the slit corresponding to the input echelle order
Browse files Browse the repository at this point in the history
  • Loading branch information
Frederick Davies committed Nov 19, 2021
1 parent d79d8bc commit fdefa5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pypeit/specobjs.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ def slitorder_indices(self, slitorder):
int:
"""
if self[0].PYPELINE == 'Echelle':
indx = self.ECH_ORDERINDX == slitorder
indx = self.ECH_ORDER == slitorder
elif self[0].PYPELINE == 'MultiSlit':
indx = self.SLITID == slitorder
elif self[0].PYPELINE == 'IFU':
Expand Down

0 comments on commit fdefa5c

Please sign in to comment.