Skip to content

Commit

Permalink
Merge pull request #117 from C-Carr22/111&112ColourMapping
Browse files Browse the repository at this point in the history
111&112 colour mapping
  • Loading branch information
tofu-rocketry authored Jul 12, 2021
2 parents 75653d5 + 97441ab commit c69fbe8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions scripts/colourmapper.ini
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ gaia = #B7DBAB
gaia-dev = #B7DBAB
gaia-prod = #B7DBAB
gaia-test = #B7DBAB
CCP4 = #42dbb7
DAFNI = #3144d4
clas12 = #e04848
ska = #DCB9ED
vcycle = #8A2BE2
iris.ac.uk = #6D1F62
ral-cloud = #E02F44
Expand Down
2 changes: 1 addition & 1 deletion scripts/colourmapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit c69fbe8

Please sign in to comment.