aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMunyoki Kilyungi2024-02-08 22:16:43 +0300
committerMunyoki Kilyungi2024-02-08 22:16:43 +0300
commit5ca0cf4337b07b7fdea27e3c19a5a1ff26d001f3 (patch)
tree0b6b0a84177840e5551031ca27dea7965b06c45e /examples
parent3ee7f2645360d6291f7a8dfe66af293b3f8d6912 (diff)
downloadgn-transform-databases-5ca0cf4337b07b7fdea27e3c19a5a1ff26d001f3.tar.gz
Remove "string->identifier" for the dataset directory name.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/dataset-metadata-git.scm18
1 files changed, 9 insertions, 9 deletions
diff --git a/examples/dataset-metadata-git.scm b/examples/dataset-metadata-git.scm
index 1730f95..cd3081c 100755
--- a/examples/dataset-metadata-git.scm
+++ b/examples/dataset-metadata-git.scm
@@ -21,15 +21,15 @@
(define (infopages/sql->rtf result)
(let* ((get (cut assoc-ref result <>))
(get* (compose (lambda (str)
- (if (string-blank? str)
- #f
- str))
- get))
- (identifier (string->identifier
- ""
- (regexp-substitute/global #f "[^A-Za-z0-9:]"
- (get "InfoPageName")
- 'pre "_" 'post)))
+ (if (string-blank? str)
+ #f
+ str))
+ get))
+ (identifier
+ (regexp-substitute/global
+ #f "[^A-Za-z0-9:]"
+ (get "InfoPageName")
+ 'pre "_" 'post))
(dir-name (string-append "/export/data/genenetwork/gn-docs/datasets/"))
(file-name (cut string-append dir-name <>))
(summary (get* "Summary"))