Skip to content

Commit

Permalink
bugfix: handling of missing campets in create_ctedet_rowbyrow_pdf()
Browse files Browse the repository at this point in the history
  • Loading branch information
araichoor committed Aug 7, 2024
1 parent fbdba56 commit 6af0fd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/desispec/night_qa.py
Original file line number Diff line number Diff line change
Expand Up @@ -1082,7 +1082,7 @@ def create_ctedet_rowbyrow_pdf(outpdf, night, prod, ctedet_expid, nproc, dpi=100
ctedet_mydicts = _read_ctedet(night, prod, ctedet_expid, nproc)

# AR compute the row-by-row model
ims = [ctedet_mydict["img"] for ctedet_mydict in ctedet_mydicts]
ims = [ctedet_mydict["img"] if ctedet_mydict is not None else None for ctedet_mydict in ctedet_mydicts]
mods = _compute_rowbyrow(ims, nproc)

# AR plotting
Expand Down

0 comments on commit 6af0fd6

Please sign in to comment.