diff options
Diffstat (limited to 'uploader/phenotypes/views.py')
-rw-r--r-- | uploader/phenotypes/views.py | 4 |
1 files changed, 2 insertions, 2 deletions
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(), |