comparison 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
comparison
equal deleted inserted replaced
101:f254f74d6b14 102:fae326c22df5
584 584
585 FeatureExtractionManager manager; 585 FeatureExtractionManager manager;
586 586
587 if (!requestedSummaryTypes.empty()) { 587 if (!requestedSummaryTypes.empty()) {
588 if (!manager.setSummaryTypes(requestedSummaryTypes, 588 if (!manager.setSummaryTypes(requestedSummaryTypes,
589 summaryOnly,
590 boundaries)) { 589 boundaries)) {
591 cerr << myname.toStdString() 590 cerr << myname.toStdString()
592 << ": failed to set requested summary types" << endl; 591 << ": failed to set requested summary types" << endl;
593 exit(1); 592 exit(1);
594 } 593 }
595 } 594 }
595
596 manager.setSummariesOnly(summaryOnly);
596 597
597 vector<FeatureWriter *> writers; 598 vector<FeatureWriter *> writers;
598 599
599 for (set<string>::const_iterator i = requestedWriterTags.begin(); 600 for (set<string>::const_iterator i = requestedWriterTags.begin();
600 i != requestedWriterTags.end(); ++i) { 601 i != requestedWriterTags.end(); ++i) {