コード例 #1
0
ファイル: experimentdesign.py プロジェクト: helixyte/TheLMA
 def __init__(self, stream, parent=None):
     ExcelMoleculeDesignPoolLayoutParser.__init__(self, stream, parent=parent)
     #: The names of the sheets to be parsed (set by the handler).
     self.sheet_names = None
     #: A list of all tag predicates (factors) found in the file (to
     #: detect duplicates).
     self.tag_predicates = set()
コード例 #2
0
ファイル: isorequest.py プロジェクト: helixyte/TheLMA
 def reset(self):
     """
     Reset the values that have not been set by the handler.
     """
     ExcelMoleculeDesignPoolLayoutParser.reset(self)
     self.metadata_value_map = None
     self.parameter_map = None
コード例 #3
0
 def reset(self):
     """
     Reset the values that have not been set by the handler.
     """
     ExcelMoleculeDesignPoolLayoutParser.reset(self)
     self.metadata_value_map = None
     self.parameter_map = None
コード例 #4
0
ファイル: experimentdesign.py プロジェクト: papagr/TheLMA
 def __init__(self, stream, parent=None):
     ExcelMoleculeDesignPoolLayoutParser.__init__(self,
                                                  stream,
                                                  parent=parent)
     #: The names of the sheets to be parsed (set by the handler).
     self.sheet_names = None
     #: A list of all tag predicates (factors) found in the file (to
     #: detect duplicates).
     self.tag_predicates = set()
コード例 #5
0
ファイル: isorequest.py プロジェクト: helixyte/TheLMA
 def __init__(self, stream, parent=None):
     ExcelMoleculeDesignPoolLayoutParser.__init__(self, stream,
                                                  parent=parent)
     self.layouts_have_specifiers = False
     # I. Tag-related values.
     #: The tag predicate for molecule design tags (set by the handler).
     self.molecule_design_parameter = None
     #: The parameters that might be specified by layouts (with their
     #: predicates and aliases mapped onto the parameter name).
     self.layout_parameters = None
     #: List of optional parameters that do not have to be specified
     #: (set by the handler).
     self.optional_parameters = None
     # II. Metadata-related values (set by the handler).
     #: List of valid meta data specifiers (list of :class:`string`).
     self.allowed_metadata = None
     #: List of required meta data specifiers
     self.required_metadata = None
     # III. Storage of the parsed data
     #: Stores the values for the ISO metadata.
     self.metadata_value_map = dict()
     #: Stores the :class:`_ParameterContainer` for each allowed parameter.
     self.parameter_map = dict()
コード例 #6
0
 def __init__(self, stream, parent=None):
     ExcelMoleculeDesignPoolLayoutParser.__init__(self,
                                                  stream,
                                                  parent=parent)
     self.layouts_have_specifiers = False
     # I. Tag-related values.
     #: The tag predicate for molecule design tags (set by the handler).
     self.molecule_design_parameter = None
     #: The parameters that might be specified by layouts (with their
     #: predicates and aliases mapped onto the parameter name).
     self.layout_parameters = None
     #: List of optional parameters that do not have to be specified
     #: (set by the handler).
     self.optional_parameters = None
     # II. Metadata-related values (set by the handler).
     #: List of valid meta data specifiers (list of :class:`string`).
     self.allowed_metadata = None
     #: List of required meta data specifiers
     self.required_metadata = None
     # III. Storage of the parsed data
     #: Stores the values for the ISO metadata.
     self.metadata_value_map = dict()
     #: Stores the :class:`_ParameterContainer` for each allowed parameter.
     self.parameter_map = dict()