about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xexamples/phenotype.scm7
1 files changed, 4 insertions, 3 deletions
diff --git a/examples/phenotype.scm b/examples/phenotype.scm
index c485658..8049265 100755
--- a/examples/phenotype.scm
+++ b/examples/phenotype.scm
@@ -78,9 +78,10 @@
     (set gnt:submitter
          (sanitize-rdf-string (field Phenotype Submitter)))
     (multiset dct:contributor
-              (string-split
-               (sanitize-rdf-string (field Phenotype Owner))
-               #\,))
+              (map string-trim-both
+                   (string-split
+                    (sanitize-rdf-string (field Phenotype Owner))
+                    #\,)))
     (set gnt:mean (annotate-field (field ("IFNULL(PublishXRef.mean, '')" mean))
                                   '^^xsd:double))
     (set gnt:locus