#NEWLINE# def export( self ) : #NEWLINE# #INDENT# 'Generate the BNGL NET file for the PySB model associated with\n        the exporter. A wrapper around :py:func:`pysb.bng.generate_network`.\n\n        Returns\n        -------\n        string\n            The NET file output for the model, generated by BNG.\n        ' #NEWLINE# net_str = '' #NEWLINE# if self . docstring : #NEWLINE# #INDENT# net_str += ( ( '# ' + self . docstring . replace ( '\n' , '\n# ' ) ) + '\n' ) #NEWLINE# #UNINDENT# net_str += generate_network ( self . model , append_stdout = True ) #NEWLINE# return self