From 97d533e04f01ea6b3ce139b1d67ff9502c7f2a76 Mon Sep 17 00:00:00 2001 From: stijndcl Date: Thu, 31 Mar 2022 20:21:34 +0200 Subject: [PATCH] Fix url --- data/menus/leaderboards.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/menus/leaderboards.py b/data/menus/leaderboards.py index 1680568..1a912db 100644 --- a/data/menus/leaderboards.py +++ b/data/menus/leaderboards.py @@ -143,7 +143,7 @@ class CompbioLeaderboard(Leaderboard): return f"[# {submission_id}]" def get_data(self) -> list[tuple]: - url = f"https://github.ugent.be/raw/computationele-biologie/benchmarks-2022/tree/main/profile_hmm/size{self.size}-amount{self.amount}.md" + url = f"https://github.ugent.be/raw/computationele-biologie/benchmarks-2022/main/profile_hmm/size{self.size}-amount{self.amount}.md" headers = {"Authorization": f"token {settings.UGENT_GH_TOKEN}"} result = requests.get(url, headers=headers).text