Pull request #1984: PIPE-3232 fix errors in log qa when weblog rendering is disabled
Merge in PIPE/pipeline from PIPE-3232-fix-errors-in-log_qa-when-weblog-rendering-is-disabled to main
* commit 'aae06797d595843586eed600982f3e71e7b7dd53': PIPE-3232: add unit tests for `DISABLE_WEBLOG` and `DISABLE_QA` handling PIPE-3232: introduce DISABLE_QA flag to control QA score generation PIPE-3232: return empty plot dict from flagging tasks when weblog is disabled PIPE-3232 update log_qa decorator PIPE-3232 score_amp_vs_time_plots should skip QA evaluation if weblog is disabled PIPE-3232 add/remove log_qa decorator depending on the return value of the function
PIPE-3232: introduce DISABLE_QA flag to control QA score generation
Define DISABLE_QA in basetask.py and guard pipelineqa.qa_registry.do_qa in Results.accept() to allow skipping QA evaluation when disabled.
PIPE-3232: return empty plot dict from flagging tasks when weblog is disabled
Update create_plots() in bandpassflag, gfluxscaleflag, polcalflag, and targetflag to return a dictionary with 'time' and 'uvdist' keys instead of a tuple when DISABLE_WEBLOG is True, preventing downstream TypeErrors.