Skip to content
Snippets Groups Projects
Commit cde11f98 authored by amete's avatar amete
Browse files

PerfMonAna: Bug-fix in pmontree.py

parent 2a1a6d6b
6 merge requests!58791DataQualityConfigurations: Modify L1Calo config for web display,!46784MuonCondInterface: Enable thread-safety checking.,!46776Updated LArMonitoring config file for WD to match new files produced using MT,!45405updated ART test cron job,!42417Draft: DIRE and VINCIA Base Fragments for Pythia 8.3,!38852PerformanceMonitoring: First batch of cmake, flake8, clean-up updates
...@@ -425,7 +425,8 @@ def main(): ...@@ -425,7 +425,8 @@ def main():
if opt.min is not None: if opt.min is not None:
# Use VMem or self-VMem for filtering # Use VMem or self-VMem for filtering
def vmem( c ): def vmem( c ):
c.dvmem_self if (opt.self is True and hasattr(c,'dvmem_self')) else c.dvmem result = c.dvmem_self if (opt.self is True and hasattr(c,'dvmem_self')) else c.dvmem
return result
for r in resTree: for r in resTree:
r.show(lambda c: vmem(c)>opt.min) r.show(lambda c: vmem(c)>opt.min)
else: else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment