aboutsummaryrefslogtreecommitdiff
path: root/qc_app
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-04-08 10:04:38 +0300
committerFrederick Muriuki Muriithi2024-04-08 10:04:38 +0300
commitd5833b207185597d63bbc5ff2b0cc0df6df4ab69 (patch)
tree0f8b041ff04c0268523654e0d921eef45068ce29 /qc_app
parent186df2bacd11beae53a0c4562e9dcc72c6d253c8 (diff)
downloadgn-uploader-d5833b207185597d63bbc5ff2b0cc0df6df4ab69.tar.gz
Fix pylint and mypy errors.
Diffstat (limited to 'qc_app')
-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 "