diff options
author | Munyoki Kilyungi | 2023-10-20 16:03:01 +0300 |
---|---|---|
committer | Munyoki Kilyungi | 2023-10-20 16:03:01 +0300 |
commit | fb4fe01ffd2053a8e4e70c38c3c2c65a3d4bdb81 (patch) | |
tree | 449bc7c92651a55fbc7245a11234ba0d3024af11 /examples | |
parent | 8400efa6ff3fd9b1efc73d3a8d94b73d7359d65c (diff) | |
download | gn-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>
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/phenotype.scm | 2 |
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)) |