aboutsummaryrefslogtreecommitdiff
path: root/bh20simplewebuploader/main.py
diff options
context:
space:
mode:
authorPjotr Prins2020-04-12 15:10:29 -0500
committerPjotr Prins2020-04-12 15:10:29 -0500
commit2e4d12e9890c36421d60ab06f6131f029844bc77 (patch)
tree4315449ff2a75e423c852e335a2251f0a6d0acb7 /bh20simplewebuploader/main.py
parentaa93ecf387182896e6dc84bdd145ebce9aba3745 (diff)
downloadbh20-seq-resource-2e4d12e9890c36421d60ab06f6131f029844bc77.tar.gz
bh20-seq-resource-2e4d12e9890c36421d60ab06f6131f029844bc77.tar.lz
bh20-seq-resource-2e4d12e9890c36421d60ab06f6131f029844bc77.zip
Website: working on layout
Diffstat (limited to 'bh20simplewebuploader/main.py')
-rw-r--r--bh20simplewebuploader/main.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bh20simplewebuploader/main.py b/bh20simplewebuploader/main.py
index 383ef84..81f2ef9 100644
--- a/bh20simplewebuploader/main.py
+++ b/bh20simplewebuploader/main.py
@@ -126,6 +126,7 @@ def generate_form(schema):
return list(walk_fields(root_name))
+
# At startup, we need to load the current metadata schema so we can make a form for it
METADATA_SCHEMA = yaml.safe_load(urllib.request.urlopen('https://raw.githubusercontent.com/arvados/bh20-seq-resource/master/bh20sequploader/bh20seq-schema.yml'))
FORM_ITEMS = generate_form(METADATA_SCHEMA)