From 2ff2495c2f62267783b60dac236a775364eb917a Mon Sep 17 00:00:00 2001 From: fmckenna Date: Thu, 29 Sep 2022 23:03:33 -0700 Subject: [PATCH 1/2] fmk - changing key UQ_MEthod to UQ in exmplae inputs --- Examples/pbdl-0001/src/input.json | 2 +- Examples/pbdl-0002/src/input.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Examples/pbdl-0001/src/input.json b/Examples/pbdl-0001/src/input.json index bc3d861..dd3ef03 100644 --- a/Examples/pbdl-0001/src/input.json +++ b/Examples/pbdl-0001/src/input.json @@ -199,7 +199,7 @@ "secondMode": 0, "solver": "Umfpack" }, - "UQ_Method": { + "UQ": { "parallelExecution": true, "samplingMethodData": { "method": "LHS", diff --git a/Examples/pbdl-0002/src/input.json b/Examples/pbdl-0002/src/input.json index 92da957..92c02ea 100644 --- a/Examples/pbdl-0002/src/input.json +++ b/Examples/pbdl-0002/src/input.json @@ -185,7 +185,7 @@ "secondMode": 0, "solver": "Umfpack" }, - "UQ_Method": { + "UQ": { "parallelExecution": true, "samplingMethodData": { "method": "LHS", From f3772fe5138e96856342c9f44825320a501e55e4 Mon Sep 17 00:00:00 2001 From: fmckenna Date: Fri, 30 Sep 2022 00:46:08 -0700 Subject: [PATCH 2/2] fmk - adding app data to google analytics --- LossModel/LossModelSelection.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/LossModel/LossModelSelection.cpp b/LossModel/LossModelSelection.cpp index 71896a6..5a8dccf 100644 --- a/LossModel/LossModelSelection.cpp +++ b/LossModel/LossModelSelection.cpp @@ -47,6 +47,7 @@ UPDATES, ENHANCEMENTS, OR MODIFICATIONS. #include #include "LossModelSelection.h" +#include LossModelSelection::LossModelSelection( @@ -205,7 +206,7 @@ void LossModelSelection::dlSelectionChanged(const QString &arg1) theStackedWidget->setCurrentIndex(0); theCurrentMethod = thePelicunWidget; - }else { + } else { errorMessage("ERROR: Loss Input - no valid Method provided .. keeping old"); qDebug() << "ERROR: Loss Input - no valid Method provided .. keeping old" << arg1; } @@ -219,7 +220,8 @@ LossModelSelection::copyFiles(QString &destDir) { bool result = true; if (theCurrentMethod != 0) { - return theCurrentMethod->copyFiles(destDir); + GoogleAnalytics::ReportAppUsage("DL-Pelicun"); + return theCurrentMethod->copyFiles(destDir); } return result;