diff options
author | Munyoki Kilyungi | 2023-05-23 16:07:11 +0300 |
---|---|---|
committer | BonfaceKilz | 2023-05-26 08:40:22 +0300 |
commit | 7d9964474deaea4e06dcc8a415c0bcbc316c24b4 (patch) | |
tree | 2215235d96daceb9ec8ca74e132182a91863433e /examples/dump-genotype.scm | |
parent | 8076e5c096d709e707927b1bad7090063dc68ce0 (diff) | |
download | gn-transform-databases-7d9964474deaea4e06dcc8a415c0bcbc316c24b4.tar.gz |
Return an empty string if a dataset doesn't have a name
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'examples/dump-genotype.scm')
-rwxr-xr-x | examples/dump-genotype.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/dump-genotype.scm b/examples/dump-genotype.scm index 13e4885..cffa917 100755 --- a/examples/dump-genotype.scm +++ b/examples/dump-genotype.scm @@ -74,7 +74,7 @@ (ontology 'dataset: (regexp-substitute/global #f "[^A-Za-z0-9:]" - (field GenoFreeze Name) + (field ("IFNULL(GenoFreeze.Name, '')" DatasetName)) 'pre "_" 'post))) (set gn:chrNum (annotate-field |