From d170a47d9dd838822cf5c8869aca6dc8aef76722 Mon Sep 17 00:00:00 2001 From: Dainius Date: Sun, 10 Mar 2024 16:37:52 +0200 Subject: [PATCH] too long lines --- data_collection/tools.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/data_collection/tools.py b/data_collection/tools.py index 16904a6..f89fc5d 100644 --- a/data_collection/tools.py +++ b/data_collection/tools.py @@ -309,14 +309,17 @@ def store_database_for_eys_gene(database_name, override=False): DATABASES_DOWNLOAD_PATHS = { "clinvar": { - "button": 'document.getElementsByName(\"EntrezSystem2.PEntrez.clinVar.clinVar_Entrez_ResultsPanel.Entrez_DisplayBar.SendToSubmit\")[0].click()', + "button": 'document.getElementsByName(\"EntrezSystem2.PEntrez.clinVar.' + 'clinVar_Entrez_ResultsPanel.Entrez_DisplayBar.SendToSubmit\")[0].click()', "url": CLINVAR_URL_EYS, "store_as": "clinvar_data.txt", - "clickable": "/html/body/div[1]/div[1]/form/div[1]/div[5]/div/div[2]/div[2]/div[1]/div/div[1]/a[3]", + "clickable": "/html/body/div[1]/div[1]/form/div[1]/div[5]/div/div[2]/" + "div[2]/div[1]/div/div[1]/a[3]", "function": download_database_for_eys_gene }, "gnomad": { - "button":"document.getElementsByClassName('Button__BaseButton-sc-1eobygi-0 Button-sc-1eobygi-1 indcWT')[4].click()", + "button":"document.getElementsByClassName" + "('Button__BaseButton-sc-1eobygi-0 Button-sc-1eobygi-1 indcWT')[4].click()", "url": GNOMAD_URL_EYS, "store_as": "gnomad_data.csv", "clickable": "/html/body/div[1]/div[3]/div[2]/div/div[7]/div[4]/div[2]/button[1]",