aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMunyoki Kilyungi2023-10-20 16:03:01 +0300
committerMunyoki Kilyungi2023-10-20 16:03:01 +0300
commitfb4fe01ffd2053a8e4e70c38c3c2c65a3d4bdb81 (patch)
tree449bc7c92651a55fbc7245a11234ba0d3024af11
parent8400efa6ff3fd9b1efc73d3a8d94b73d7359d65c (diff)
downloadgn-transform-databases-fb4fe01ffd2053a8e4e70c38c3c2c65a3d4bdb81.tar.gz
Alias Publication.Id to PublicationId
Using "(field Publication Id)" will somehow default to PublishXRef.Id. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
-rwxr-xr-xexamples/phenotype.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/phenotype.scm b/examples/phenotype.scm
index 3165f6e..2745e95 100755
--- a/examples/phenotype.scm
+++ b/examples/phenotype.scm
@@ -93,7 +93,7 @@
(let ((pmid (field
("IF(Publication.PubMed_ID IS NULL, '', CONVERT(Publication.PubMed_Id, INT))"
pmid)))
- (publication-id (field Publication Id)))
+ (publication-id (field Publication Id PublicationId)))
(if (string-null? pmid)
(string->identifier "unpublished"
(number->string publication-id))