Skip to content

Commit

Permalink
Merge pull request #74 from churchmanlab/pc_https
Browse files Browse the repository at this point in the history
Update URLs to HTTPS
  • Loading branch information
bgyori authored May 20, 2024
2 parents ff9e9d1 + 908fc14 commit 22757dd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions genewalk/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ def __init__(self, base_folder=None):
def get_go_obo(self):
fname = os.path.join(self.resource_folder, 'go.obo')
if not os.path.exists(fname):
url = 'http://snapshot.geneontology.org/ontology/go.obo'
url = 'https://snapshot.geneontology.org/ontology/go.obo'
download_url(url, fname)
return fname

def get_goa_gaf(self):
fname = os.path.join(self.resource_folder, 'goa_human.gaf')
if not os.path.exists(fname):
url_goa = ('http://geneontology.org/gene-associations/'
url_goa = ('https://geneontology.org/gene-associations/'
'goa_human.gaf.gz')
download_gz(fname, url_goa)
return fname
Expand All @@ -39,7 +39,7 @@ def get_pc(self):
fname = os.path.join(self.resource_folder,
'PathwayCommons12.All.hgnc.sif')
if not os.path.exists(fname):
url_pc = ('http://www.pathwaycommons.org/archives/PC2/v12/'
url_pc = ('https://www.pathwaycommons.org/archives/PC2/v12/'
'PathwayCommons12.All.hgnc.sif.gz')
download_gz(fname, url_pc)
self._replace_outdated_hgnc_symbols(fname,fname_current)
Expand All @@ -48,7 +48,7 @@ def get_pc(self):
def get_mgi_entrez(self):
fname = os.path.join(self.resource_folder, 'MGI_EntrezGene.rpt')
if not os.path.exists(fname):
url = 'http://www.informatics.jax.org/downloads/reports/' \
url = 'https://www.informatics.jax.org/downloads/reports/' \
'MGI_EntrezGene.rpt'
download_url(url, fname)
return fname
Expand Down

0 comments on commit 22757dd

Please sign in to comment.