Skip to content

Commit

Permalink
Merge pull request #250 from JoshLoecker/db2db_logging
Browse files Browse the repository at this point in the history
Updated logging instance
  • Loading branch information
cokelaer authored Mar 8, 2023
2 parents d98117c + 402bef2 commit 5c5739c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bioservices/biodbnet.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"):
Expand Down Expand Up @@ -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)

Expand Down

0 comments on commit 5c5739c

Please sign in to comment.