diff options
author | Pjotr Prins | 2020-07-15 14:16:11 +0100 |
---|---|---|
committer | Pjotr Prins | 2020-07-15 14:17:27 +0100 |
commit | b9691c7deae30bd6422fb7b0681572b7b6f78ae3 (patch) | |
tree | 6ffa1924cd115cd20c89df907a22ec7df48ae9b9 /bh20simplewebuploader | |
parent | 9c9512a7e040f8247d259bdc6f9cf55d5d276baf (diff) | |
download | bh20-seq-resource-b9691c7deae30bd6422fb7b0681572b7b6f78ae3.tar.gz bh20-seq-resource-b9691c7deae30bd6422fb7b0681572b7b6f78ae3.tar.lz bh20-seq-resource-b9691c7deae30bd6422fb7b0681572b7b6f78ae3.zip |
Web: add license to input form
Diffstat (limited to 'bh20simplewebuploader')
-rw-r--r-- | bh20simplewebuploader/main.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bh20simplewebuploader/main.py b/bh20simplewebuploader/main.py index 8b5781a..8a6794e 100644 --- a/bh20simplewebuploader/main.py +++ b/bh20simplewebuploader/main.py @@ -47,6 +47,7 @@ def type_to_heading(type_name): Turn a type name like "sampleSchema" from the metadata schema into a human-readable heading. """ + print(type_name,file=sys.stderr) # Remove camel case decamel = re.sub('([A-Z])', r' \1', type_name) # Split @@ -233,7 +234,7 @@ if os.path.isfile("bh20sequploader/bh20seq-schema.yml"): else: METADATA_SCHEMA = yaml.safe_load(pkg_resources.resource_stream("bh20sequploader", "bh20seq-schema.yml")) METADATA_OPTION_DEFINITIONS = yaml.safe_load(pkg_resources.resource_stream("bh20sequploader", "bh20seq-options.yml")) -print(METADATA_SCHEMA,file=sys.stderr) +# print(METADATA_SCHEMA,file=sys.stderr) FORM_ITEMS = generate_form(METADATA_SCHEMA, METADATA_OPTION_DEFINITIONS) @app.route('/') |