aboutsummaryrefslogtreecommitdiff
path: root/uploader/genotypes
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-09-25 12:10:38 -0500
committerFrederick Muriuki Muriithi2024-09-25 12:11:58 -0500
commit0c8642d08f88d2dcf8e82a7b58c9922e01c20102 (patch)
tree580f74ec32cb331b638b87eac3efbad94be8b38a /uploader/genotypes
parent4c9470646627a7b8d454d87984016cfa6c53059c (diff)
downloadgn-uploader-0c8642d08f88d2dcf8e82a7b58c9922e01c20102.tar.gz
Lint: Fix myriad of linting issues
Diffstat (limited to 'uploader/genotypes')
-rw-r--r--uploader/genotypes/views.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/uploader/genotypes/views.py b/uploader/genotypes/views.py
index f79caba..3c20b52 100644
--- a/uploader/genotypes/views.py
+++ b/uploader/genotypes/views.py
@@ -78,7 +78,7 @@ def select_population(species: dict, species_id: int):
@require_login
@with_population(species_redirect_uri="species.populations.genotypes.index",
redirect_uri="species.populations.genotypes.select_population")
-def list_genotypes(species: dict, population: dict, **kwargs):
+def list_genotypes(species: dict, population: dict, **kwargs):# pylint: disable=[unused-argument]
"""List genotype details for species and population."""
with database_connection(app.config["SQL_URI"]) as conn:
return render_template("genotypes/list-genotypes.html",
@@ -97,7 +97,7 @@ def list_genotypes(species: dict, population: dict, **kwargs):
@genotypesbp.route("/<int:species_id>/genotypes/list-markers", methods=["GET"])
@require_login
@with_species(redirect_uri="species.populations.genotypes.index")
-def list_markers(species: dict, **kwargs):
+def list_markers(species: dict, **kwargs):# pylint: disable=[unused-argument]
"""List a species' genetic markers."""
with database_connection(app.config["SQL_URI"]) as conn:
start_from = max(safe_int(request.args.get("start_from") or 0), 0)