about summary refs log tree commit diff
path: root/examples
diff options
context:
space:
mode:
authorMunyoki Kilyungi2026-02-19 16:11:15 +0300
committerMunyoki Kilyungi2026-02-19 16:11:15 +0300
commit6fb74e2e1c59ed4934a1177816a717382c91e0cb (patch)
treef868139bae5389381608cd296105dccf33e5a56c /examples
parent6751c74040a72032f0f7db863cb68693a4e45167 (diff)
downloadgn-transform-databases-6fb74e2e1c59ed4934a1177816a717382c91e0cb.tar.gz
Sanitize experiment data. HEAD master
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/probesets-experiment-metadata.scm7
1 files changed, 4 insertions, 3 deletions
diff --git a/examples/probesets-experiment-metadata.scm b/examples/probesets-experiment-metadata.scm
index b87af10..8706c3c 100755
--- a/examples/probesets-experiment-metadata.scm
+++ b/examples/probesets-experiment-metadata.scm
@@ -25,9 +25,10 @@
     (set rdf:type 'gnc:molecular_trait_metadata)
     (set dcat:distribution
          (string->symbol
-          (format #f "gnd:~a.json"
-                  (field ("CONCAT(ProbeSetFreeze.Name, '_', ProbeSet.Name)"
-                          PublishFreeze)))) )
+          (sanitize-rdf-string
+           (format #f "gnd:~a.json"
+                   (field ("CONCAT(ProbeSetFreeze.Name, '_', ProbeSet.Name)"
+                           PublishFreeze))))) )
     (set gnt:has_probeset (string->identifier "probeset" (field ProbeSet Name ProbeSetName)))
     (set dcat:isPartOf (string->identifier "dataset" (field ProbeSetFreeze Name ProbeSetFreezeName)
                                            #:separator "_"))