コード例 #1
0
ファイル: hdf_archive.py プロジェクト: dhirschm/triqs
 def __init__(self, parent, subpath) :
     self.options = parent.options
     HDFArchiveGroupBasicLayer.__init__(self, parent, subpath)
     self.options = parent.options
     self.key_as_string_only = self.options['key_as_string_only']
     self._reconstruct_python_objects = self.options['reconstruct_python_object']
     self.is_top_level = False
コード例 #2
0
 def __init__(self, parent, subpath):
     self.options = parent.options
     HDFArchiveGroupBasicLayer.__init__(self, parent, subpath)
     self.options = parent.options
     self.key_as_string_only = self.options['key_as_string_only']
     self._reconstruct_python_objects = self.options[
         'reconstruct_python_object']
     self.is_top_level = False
コード例 #3
0
ファイル: hdf_archive.py プロジェクト: krivenko/triqs
 def __init__(self, parent, subpath) :
     # We want to hold a reference to the parent group, if we are not at the root
     # This will prevent a premature destruction of the root HDFArchive object
     if not self is parent: self.parent = parent
     self.options = parent.options
     HDFArchiveGroupBasicLayer.__init__(self, parent, subpath)
     self.options = parent.options
     self.key_as_string_only = self.options['key_as_string_only']
     self._reconstruct_python_objects = self.options['reconstruct_python_object']
     self.is_top_level = False
コード例 #4
0
 def __init__(self, parent, subpath):
     # We want to hold a reference to the parent group, if we are not at the root
     # This will prevent a premature destruction of the root HDFArchive object
     if not self is parent: self.parent = parent
     self.options = parent.options
     HDFArchiveGroupBasicLayer.__init__(self, parent, subpath)
     self.options = parent.options
     self.key_as_string_only = self.options['key_as_string_only']
     self._reconstruct_python_objects = self.options[
         'reconstruct_python_object']
     self.is_top_level = False