Skip to content

Commit

Permalink
Updated some attributes in the modelData part of teh output palette. …
Browse files Browse the repository at this point in the history
…Changed eagleVersion -> generatorVersion, eagleCommitHash -> generatorCommitHash, added generatorName.
  • Loading branch information
james-strauss-uwa committed May 15, 2024
1 parent ef3087c commit 408c105
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions dlg_paletteGen/support_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,12 @@ def constructPalette():
"""
Constructing the structure of a palette.
"""

from .cli import (
NAME,
VERSION
)

palette = {
"modelData": {
"filePath": "",
Expand All @@ -695,9 +701,10 @@ def constructPalette():
"repoService": "GitHub",
"repoBranch": "master",
"repo": "ICRAR/EAGLE_test_repo",
"eagleVersion": "",
"eagleCommitHash": "",
"schemaVersion": "AppRef",
"generatorVersion": VERSION,
"generatorCommitHash": "",
"generatorName": NAME,
"schemaVersion": "OJS",
"readonly": True,
"repositoryUrl": "",
"commitHash": "",
Expand Down

0 comments on commit 408c105

Please sign in to comment.