Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
sbooeshaghi committed May 4, 2022
1 parent b971c00 commit 0f20938
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions ffq/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,16 +184,16 @@ def main():
# we want to associate the args.x with the name of X
# not just the true/false associated with args.x
url_args = [{
"url_type": "ftp",
"urltype": "ftp",
"arg": args.ftp
}, {
"url_type": "aws",
"urltype": "aws",
"arg": args.aws
}, {
"url_type": "gcp",
"urltype": "gcp",
"arg": args.gcp
}, {
"url_type": "ncbi",
"urltype": "ncbi",
"arg": args.ncbi
}]

Expand All @@ -211,11 +211,11 @@ def main():
if v["arg"]:
# get run files
found_links = []
findkey(keyed, v["url_type"], found_links)
findkey(keyed, v["urltype"], found_links)
links += found_links

# get supplementary
if v["url_type"] == "ftp":
if v["urltype"] == "ftp":
found_links = []
findkey(keyed, "supplementary_files", found_links)
links += found_links
Expand Down

0 comments on commit 0f20938

Please sign in to comment.