From 3cb73fb9483d8a3f77bc01c798303f87af4890ed Mon Sep 17 00:00:00 2001 From: Sebastian Wehling-Benatelli Date: Wed, 10 Jun 2015 15:41:37 +0200 Subject: [PATCH] alternative for storing event data (discussable) --- pylot/core/read/data.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pylot/core/read/data.py b/pylot/core/read/data.py index 07002e0f..1640a764 100644 --- a/pylot/core/read/data.py +++ b/pylot/core/read/data.py @@ -247,6 +247,9 @@ class GenericDataStructure(object): expandList.append('*%s' % self.getFieldValue('suffix')) return os.path.join(*expandList) + def getCatalogName(self): + return os.path.join(self.getFieldValue('root'), 'catalog.qml') + class PilotDataStructure(GenericDataStructure): '''