Skip to content

Commit 6abcae3

Browse files
committed
flanky gencode connection
1 parent 80d7a4c commit 6abcae3

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

genomepy/providers/gencode.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def __init__(self):
4646
@staticmethod
4747
def ping():
4848
"""Can the provider be reached?"""
49-
ftp_online = bool(check_url("ftp://ftp.ebi.ac.uk/pub/databases/gencode"))
49+
ftp_online = bool(check_url("ftp://ftp.ebi.ac.uk/pub/databases/gencode", 2))
5050
return ftp_online
5151

5252
def _genome_info_tuple(self, name, size=False):

tests/test_08b_provider_gencode.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def test_get_annotation_download_links(gencode):
5959

6060
@pytest.mark.skipif(travis and linux, reason="FTP does not work on Travis-Linux")
6161
def test_download_annotation(gencode):
62-
gencode.download_annotation("GRCm39") # smallest gencode annotation (0.8 GB)
62+
gencode.download_annotation("GRCm38") # smallest gencode annotation (27 MB)
6363

6464

6565
def test_get_gencode2ucsc():

0 commit comments

Comments
 (0)