New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
update DependencyGraph service #17492
update DependencyGraph service #17492
Conversation
fwyzard
commented
Feb 11, 2017
- show plugin class in tooltip (SVG only)
- highlight a list of modules
please test |
The tests are being triggered in jenkins. |
A new Pull Request was created by @fwyzard (Andrea Bocci) for CMSSW_9_0_X. It involves the following packages: FWCore/Services @cmsbuild, @smuzaffar, @Dr15Jones, @davidlange6 can you please review it and eventually sign? Thanks. cms-bot commands are listed here #13028 |
I would like to add a helper function for this and similar services, to extract the list of modules from a sequence: def modules_in_sequences(* sequences):
from FWCore.ParameterSet.SequenceTypes import ModuleNodeVisitor
modules = []
for sequence in sequences:
sequence.visit(ModuleNodeVisitor(modules))
return [ module.label() for module in modules ] Any suggestions where it should go ? |
Comparison job queued. |
@fwyzard I guess the helper function could go into FWCore.ParameterSet.Utilities? |
Pull request #17492 was updated. @cmsbuild, @smuzaffar, @Dr15Jones, @davidlange6 can you please check and sign again. |
please test |
The tests are being triggered in jenkins. |
please test |
The tests are being triggered in jenkins. |
Pull request #17492 was updated. @cmsbuild, @smuzaffar, @Dr15Jones, @davidlange6 can you please check and sign again. |
@Dr15Jones do you think the python is OK ? |
Comparison job queued. |
After the Task PR is integrated, the function (modulesInSequences) as written will already would work just fine if you put tasks in the list passed in as an argument. In addition, if there are tasks associated with a sequence the visitor will already visit the modules on those associated tasks if the sequence is passed in as an argument. You might consider renaming the function, but other than that it should just work. |
One other comment. After the Task PR is merged, the output list of modulesInSequences could contain ESProducers, ESSources and Services even when it is run on a Sequence because of the potential of tasks associated to the sequence. I have not looked at how that output list is used or whether that might cause problems. |
+1 |
This pull request is fully signed and it will be integrated in one of the next CMSSW_9_0_X IBs (tests are also fine). This pull request requires discussion in the ORP meeting before it's merged. @davidlange6, @smuzaffar |
Hi David, thanks for the comment. |
+1 |