From 6ad04b0d513765359c89f9a63caae71e4b35b59b Mon Sep 17 00:00:00 2001 From: C-Carr22 Date: Tue, 25 May 2021 14:12:36 +0000 Subject: [PATCH 1/3] New colourmapping for previously unlisted entires added --- scripts/colourmapper.ini | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/colourmapper.ini b/scripts/colourmapper.ini index 4289dff..e132836 100644 --- a/scripts/colourmapper.ini +++ b/scripts/colourmapper.ini @@ -21,6 +21,10 @@ gaia = #B7DBAB gaia-dev = #B7DBAB gaia-prod = #B7DBAB gaia-test = #B7DBAB +CCP4 = #42dbb7 +DAFNI = #3144d4 +clas12 = #e04848 +ska = #c84efc vcycle = #8A2BE2 iris.ac.uk = #6D1F62 ral-cloud = #E02F44 From f4b1a3a5bd4bcd1340cfecc102ef1a64b08656d0 Mon Sep 17 00:00:00 2001 From: C-Carr22 Date: Fri, 28 May 2021 12:49:01 +0000 Subject: [PATCH 2/3] colourmapper script with now sort entires alphabetically in dashboard JSON files --- scripts/colourmapper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/colourmapper.py b/scripts/colourmapper.py index 9e73073..4aafd3e 100644 --- a/scripts/colourmapper.py +++ b/scripts/colourmapper.py @@ -37,7 +37,7 @@ def main(): for i in range(len(data['panels'])): # cycle through panels in JSON file data['panels'][i]['aliasColors'] = alias_colors - json.dump(data, writer, indent=2) # write to new file + json.dump(data, writer, indent=2, sort_keys=True) # write to new file os.replace(new_path, args.filepath) # replace original file with new file From 97441abeeaa86bdfa1773953749f6afe55b8ce07 Mon Sep 17 00:00:00 2001 From: C-Carr22 Date: Thu, 8 Jul 2021 14:34:44 +0000 Subject: [PATCH 3/3] ska now uses the same colour as skatelescope.eu --- scripts/colourmapper.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/colourmapper.ini b/scripts/colourmapper.ini index e132836..998907b 100644 --- a/scripts/colourmapper.ini +++ b/scripts/colourmapper.ini @@ -24,7 +24,7 @@ gaia-test = #B7DBAB CCP4 = #42dbb7 DAFNI = #3144d4 clas12 = #e04848 -ska = #c84efc +ska = #DCB9ED vcycle = #8A2BE2 iris.ac.uk = #6D1F62 ral-cloud = #E02F44