(self)
| 1247 | species=self.species, reactions=[rxn], adjacent=self.adj) |
| 1248 | |
| 1249 | def test_replace_rate(self): |
| 1250 | # check replacing reaction rate expression |
| 1251 | if self._yaml is not None: |
| 1252 | rxn = self.from_yaml() |
| 1253 | else: |
| 1254 | rxn = self.from_rate(self._rate_obj) |
| 1255 | rxn = self.from_empty() |
| 1256 | rxn.rate = self._rate_obj |
| 1257 | self.check_rxn(rxn) |
| 1258 | |
| 1259 | def test_roundtrip(self): |
| 1260 | # check round-trip instantiation via input_data |
nothing calls this directly
no test coverage detected