Commit 3b04f4a6 authored by Sebastien Robin's avatar Sebastien Robin

JSONInputs: remove stepNumbers of components

parent 8f1a82ad
......@@ -50,8 +50,7 @@
},
"stationIdsList": [
"OD0"
],
"stepNumber": "0"
]
},
{
"processingTime": {
......@@ -60,8 +59,7 @@
},
"stationIdsList": [
"Q1"
],
"stepNumber": "1"
]
},
{
"processingTime": {
......@@ -70,8 +68,7 @@
},
"stationIdsList": [
"M1"
],
"stepNumber": "2"
]
},
{
"processingTime": {
......@@ -80,8 +77,7 @@
},
"stationIdsList": [
"E1"
],
"stepNumber": "3"
]
}
]
},
......@@ -97,8 +93,7 @@
},
"stationIdsList": [
"OD0"
],
"stepNumber": "0"
]
},
{
"processingTime": {
......@@ -107,8 +102,7 @@
},
"stationIdsList": [
"Q2"
],
"stepNumber": "1"
]
},
{
"processingTime": {
......@@ -117,8 +111,7 @@
},
"stationIdsList": [
"M2"
],
"stepNumber": "2"
]
},
{
"processingTime": {
......@@ -127,8 +120,7 @@
},
"stationIdsList": [
"E1"
],
"stepNumber": "3"
]
}
]
}
......
......@@ -58,8 +58,7 @@
},
"stationIdsList": [
"OD0"
],
"stepNumber": "0"
]
},
{
"processingTime": {
......@@ -68,8 +67,7 @@
},
"stationIdsList": [
"Q1"
],
"stepNumber": "1"
]
},
{
"processingTime": {
......@@ -78,8 +76,7 @@
},
"stationIdsList": [
"M1"
],
"stepNumber": "2"
]
},
{
"processingTime": {
......@@ -88,8 +85,7 @@
},
"stationIdsList": [
"AB1"
],
"stepNumber": "3"
]
},
{
"processingTime": {
......@@ -98,8 +94,7 @@
},
"stationIdsList": [
"MA1"
],
"stepNumber": "4"
]
}
]
},
......@@ -115,8 +110,7 @@
},
"stationIdsList": [
"OD0"
],
"stepNumber": "0"
]
},
{
"processingTime": {
......@@ -125,8 +119,7 @@
},
"stationIdsList": [
"Q1"
],
"stepNumber": "1"
]
},
{
"processingTime": {
......@@ -135,8 +128,7 @@
},
"stationIdsList": [
"M1"
],
"stepNumber": "2"
]
},
{
"processingTime": {
......@@ -145,8 +137,7 @@
},
"stationIdsList": [
"AB1"
],
"stepNumber": "3"
]
},
{
"processingTime": {
......@@ -155,8 +146,7 @@
},
"stationIdsList": [
"MA1"
],
"stepNumber": "4"
]
}
]
},
......@@ -172,8 +162,7 @@
},
"stationIdsList": [
"MA1"
],
"stepNumber": "0"
]
},
{
"processingTime": {
......@@ -182,8 +171,7 @@
},
"stationIdsList": [
"E1"
],
"stepNumber": "1"
]
}
]
}
......
......@@ -64,8 +64,7 @@
},
"stationIdsList": [
"OD0"
],
"stepNumber": "0"
]
},
{
"processingTime": {
......@@ -74,8 +73,7 @@
},
"stationIdsList": [
"CB1"
],
"stepNumber": "1"
]
},
{
"processingTime": {
......@@ -84,8 +82,7 @@
},
"stationIdsList": [
"M1"
],
"stepNumber": "2"
]
},
{
"processingTime": {
......@@ -94,8 +91,7 @@
},
"stationIdsList": [
"AB1"
],
"stepNumber": "3"
]
},
{
"processingTime": {
......@@ -104,8 +100,7 @@
},
"stationIdsList": [
"MA1"
],
"stepNumber": "4"
]
}
]
},
......@@ -122,8 +117,7 @@
},
"stationIdsList": [
"OD0"
],
"stepNumber": "0"
]
},
{
"processingTime": {
......@@ -132,8 +126,7 @@
},
"stationIdsList": [
"CB1"
],
"stepNumber": "1"
]
},
{
"processingTime": {
......@@ -142,8 +135,7 @@
},
"stationIdsList": [
"M1"
],
"stepNumber": "2"
]
},
{
"processingTime": {
......@@ -152,8 +144,7 @@
},
"stationIdsList": [
"AB1"
],
"stepNumber": "3"
]
},
{
"processingTime": {
......@@ -162,8 +153,7 @@
},
"stationIdsList": [
"MA1"
],
"stepNumber": "4"
]
}
]
},
......@@ -179,8 +169,7 @@
},
"stationIdsList": [
"MA1"
],
"stepNumber": "0"
]
},
{
"processingTime": {
......@@ -189,8 +178,7 @@
},
"stationIdsList": [
"E1"
],
"stepNumber": "1"
]
}
]
}
......
......@@ -68,8 +68,7 @@
},
"stationIdsList": [
"OD0"
],
"stepNumber": "0"
]
},
{
"processingTime": {
......@@ -78,8 +77,7 @@
},
"stationIdsList": [
"CB1"
],
"stepNumber": "1"
]
},
{
"processingTime": {
......@@ -89,8 +87,7 @@
"stationIdsList": [
"M1",
"M2"
],
"stepNumber": "2"
]
},
{
"processingTime": {
......@@ -99,8 +96,7 @@
},
"stationIdsList": [
"AB1"
],
"stepNumber": "3"
]
},
{
"processingTime": {
......@@ -109,8 +105,7 @@
},
"stationIdsList": [
"MA1"
],
"stepNumber": "4"
]
}
]
},
......@@ -127,8 +122,7 @@
},
"stationIdsList": [
"OD0"
],
"stepNumber": "0"
]
},
{
"processingTime": {
......@@ -137,8 +131,7 @@
},
"stationIdsList": [
"CB1"
],
"stepNumber": "1"
]
},
{
"processingTime": {
......@@ -148,8 +141,7 @@
"stationIdsList": [
"M1",
"M2"
],
"stepNumber": "2"
]
},
{
"processingTime": {
......@@ -158,8 +150,7 @@
},
"stationIdsList": [
"AB1"
],
"stepNumber": "3"
]
},
{
"processingTime": {
......@@ -168,8 +159,7 @@
},
"stationIdsList": [
"MA1"
],
"stepNumber": "4"
]
}
]
},
......@@ -186,8 +176,7 @@
},
"stationIdsList": [
"OD0"
],
"stepNumber": "0"
]
},
{
"processingTime": {
......@@ -196,8 +185,7 @@
},
"stationIdsList": [
"CB1"
],
"stepNumber": "1"
]
},
{
"processingTime": {
......@@ -207,8 +195,7 @@
"stationIdsList": [
"M1",
"M2"
],
"stepNumber": "2"
]
},
{
"processingTime": {
......@@ -217,8 +204,7 @@
},
"stationIdsList": [
"AB1"
],
"stepNumber": "3"
]
},
{
"processingTime": {
......@@ -227,8 +213,7 @@
},
"stationIdsList": [
"MA1"
],
"stepNumber": "4"
]
}
]
},
......@@ -244,8 +229,7 @@
},
"stationIdsList": [
"MA1"
],
"stepNumber": "0"
]
},
{
"processingTime": {
......@@ -254,8 +238,7 @@
},
"stationIdsList": [
"E1"
],
"stepNumber": "1"
]
}
]
}
......
......@@ -105,14 +105,12 @@
{
"stationIdsList": [
"OD0"
],
"stepNumber": "0"
]
},
{
"stationIdsList": [
"QCAM"
],
"stepNumber": "1"
]
},
{
"processingTime": {
......@@ -126,14 +124,12 @@
"stationIdsList": [
"CAM1",
"CAM2"
],
"stepNumber": "2"
]
},
{
"stationIdsList": [
"QMILL"
],
"stepNumber": "3"
]
},
{
"processingTime": {
......@@ -147,14 +143,12 @@
"stationIdsList": [
"MILL1",
"MILL2"
],
"stepNumber": "4"
]
},
{
"stationIdsList": [
"QEDM"
],
"stepNumber": "5"
]
},
{
"processingTime": {
......@@ -167,22 +161,19 @@
},
"stationIdsList": [
"EDM"
],
"stepNumber": "6"
]
},
{
"stationIdsList": [
"AB1"
],
"stepNumber": "7"
]
},
{
"stationIdsList": [
"MA1",
"MA2",
"MA3"
],
"stepNumber": "8"
]
}
]
},
......@@ -195,14 +186,12 @@
{
"stationIdsList": [
"OD0"
],
"stepNumber": "0"
]
},
{
"stationIdsList": [
"QCAM"
],
"stepNumber": "1"
]
},
{
"processingTime": {
......@@ -216,14 +205,12 @@
"stationIdsList": [
"CAM1",
"CAM2"
],
"stepNumber": "2"
]
},
{
"stationIdsList": [
"QMILL"
],
"stepNumber": "3"
]
},
{
"processingTime": {
......@@ -237,14 +224,12 @@
"stationIdsList": [
"MILL1",
"MILL2"
],
"stepNumber": "4"
]
},
{
"stationIdsList": [
"QEDM"
],
"stepNumber": "5"
]
},
{
"processingTime": {
......@@ -257,22 +242,19 @@
},
"stationIdsList": [
"EDM"
],
"stepNumber": "6"
]
},
{
"stationIdsList": [
"AB1"
],
"stepNumber": "7"
]
},
{
"stationIdsList": [
"MA1",
"MA2",
"MA3"
],
"stepNumber": "8"
]
}
]
},
......@@ -290,14 +272,12 @@
"MA1",
"MA2",
"MA3"
],
"stepNumber": "0"
]
},
{
"stationIdsList": [
"QIM"
],
"stepNumber": "1"
]
},
{
"processingTime": {
......@@ -310,14 +290,12 @@
},
"stationIdsList": [
"IM"
],
"stepNumber": "2"
]
},
{
"stationIdsList": [
"E1"
],
"stepNumber": "3"
]
}
]
}
......
......@@ -105,14 +105,12 @@
{
"stationIdsList": [
"OD0"
],
"stepNumber": "0"
]
},
{
"stationIdsList": [
"QCAM"
],
"stepNumber": "1"
]
},
{
"processingTime": {
......@@ -126,14 +124,12 @@
"stationIdsList": [
"CAM1",
"CAM2"
],
"stepNumber": "2"
]
},
{
"stationIdsList": [
"QMILL"
],
"stepNumber": "3"
]
},
{
"processingTime": {
......@@ -147,14 +143,12 @@
"stationIdsList": [
"MILL1",
"MILL2"
],
"stepNumber": "4"
]
},
{
"stationIdsList": [
"QEDM"
],
"stepNumber": "5"
]
},
{
"processingTime": {
......@@ -167,22 +161,19 @@
},
"stationIdsList": [
"EDM"
],
"stepNumber": "6"
]
},
{
"stationIdsList": [
"AB1"
],
"stepNumber": "7"
]
},
{
"stationIdsList": [
"MA1",
"MA2",
"MA3"
],
"stepNumber": "8"
]
}
]
},
......@@ -195,14 +186,12 @@
{
"stationIdsList": [
"OD0"
],
"stepNumber": "0"
]
},
{
"stationIdsList": [
"QCAM"
],
"stepNumber": "1"
]
},
{
"processingTime": {
......@@ -216,14 +205,12 @@
"stationIdsList": [
"CAM1",
"CAM2"
],
"stepNumber": "2"
]
},
{
"stationIdsList": [
"QMILL"
],
"stepNumber": "3"
]
},
{
"processingTime": {
......@@ -237,14 +224,12 @@
"stationIdsList": [
"MILL1",
"MILL2"
],
"stepNumber": "4"
]
},
{
"stationIdsList": [
"QEDM"
],
"stepNumber": "5"
]
},
{
"processingTime": {
......@@ -257,22 +242,19 @@
},
"stationIdsList": [
"EDM"
],
"stepNumber": "6"
]
},
{
"stationIdsList": [
"AB1"
],
"stepNumber": "7"
]
},
{
"stationIdsList": [
"MA1",
"MA2",
"MA3"
],
"stepNumber": "8"
]
}
]
},
......@@ -290,14 +272,12 @@
"MA1",
"MA2",
"MA3"
],
"stepNumber": "0"
]
},
{
"stationIdsList": [
"QIM"
],
"stepNumber": "1"
]
},
{
"processingTime": {
......@@ -310,14 +290,12 @@
},
"stationIdsList": [
"IM"
],
"stepNumber": "2"
]
},
{
"stationIdsList": [
"E1"
],
"stepNumber": "3"
]
}
]
}
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -75,6 +75,9 @@ def format(m):
processingTime = r['processingTime']
if 'mean' in processingTime:
processingTime['mean'] = float(processingTime['mean'])
for component in job.get('componentsList', []):
for r in component['route']:
r.pop("stepNumber", None)
return m
......
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