Export BNGL NET file (pysb.export.bng_net
)¶
Module containing a class for getting the BNGL NET file for a given PySB model.
Serves as a wrapper around pysb.bng.generate_network()
, which
generates the BNGL for the model and then invokes BNG to generate the NET file.
For information on how to use the model exporters, see the documentation
for pysb.export
.
-
class
pysb.export.bng_net.
BngNetExporter
(model, docstring=None)[source]¶ A class for generating the BNG NET file for a given PySB model.
Inherits from
pysb.export.Export
, which implements basic functionality for all exporters.-
export
()[source]¶ Generate the BNGL NET file for the PySB model associated with the exporter. A wrapper around
pysb.bng.generate_network()
.Returns: - string
The NET file output for the model, generated by BNG.
-