From 0064d22b5431b80279772926aa7ba44702a2f0a4 Mon Sep 17 00:00:00 2001 From: Sunny Sun <38218185+sunnyosun@users.noreply.github.com> Date: Mon, 17 Jul 2023 12:48:49 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20Fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bionty/_bionty.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"