From fd9f90220b400dd5c9e4a79bbbd8f4df51e9023d Mon Sep 17 00:00:00 2001
From: scott snyder <sss@karma>
Date: Wed, 7 Oct 2020 00:05:43 -0400
Subject: [PATCH] AthenaPython: Root 6.22 fix.

New pyroot spells template specializations with [], not ().
---
 Control/AthenaPython/python/FilePeekerLib.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Control/AthenaPython/python/FilePeekerLib.py b/Control/AthenaPython/python/FilePeekerLib.py
index 8862a188bbc..41a0f4f7a2e 100644
--- a/Control/AthenaPython/python/FilePeekerLib.py
+++ b/Control/AthenaPython/python/FilePeekerLib.py
@@ -231,7 +231,7 @@ class FilePeeker(PyAthena.Alg):
                     spec   = a.specification()
                     a_type = spec.typeName()
                     if a_type.find('string') >= 0:
-                        a_data = a.data('string')()
+                        a_data = a.data['string']()
                         try:
                             a_data = eval(a_data,{},{})
                         except Exception:
-- 
GitLab