553eadcf279196f993ed07d81c274ea2090ac097,pysb/simulator/stochkit.py,StochKitSimulator,_run_stochkit,#StochKitSimulator#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,105
Before Change
// Export model file
with open(fname, "w") as f:
f.write(StochKitExporter(self._model).export(
self.initials[i], self.param_values[i]))
// Assemble the argument list
args = "--model {} --out-dir {} -t {:f} -i {:d}".format(
After Change
prefix_outdir = os.path.join(self._outdir, "output_{}".format(i))
// Export model file
stoch_xml = StochKitExporter(self._model).export(
self.initials[i], self.param_values[i])
self._logger.log(EXTENDED_DEBUG, "StochKit XML:\n" + stoch_xml)
with open(fname, "w") as f:
f.write(stoch_xml)
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 3
Instances
Project Name: pysb/pysb
Commit Name: 553eadcf279196f993ed07d81c274ea2090ac097
Time: 2017-07-24
Author: alubbock@users.noreply.github.com
File Name: pysb/simulator/stochkit.py
Class Name: StochKitSimulator
Method Name: _run_stochkit
Project Name: pysb/pysb
Commit Name: ea1ae663f3d1f4d7c4c0c6f969f8f596891662b8
Time: 2018-06-07
Author: code@alexlubbock.com
File Name: pysb/tests/test_exporters.py
Class Name:
Method Name: check_convert
Project Name: apache/incubator-mxnet
Commit Name: e2366e9102e6862416bf998af52baaa5e9c0a31b
Time: 2020-07-15
Author: lausen@amazon.com
File Name: tests/python/gpu/test_gluon_gpu.py
Class Name:
Method Name: test_symbol_block_fp16
Project Name: apache/incubator-mxnet
Commit Name: e2366e9102e6862416bf998af52baaa5e9c0a31b
Time: 2020-07-15
Author: lausen@amazon.com
File Name: tests/python/unittest/test_gluon.py
Class Name:
Method Name: test_symbol_block
Project Name: apache/incubator-mxnet
Commit Name: 5dc404dfb0cb5e9a034c9db5d58721e15791ad33
Time: 2020-11-19
Author: lausen@amazon.com
File Name: tests/python/unittest/test_extensions.py
Class Name:
Method Name: test_subgraph