diff --git a/bionty/_bionty.py b/bionty/_bionty.py index 5ed610df..8a1ab57f 100644 --- a/bionty/_bionty.py +++ b/bionty/_bionty.py @@ -97,7 +97,7 @@ def __repr__(self) -> str: f"{self.__class__.__name__}\n" f"Species: {self.species}\n" f"Source: {self.source}, {self.version}\n" - f"#terms: {self._df.shape[0]}\n\n" + f"#terms: {self.df().shape[0]}\n\n" f"📖 {self.__class__.__name__}.df(): ontology reference table\n" f"🔎 {self.__class__.__name__}.lookup(): autocompletion of terms\n" f"🎯 {self.__class__.__name__}.search(): free text search of terms\n"