aboutsummaryrefslogtreecommitdiff
path: root/qc_app/upload
diff options
context:
space:
mode:
Diffstat (limited to 'qc_app/upload')
-rw-r--r--qc_app/upload/rqtl2.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/qc_app/upload/rqtl2.py b/qc_app/upload/rqtl2.py
index 876f17c..04bfa5b 100644
--- a/qc_app/upload/rqtl2.py
+++ b/qc_app/upload/rqtl2.py
@@ -653,7 +653,7 @@ def create_probeset_dataset(species_id: int, population_id: int):#pylint: disabl
"""Create a new probeset dataset."""
errorclasses = "alert-error error-rqtl2 error-rqtl2-create-probeset-dataset"
with database_connection(app.config["SQL_URI"]) as conn:
- def __thunk__():
+ def __thunk__():#pylint: disable=[too-many-return-statements]
form = request.form
summary_page = redirect(url_for("upload.rqtl2.select_dataset_info",
species_id=species_id,
@@ -694,7 +694,7 @@ def create_probeset_dataset(species_id: int, population_id: int):#pylint: disabl
"from list of datasets instead."),
errorclasses)
return summary_page
- except Exception as _exc:
+ except Exception as _exc:# pylint: disable=[broad-except]
app.logger.debug("Error creating ProbeSet dataset: %s",
traceback.format_exc())
flash(("There was a problem creating your dataset. Please try "