MCPcopy Create free account
hub / github.com/Cantera/cantera / from_input

Method from_input

test/python/test_reaction.py:189–195  ·  view source on GitHub ↗
(self, input=None)

Source from the content-addressed store, hash-verified

187 return self.finalize(self._cls(**self._parts))
188
189 def from_input(self, input=None):
190 # create reaction rate object from input_data
191 if input is None:
192 input = self._input
193 else:
194 assert isinstance(input, dict)
195 return self.finalize(self._cls(input_data=input))
196
197 def from_yaml(self):
198 # create reaction rate object from yaml

Callers 2

test_from_inputMethod · 0.95
test_unconfiguredMethod · 0.95

Calls 1

finalizeMethod · 0.95

Tested by

no test coverage detected