Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • athena athena
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Jira
    • Jira
  • Merge requests 135
    • Merge requests 135
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Issue
    • Repository
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • atlas
  • athenaathena
  • Merge requests
  • !30633

Title and Path Templates

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Charles Burton requested to merge cburton/athena:master-PathAndTitleKeys into master Feb 25, 2020
  • Overview 8
  • Commits 2
  • Pipelines 2
  • Changes 5

This adds the functionality request in https://its.cern.ch/jira/browse/ATLASDQ-748.

Users can write commands like array1D.defineHistogram('c', title='Plot of c for {0}', path='Keys/') or array2D.defineHistogram('c', title='Plot of c for {1} and {0}', path='Keys/{1}', xmax=3.)

File Changes
AthMonitorCfgHelper.py Fix a small error in the documentation.
ExampleMonitorAlgorithm.py Add examples for title template and path template.
GenericMonitoringTool.py For each group in the array, store a tuple of the location of this histogram along each dimension. Create formatted titles and paths for each histogram. Add error message during a variable check. Helper function to determine histogram alias (to avoid same code in two places).
GenericMonCreation_test.py New unit test to check python side of GenericMonitoringTool and GenericMonitoringArray.
test_defineHistogram.py Fixed bug in test_offlineNamingConvention and added unit test for new helper function.

@ponyisi

Edited Feb 27, 2020 by Charles Burton
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: master-PathAndTitleKeys