From 0045c7f6ffcdd1afd0c00c1b0d5a33d3dddecce6 Mon Sep 17 00:00:00 2001 From: ilia-nikiforov-umn <78983960+ilia-nikiforov-umn@users.noreply.github.com> Date: Fri, 23 Dec 2022 20:30:32 -0600 Subject: [PATCH] Corrected documentation at the top of kimgenie kimgenie incorrectly states that "extended-id" attribute is required to exist in the kimspec.edn.genie file. This is not correct for reference data, which requires "short-id" instead --- docker/config/tools/kimgenie | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docker/config/tools/kimgenie b/docker/config/tools/kimgenie index ada7852..e834034 100755 --- a/docker/config/tools/kimgenie +++ b/docker/config/tools/kimgenie @@ -20,8 +20,9 @@ the Jinja2 python package. The generation of an item takes place in stages: 4. Add all of the variables defined in the rendered kimspec.edn to the local template variable namspace being used to generate the current item 5. Set the directory name for the item being generated to be equal to the - 'extended-id' attribute (required to exist) in the rendered kimspec.edn - file + 'extended-id' attribute in the rendered kimspec.edn file for tests, + or the 'short-id' attribute in the rendered kimspec.edn file for reference + data. These attributes are required to exist 6. For each remaining file in the template file directory: a. Check if a {# FILENAME = desired_file_name_with_{{ template namespace variables }} #}