Commit 8055639f authored by Jérome Perrin's avatar Jérome Perrin

remove tracefile from dumps

parent 66401eb4
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -127,19 +127,8 @@ with open(sys.argv[1]) as infile:
#m = migrate_to_new_format(m)
#m.update(preferences=positionGraph(m))
m['application_configuration']['input']['view_production_orders_spreadsheet']['priority'] = 10
m['application_configuration']['input']['view']['priority'] = 9
m['application_configuration']['input']['view_workplan_spreadsheet']['priority'] = 8
m['application_configuration']['input']['view_operator_skills_spreadsheet']['priority'] = 7
m['application_configuration']['input']['view_shift_spreadsheet']['priority'] = 6
m['application_configuration']['input']['view_wip_spreadsheet']['priority'] = 5
m['application_configuration']['input']['view_run_simulation']['priority'] = 4
m['application_configuration']['input']['view_management']['priority'] = 3
m['application_configuration']['input']['view_result']['priority'] = 2
if 'debug' in m['application_configuration']['input']:
m['application_configuration']['input']['debug']['priority'] = 1
m['application_configuration']['input']['debug']['name'] = "Edit Configuration"
for result in m['result']['result_list']:
result['elementList'] = [e for e in result['elementList'] if e['id'] != 'TraceFile']
with open(sys.argv[1], "w") as outfile:
json.dump(m, outfile, sort_keys=True,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment