aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMunyoki Kilyungi2023-06-09 15:10:33 +0300
committerBonfaceKilz2023-06-12 19:06:36 +0300
commite2cead1ca3d496fda31e4f00dbaa79d1043da5d7 (patch)
treedd8184eb5bde919f332027a4fefd19adfb695736 /examples
parent4480184dcf1264ade02d9930f6d34b36a7f2a58c (diff)
downloadgn-transform-databases-e2cead1ca3d496fda31e4f00dbaa79d1043da5d7.tar.gz
Use PublishFreeze Name as a fallback for InfoPageName
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/dump-phenotype.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/dump-phenotype.scm b/examples/dump-phenotype.scm
index 5b05a79..e4d20c9 100755
--- a/examples/dump-phenotype.scm
+++ b/examples/dump-phenotype.scm
@@ -98,7 +98,7 @@
(ontology 'dataset:
(regexp-substitute/global
#f "[^A-Za-z0-9:]"
- (field ("IFNULL(PublishFreeze.Name, '')" DatasetName))
+ (field ("IFNULL(InfoFiles.InfoPageName, IFNULL(PublishFreeze.Name, ''))" DatasetName))
'pre "_" 'post)))
(set gn:phenotypeOfPublication
(let ((pmid (field