mirror of
https://github.com/stijndcl/didier.git
synced 2026-04-07 15:48:29 +02:00
Update compbio leaderboard to assignment 4
This commit is contained in:
parent
b156f90ea0
commit
0151913e61
3 changed files with 10 additions and 14 deletions
|
|
@ -91,9 +91,10 @@ class SchoolSlash(commands.Cog):
|
|||
|
||||
@_compbio_group.command(name="leaderboard", description="Gesorteerd en ingevuld leaderboard")
|
||||
async def _compbio_lb_slash(self, ctx: ApplicationContext,
|
||||
benchmark: Option(int, "De specifieke benchmark om op te halen (default k=600)", choices=[6, 10, 50, 600], default=600)):
|
||||
benchmark: Option(str, "De specifieke benchmark om op te halen (default 10000-10)", choices=["100-10", "100-100", "1000-100", "10000-10"], default="10000-10")):
|
||||
await ctx.response.defer()
|
||||
lb = leaderboards.CompbioLeaderboard(ctx, kmer=benchmark)
|
||||
size, amount = benchmark.split("-")
|
||||
lb = leaderboards.CompbioLeaderboard(ctx, size=size, amount=amount)
|
||||
await lb.respond()
|
||||
|
||||
@_compbio_group.command(name="submit", description="Link een Dodona-submission aan jouw username")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue