Skip to content

Commit

Permalink
Fix a logic bug involving visit_summary
Browse files Browse the repository at this point in the history
  • Loading branch information
arunkannawadi committed Nov 8, 2024
1 parent 8c0b8d7 commit f99841b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/lsst/pipe/tasks/make_direct_warp.py
Original file line number Diff line number Diff line change
Expand Up @@ -818,7 +818,7 @@ def _apply_all_calibrations(
)
return False

elif self.config.useVisitSummaryPsf:
elif visit_summary is not None:
# We can only get here by calling `run`, not `runQuantum`.
raise RuntimeError(
"useVisitSummaryPsf=True, but visit_summary is provided. "
Expand Down

0 comments on commit f99841b

Please sign in to comment.