minor corrections on operators name and IDs

parent 49021b5a
......@@ -61,7 +61,7 @@ class ReadJSSkills(plugin.InputPreparationPlugin):
node[PBId]={
"_class": "Dream.Operator",
"capacity": 1,
"name":PBId,
"name":PBitem[0],
"skillDict":skillDict,
"ouputSchedule" : 1
}
......
......@@ -58,7 +58,7 @@ class ReadJSWorkPlan(plugin.InputPreparationPlugin):
task_id = line[-2]
sequence = line[4]
processingTime = float(line[-5])
operator = line[5]
operator = line[5].replace(" ","").split("-")[0]
partsneeded = line[-4]
# if there are requested parts then split them
if partsneeded:
......
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