From 87f99793f9f8dd5d513b01a810f7368b690b79b1 Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Wed, 15 May 2024 00:31:48 +0300 Subject: 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 --- examples/phenotype.scm | 6 +----- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.3