From a8330b6d91f3fe660d811b97b19f07fca076fe78 Mon Sep 17 00:00:00 2001 From: Sebastian Wehling-Benatelli Date: Tue, 27 Jan 2015 05:22:06 +0100 Subject: [PATCH] PilotDataStructure's method expandDataPath return the actual datapath as SeiscompDataStructure's does --- pylot/core/read/data.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pylot/core/read/data.py b/pylot/core/read/data.py index 54fcb210..ff58fe9b 100644 --- a/pylot/core/read/data.py +++ b/pylot/core/read/data.py @@ -187,7 +187,10 @@ class PilotDataStructure(object): return self.__pdsFields def expandDataPath(self): - return + datapath = os.path.join(self.getFields()['ROOT'], + self.getFields()['DATABASE'], + "*{0}".format(self.getFields()['SUFFIX'])) + return datapath class SeiscompDataStructure(object): '''