Skip to content

Commit

Permalink
Minor bugfixes for the fetchers / test_fetchers.
Browse files Browse the repository at this point in the history
  • Loading branch information
biomadeira committed Sep 25, 2017
1 parent 0731ab3 commit 05d75d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion prointvar/fetchers.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def fetch_uniprot_fasta(identifier, cached=False, retry_in=(429,)):
url = url_root + url_endpoint
b = BioFetcher(url=url, cached=cached,
cache_output="{}_fasta.pkl".format(identifier),
json=True, retry_in=retry_in)
json=False, retry_in=retry_in)
return b.response


Expand Down
2 changes: 1 addition & 1 deletion tests/test_fetchers.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ def fetch_fetch_ensembl_variants_by_id(self):
self.assertTrue(r.ok)

def fetch_fetch_ensembl_sequence_from_id(self):
r = fetch_ensembl_sequence_from_id(self.ensemblid)
r = self.fetch_ensembl_sequence_from_id(self.ensemblid)
self.assertTrue(r.ok)

def test_biofetcher_uniprot_fasta(self):
Expand Down

0 comments on commit 05d75d2

Please sign in to comment.