Skip to content

Commit

Permalink
Debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
lauraluebbert committed May 25, 2024
1 parent 4542358 commit ea509c8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion gget/gget_ref.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,9 +236,14 @@ def ref(
else:
gtf_search_url = database + f"release-{ENS_rel}/gtf/{species}/"

if grch37:
link_substring="GRCh37.87.gtf.gz"
else:
link_substring=f"{ENS_rel}.gtf.gz"

# Get link, release date and dataset size
gtf_str, gtf_date, gtf_size = find_FTP_link(
url=gtf_search_url, link_substring=f"{ENS_rel}.gtf.gz"
url=gtf_search_url, link_substring=link_substring
)
# Build the final download link
if not isinstance(gtf_str, type(None)):
Expand Down

0 comments on commit ea509c8

Please sign in to comment.