From 2bcf4c45eaba42b36cff93c9cd5e461baaf3eae1 Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Thu, 28 May 2020 10:44:42 -0500 Subject: Web: debugging metadata submission --- bh20simplewebuploader/main.py | 4 ++++ bh20simplewebuploader/templates/success.html | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'bh20simplewebuploader') diff --git a/bh20simplewebuploader/main.py b/bh20simplewebuploader/main.py index 4f14d10..847e36b 100644 --- a/bh20simplewebuploader/main.py +++ b/bh20simplewebuploader/main.py @@ -3,6 +3,7 @@ import itertools import tempfile import shutil import subprocess +import logging import os import sys import re @@ -13,6 +14,9 @@ from flask import Flask, request, redirect, send_file, send_from_directory, rend import os.path import requests +logging.basicConfig(level=logging.DEBUG) +log = logging.getLogger(__name__ ) +log.debug("Entering web uploader") if not os.path.isfile('bh20sequploader/mainx.py'): print("WARNING: run FLASK from the root of the source repository!", file=sys.stderr) diff --git a/bh20simplewebuploader/templates/success.html b/bh20simplewebuploader/templates/success.html index 1be7861..9f0987c 100644 --- a/bh20simplewebuploader/templates/success.html +++ b/bh20simplewebuploader/templates/success.html @@ -9,7 +9,7 @@
- Your files have been uploaded. They should soon appear as part of the Public SARS-CoV-2 Sequence Resource. + Your files have been uploaded. They should soon appear as output of the Public SARS-CoV-2 Sequence Resource.
The upload log was: -- cgit v1.2.3