From e4d6b20751022dd2c9516642b060f76a0a0cedbd Mon Sep 17 00:00:00 2001 From: William Johnson Date: Thu, 10 Oct 2024 09:15:30 -0700 Subject: [PATCH] Some slight improvements to reporting for batch analysis. Now if background or exemplar cant be opened, analysis will just be stopped, rather than spitting errors for each input files. The report templates now check for presence of foreground/background file, to help avoid templating errors. The JSON for peaks could be invalid, causing templating errors (I guess browsers were tolerant enough to not complain). --- .../ShieldSourceFitLog/act_fit.tmplt.html | 11 ++++++++--- .../ShieldSourceFitLog/std_fit_log.tmplt.txt | 2 +- src/BatchActivity.cpp | 3 ++- src/GammaInteractionCalc.cpp | 2 +- src/PeakDef.cpp | 14 +++++++------- 5 files changed, 19 insertions(+), 13 deletions(-) diff --git a/InterSpec_resources/static_text/ShieldSourceFitLog/act_fit.tmplt.html b/InterSpec_resources/static_text/ShieldSourceFitLog/act_fit.tmplt.html index bed9cc96..1448eece 100644 --- a/InterSpec_resources/static_text/ShieldSourceFitLog/act_fit.tmplt.html +++ b/InterSpec_resources/static_text/ShieldSourceFitLog/act_fit.tmplt.html @@ -98,6 +98,7 @@

Warnings