Skip to content

Commit

Permalink
fix multi-badamp parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephen Bailey authored and Stephen Bailey committed May 2, 2024
1 parent 7bb2253 commit b8ebd8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/desispec/xytraceset.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def get_badamp_fibers(header, tset, threshold=0.1, nsample=50, verbose=False):

log = get_logger()
badfibers = list()
badamps = header["BADAMPS"].split(",")
badamps = list(header["BADAMPS"].replace(',',''))
for badamp in badamps :
# get the CCD area that is concerned
yslice, xslice = parse_sec_keyword(header["CCDSEC"+badamp])
Expand Down

0 comments on commit b8ebd8b

Please sign in to comment.