From 6d54a776654d31b646350cf9c282ce6f1e8c84c0 Mon Sep 17 00:00:00 2001 From: Dylan Welzel Date: Thu, 18 Apr 2024 15:48:04 -0700 Subject: [PATCH] fix url string --- src/hub/dataload/sources/umls/umls_parser.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/hub/dataload/sources/umls/umls_parser.py b/src/hub/dataload/sources/umls/umls_parser.py index 0c08bf7..3de9d95 100644 --- a/src/hub/dataload/sources/umls/umls_parser.py +++ b/src/hub/dataload/sources/umls/umls_parser.py @@ -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(