def from_statements_file(cls, file: str):
        """ Construct an AnalysisGraph object from a pickle file containing a
        list of INDRA statements. """

        with open(file, "rb") as f:
            sts = pickle.load(f)

        return cls.from_statements(sts)
def from_statements_file ( cls , file : str ) : with open ( file , "rb" ) as f : sts = pickle . load ( f ) return cls . from_statements ( sts )
Construct an AnalysisGraph object from a pickle file containing a
        list of INDRA statements.