From 402bef26da198352939fd22e283e6e7dbff0e412 Mon Sep 17 00:00:00 2001 From: Josh Loecker Date: Fri, 3 Mar 2023 14:47:53 -0600 Subject: [PATCH] Use `self.services.logging` when logging in db2db() and dbReport --- src/bioservices/biodbnet.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bioservices/biodbnet.py b/src/bioservices/biodbnet.py index d2396a5..c950925 100644 --- a/src/bioservices/biodbnet.py +++ b/src/bioservices/biodbnet.py @@ -146,7 +146,7 @@ def db2db(self, input_db, output_db, input_values, taxon=9606): df.index.name = input_db return df except Exception as err: - self.logging.error(err) + self.services.logging.error(err) return request def dbFind(self, output_db, input_values, taxon="9606"): @@ -254,7 +254,7 @@ def dbReport(self, input_db, input_values, taxon=9606): df.index.name = input_db return df except Exception as err: - self.logging.error(err) + self.services.logging(err) return request inputValues = self._interpret_input_db(inputValues)