Skip to content

Commit

Permalink
Fix biomart logger
Browse files Browse the repository at this point in the history
  • Loading branch information
cokelaer committed May 23, 2022
1 parent 66adac2 commit 7398f51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bioservices/biomart.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,10 +256,10 @@ def _set_format(self, format):

def _init(self):
temp = self.logging.level
self.logging.level = "ERROR"
self.logging.setLevel("ERROR")
_ = self.lookfor("uniprot", verbose=False)
_ = self.valid_attributes
self.logging.level = temp
self.logging.setLevel(temp)

@require_host
def registry(self):
Expand Down

0 comments on commit 7398f51

Please sign in to comment.