@@ -699,31 +699,6 @@ namespace edm {
699699 });
700700 }
701701 }
702-
703- // Print conditional modules that were not consumed in any of their associated Paths
704- if (not conditionalModules.empty ()) {
705- // Intersection of unscheduled and ConditionalTask modules gives
706- // directly the set of conditional modules that were not
707- // consumed by anything in the Paths associated to the
708- // corresponding ConditionalTask.
709- std::vector<std::string_view> labelsToPrint;
710- std::copy_if (
711- unscheduledLabels.begin (),
712- unscheduledLabels.end (),
713- std::back_inserter (labelsToPrint),
714- [&conditionalModules](auto const & lab) { return conditionalModules.find (lab) != conditionalModules.end (); });
715-
716- if (not labelsToPrint.empty ()) {
717- edm::LogWarning log (" NonConsumedConditionalModules" );
718- log << " The following modules were part of some ConditionalTask, but were not\n "
719- << " consumed by any other module in any of the Paths to which the ConditionalTask\n "
720- << " was associated. Perhaps they should be either removed from the\n "
721- << " job, or moved to a Task to make it explicit they are unscheduled.\n " ;
722- for (auto const & modLabel : labelsToPrint) {
723- log.format (" \n {}" , modLabel);
724- }
725- }
726- }
727702 // we want the unscheduled modules at the beginning of the allNeededModules list
728703 allNeededModules_.insert (allNeededModules_.begin (), unscheduledModules_.begin (), unscheduledModules_.end ());
729704 }
0 commit comments