From d904748a0c8c35d937c6e56fadc7ba52b9f43634 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Mon, 8 Apr 2024 09:26:17 +0300 Subject: bug: Handle IntegrityError: Studies cannot have same name. --- .../templates/rqtl2/select-probeset-study-id.html | 7 +++--- qc_app/upload/rqtl2.py | 28 ++++++++++++++-------- 2 files changed, 22 insertions(+), 13 deletions(-) diff --git a/qc_app/templates/rqtl2/select-probeset-study-id.html b/qc_app/templates/rqtl2/select-probeset-study-id.html index 23bbbf0..e9a5c13 100644 --- a/qc_app/templates/rqtl2/select-probeset-study-id.html +++ b/qc_app/templates/rqtl2/select-probeset-study-id.html @@ -1,5 +1,5 @@ {%extends "base.html"%} -{%from "flash_messages.html" import flash_messages, flash_all_messages%} +{%from "flash_messages.html" import flash_messages %} {%block title%}Upload R/qtl2 Bundle{%endblock%} @@ -12,13 +12,12 @@
In this page, you can either select from a existing dataset:
-{{flash_all_messages()}} -