From f461e4f29a8f32ec954cf858fb21de936f3b325b Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Mon, 7 Oct 2024 15:54:33 -0500 Subject: linting: Fix minor linting issues. --- uploader/phenotypes/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'uploader/phenotypes') diff --git a/uploader/phenotypes/views.py b/uploader/phenotypes/views.py index c7bc965..312179e 100644 --- a/uploader/phenotypes/views.py +++ b/uploader/phenotypes/views.py @@ -236,7 +236,7 @@ def view_phenotype(# pylint: disable=[unused-argument] @with_population( species_redirect_uri="species.populations.phenotypes.index", redirect_uri="species.populations.phenotypes.select_population") -def create_dataset(species: dict, population: dict, **kwargs): +def create_dataset(species: dict, population: dict, **kwargs):# pylint: disable=[unused-argument] """Create a new phenotype dataset.""" with (database_connection(app.config["SQL_URI"]) as conn, conn.cursor(cursorclass=DictCursor) as cursor): @@ -267,7 +267,7 @@ def create_dataset(species: dict, population: dict, **kwargs): dataset_shortname = ( form["dataset-shortname"] or form["dataset-name"]).strip() - pheno_dataset = save_new_dataset( + _pheno_dataset = save_new_dataset( cursor, population["Id"], form["dataset-name"].strip(), -- cgit v1.2.3