From a4f948fd765a85cb84eef67639c8cc11db81a0d1 Mon Sep 17 00:00:00 2001 From: Sebastian Wehling Date: Tue, 11 Feb 2014 13:21:05 +0100 Subject: [PATCH] modified initialization method of GenericDataBase class --- pylot/core/readdata/types.py | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/pylot/core/readdata/types.py b/pylot/core/readdata/types.py index eed500c7..811d8f6f 100644 --- a/pylot/core/readdata/types.py +++ b/pylot/core/readdata/types.py @@ -5,9 +5,19 @@ # EGELADOS structure. # +import os + + class GenericDataBase(object): - def __init__(self, root=None, kwargs**): - pass + ''' + GenericDataBase type holds all information about the current data- + base working on. + ''' + def __init__(self, stexp=None, **kwargs): + structExpression = os.path.split(stexp) + self.dataBaseDict = kwargs + + class SeiscompDataStructure(GenericDataBase):