diff options
author | Munyoki Kilyungi | 2024-05-15 00:31:48 +0300 |
---|---|---|
committer | Munyoki Kilyungi | 2024-05-15 00:31:48 +0300 |
commit | 87f99793f9f8dd5d513b01a810f7368b690b79b1 (patch) | |
tree | 22b6a226b7fca4dc56ef6eb93649bd76e798c9d7 /examples | |
parent | eed289041e3508199c9ba607eab9197d90a99221 (diff) | |
download | gn-transform-databases-87f99793f9f8dd5d513b01a810f7368b690b79b1.tar.gz |
Use a set to represent a phenotype's owner.
The owners in the database is not a consistent comma separated list.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/phenotype.scm | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/examples/phenotype.scm b/examples/phenotype.scm index fd5ed85..aa1e9c5 100755 --- a/examples/phenotype.scm +++ b/examples/phenotype.scm @@ -80,11 +80,7 @@ (set gnt:labCode (field Phenotype Lab_code)) (set gnt:submitter (sanitize-rdf-string (field Phenotype Submitter))) - (multiset dct:contributor - (map string-trim-both - (string-split - (sanitize-rdf-string (field Phenotype Owner)) - #\,))) + (set dct:contributor (sanitize-rdf-string (field Phenotype Owner))) (set gnt:mean (annotate-field (field ("IFNULL(PublishXRef.mean, '')" mean)) '^^xsd:double)) (set gnt:locus |