Skip to content

Commit

Permalink
fix url string
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanWelzel committed Apr 18, 2024
1 parent 5d126b0 commit 6d54a77
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/hub/dataload/sources/umls/umls_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,7 @@ def get_download_url():
url = rows[2].find_all("td")[0].a["href"]
logger.info(f"Found UMLS download url: {url}")
# Create the url using the api aky
url = f"https://uts-ws.nlm.nih.gov/download?url={
url}&apiKey={UMLS_API_KEY}"
url = f"https://uts-ws.nlm.nih.gov/download?url={url}&apiKey={UMLS_API_KEY}"
return url
except Exception as e:
raise ParserException(
Expand Down

0 comments on commit 6d54a77

Please sign in to comment.