From 3a10517123c261d5ce26f174b97764fcaad06e93 Mon Sep 17 00:00:00 2001 From: Adam Novak Date: Fri, 17 Apr 2020 12:02:51 -0700 Subject: Create option dropdowns from an options file --- bh20sequploader/bh20seq-options.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 bh20sequploader/bh20seq-options.yml (limited to 'bh20sequploader/bh20seq-options.yml') diff --git a/bh20sequploader/bh20seq-options.yml b/bh20sequploader/bh20seq-options.yml new file mode 100644 index 0000000..02e911f --- /dev/null +++ b/bh20sequploader/bh20seq-options.yml @@ -0,0 +1,16 @@ +# Contains suggested human-readable field values and their corresponding IRIs. +# Keyed on the field names in the types in the schema. Relies on field names +# being unique or at least using the same options in different containing +# types. + +host_age_unit: + year: http://purl.obolibrary.org/obo/UO_0000036 + month: http://purl.obolibrary.org/obo/UO_0000035 + week: http://purl.obolibrary.org/obo/UO_0000035 + day: http://purl.obolibrary.org/obo/UO_0000034 + hour: http://purl.obolibrary.org/obo/UO_0000032 + +host_sex: + Male: http://purl.obolibrary.org/obo/NCIT_C20197 + Female: http://purl.obolibrary.org/obo/NCIT_C27993 + unknown: http://purl.obolibrary.org/obo/NCIT_C17998 -- cgit v1.2.3 From c536f92264e094d4a59c1fdcb6a3aea64c0035b2 Mon Sep 17 00:00:00 2001 From: Adam Novak Date: Fri, 17 Apr 2020 12:18:53 -0700 Subject: Spruce up the options file and add missing values --- bh20sequploader/bh20seq-options.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'bh20sequploader/bh20seq-options.yml') diff --git a/bh20sequploader/bh20seq-options.yml b/bh20sequploader/bh20seq-options.yml index 02e911f..d05be5a 100644 --- a/bh20sequploader/bh20seq-options.yml +++ b/bh20sequploader/bh20seq-options.yml @@ -4,13 +4,14 @@ # types. host_age_unit: - year: http://purl.obolibrary.org/obo/UO_0000036 - month: http://purl.obolibrary.org/obo/UO_0000035 - week: http://purl.obolibrary.org/obo/UO_0000035 - day: http://purl.obolibrary.org/obo/UO_0000034 - hour: http://purl.obolibrary.org/obo/UO_0000032 + Years: http://purl.obolibrary.org/obo/UO_0000036 + Months: http://purl.obolibrary.org/obo/UO_0000035 + Weeks: http://purl.obolibrary.org/obo/UO_0000034 + Days: http://purl.obolibrary.org/obo/UO_0000033 + Hours: http://purl.obolibrary.org/obo/UO_0000032 host_sex: Male: http://purl.obolibrary.org/obo/NCIT_C20197 Female: http://purl.obolibrary.org/obo/NCIT_C27993 - unknown: http://purl.obolibrary.org/obo/NCIT_C17998 + Intersex: http://purl.obolibrary.org/obo/NCIT_C45908 + Unknown: http://purl.obolibrary.org/obo/NCIT_C17998 -- cgit v1.2.3