diff options
author | Munyoki Kilyungi | 2023-05-22 10:49:46 +0300 |
---|---|---|
committer | BonfaceKilz | 2023-05-26 08:40:22 +0300 |
commit | dbbbf859b187c80545d923c2f712f0c755843a8f (patch) | |
tree | e44afe0dbeed28c3d9763ce2b94d67eb3109d6b7 /examples | |
parent | b03ce9b304466e7f620ef852bdf377938e2a8279 (diff) | |
download | gn-transform-databases-dbbbf859b187c80545d923c2f712f0c755843a8f.tar.gz |
Annotate createtime field correctly with xsd:date
* examples/dump-phenotype.scm (dump-publishfreeze): Use xsd:date to
annotate PublishFreeze's CreateTime field.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/dump-phenotype.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/dump-phenotype.scm b/examples/dump-phenotype.scm index 842e7e8..242e835 100755 --- a/examples/dump-phenotype.scm +++ b/examples/dump-phenotype.scm @@ -40,7 +40,9 @@ (set gn:name (field PublishFreeze Name)) (set gn:fullName (field PublishFreeze FullName)) (set gn:shortName (field PublishFreeze ShortName)) - (set gn:createTime (field PublishFreeze CreateTime)) + (set dct:created (annotate-field + (field PublishFreeze CreateTime) + '^^xsd:date)) (set gn:datasetOfInbredSet (string->identifier "inbredSet" (field InbredSet Name InbredSetName))))) |