diff options
author | Pjotr Prins | 2020-07-15 12:48:12 +0100 |
---|---|---|
committer | Pjotr Prins | 2020-07-15 14:17:27 +0100 |
commit | 9c9512a7e040f8247d259bdc6f9cf55d5d276baf (patch) | |
tree | dd221d06612568992e16f1debaeea418c22b61e7 /doc | |
parent | f44d555b788e29a1896a69d75401f0e145ad9299 (diff) | |
download | bh20-seq-resource-9c9512a7e040f8247d259bdc6f9cf55d5d276baf.tar.gz bh20-seq-resource-9c9512a7e040f8247d259bdc6f9cf55d5d276baf.tar.lz bh20-seq-resource-9c9512a7e040f8247d259bdc6f9cf55d5d276baf.zip |
Load metadata locally without pkg_resources
Diffstat (limited to 'doc')
-rw-r--r-- | doc/blog/using-covid-19-pubseq-part5.org | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/doc/blog/using-covid-19-pubseq-part5.org b/doc/blog/using-covid-19-pubseq-part5.org index 4b0ea64..aa06d5e 100644 --- a/doc/blog/using-covid-19-pubseq-part5.org +++ b/doc/blog/using-covid-19-pubseq-part5.org @@ -13,6 +13,7 @@ - [[#what-is-the-schema][What is the schema?]] - [[#how-is-the-website-generated][How is the website generated?]] - [[#modifying-the-schema][Modifying the schema]] + - [[#adding-fields-to-the-form][Adding fields to the form]] * Modify Metadata @@ -113,8 +114,15 @@ So, we'll add it simply as a title field. Now the draft schema is _id: https://creativecommons.org/ns#Work #+END_SRC -Now, we are no ontology experts, right? So, next we submit a patch to our source tree and -ask for feedback before wiring it up in the data entry form. The pull request was -submitted here FIXME. +Now, we are no ontology experts, right? So, next we submit a patch to +our source tree and ask for feedback before wiring it up in the data +entry form. The pull request was submitted [[https://github.com/arvados/bh20-seq-resource/pull/97][here]] and reviewed on the +gitter channel and I merged it. + +* Adding fields to the form + +To add the new fields to the form we have to modify it a little. If we +go to the upload form we need to add the license box. The schema is +loaded in [[https://github.com/arvados/bh20-seq-resource/blob/a0c8ebd57b875f265e8b0efec4abfaf892eb6c45/bh20simplewebuploader/main.py#L229][main.py]] in the 'generate_form' function. /Note: work in progress/ |