diff --git a/CHANGELOG.md b/CHANGELOG.md index c9bb1d427532319fc1ecf1d813706c0629ec0297..0e90cd513603351f1d25e480fb06cf9f4a551380 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -50,6 +50,7 @@ release. - Fixed hardcoded file naming in the hijitter app dealing with output from pipeline. [#4372](https://github.com/USGS-Astrogeology/ISIS3/pull/4372) - Fixed "About Qview" to point to website documentation. [4333](https://github.com/USGS-Astrogeology/ISIS3/issues/4333) - Fixed bug where the time bias was not being added to the ephemeris times in ckwriter. [4129](https://github.com/USGS-Astrogeology/ISIS3/issues/4129) +- Fixed logging in FindFeatures where we were trying to get a non-existent Pvl group from the Pvl log. [#4375](https://github.com/USGS-Astrogeology/ISIS3/issues/4375) ### Changed diff --git a/isis/src/control/apps/findfeatures/findfeatures.cpp b/isis/src/control/apps/findfeatures/findfeatures.cpp index 5ef5ff0038c3ebb070266e2e3da762d4a7674539..45b4da3656384110dad03f113741f593f795017a 100644 --- a/isis/src/control/apps/findfeatures/findfeatures.cpp +++ b/isis/src/control/apps/findfeatures/findfeatures.cpp @@ -81,8 +81,7 @@ namespace Isis{ } else { if (log){ - PvlGroup results = data.findGroup("Results"); - log->addGroup(results); + log->addObject(data); } } } diff --git a/isis/src/control/apps/findfeatures/main.cpp b/isis/src/control/apps/findfeatures/main.cpp index dd75cdc0e5fc82b1857192c04103244f5ba5da93..be727f2cf798e8de59c269a1afd6dbb3e60c9e7c 100644 --- a/isis/src/control/apps/findfeatures/main.cpp +++ b/isis/src/control/apps/findfeatures/main.cpp @@ -33,10 +33,9 @@ void IsisMain() { Application::Log(*grpIt); } - PvlGroup results = appLog.findGroup("Results"); - if( ui.WasEntered("TO") && ui.IsInteractive() ) { + Pvl results; + if( (ui.GetBoolean("LISTALL") || ui.GetBoolean("LISTSPEC")) && ui.IsInteractive() ) { + results.addObject(appLog.findObject("FeatureAlgorithms")); Application::GuiLog(results); } - - SessionLog::TheLog().AddResults(results); }