Skip to content

Commit

Permalink
Merge pull request #2233 from desihub/badamp_parsing
Browse files Browse the repository at this point in the history
fix multi-badamp parsing
  • Loading branch information
sbailey committed May 2, 2024
2 parents 7bb2253 + b8ebd8b commit 39b053b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/desispec/xytraceset.py
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 39b053b

Please sign in to comment.