Пример #1
0
 def __init__(self, name, basedir, pattern):
     self.castorDir = '/'.join([basedir, name])
     if not castortools.isEOSDir(self.castorDir):
         raise ValueError('directory should be a directory on EOS.')
     super(EOSDataset, self).__init__( name, 'EOS', pattern)
Пример #2
0
 def __init__(self, name, basedir, pattern):
     self.castorDir = '/'.join([basedir, name])
     if not castortools.isEOSDir(self.castorDir):
         raise ValueError('directory should be a directory on EOS.')
     super(EOSDataset, self).__init__(name, 'EOS', pattern)
Пример #3
0
 def __init__(self, directory, pattern):
     self.castorDir = directory
     if not castortools.isEOSDir(self.castorDir):
         raise ValueError('directory should be a directory on EOS.')
     name = directory
     super(EOSDataset, self).__init__( name, 'EOS', pattern)