def __init__(self, database_file):
        """Sets up and plots reaction networks.
        :type database_file: basestring
        """

        if not os.path.isfile(database_file):
            raise FileNotFoundError(
                errno.ENOENT, os.strerror(errno.ENOENT), database_file)

        self.db = database_file
        self.df_from_db = db_to_df(database_file)
        self.intermediates = None
        self.use_standard_conditions()
        self.set_corrections()
def __init__ ( self , database_file ) : if not os . path . isfile ( database_file ) : raise FileNotFoundError ( errno . ENOENT , os . strerror ( errno . ENOENT ) , database_file ) self . db = database_file self . df_from_db = db_to_df ( database_file ) self . intermediates = None self . use_standard_conditions ( ) self . set_corrections ( )
Sets up and plots reaction networks.
        :type database_file: basestring