diff runner/main.cpp @ 102:fae326c22df5

Fix failure to support summary-only flag when reading transforms with summaries from a transform file
author Chris Cannam
date Wed, 01 Oct 2014 14:55:17 +0100
parents 03b1d83fca29
children de76b2df518f 74f7ad72fee6
line wrap: on
line diff
--- a/runner/main.cpp	Wed Oct 01 14:54:58 2014 +0100
+++ b/runner/main.cpp	Wed Oct 01 14:55:17 2014 +0100
@@ -586,13 +586,14 @@
 
     if (!requestedSummaryTypes.empty()) {
         if (!manager.setSummaryTypes(requestedSummaryTypes,
-                                     summaryOnly,
                                      boundaries)) {
             cerr << myname.toStdString()
                  << ": failed to set requested summary types" << endl;
             exit(1);
         }
     }
+
+    manager.setSummariesOnly(summaryOnly);
     
     vector<FeatureWriter *> writers;