Commit 87a381ce authored by Georgios Dagkakis's avatar Georgios Dagkakis

for all stations set name=id

parent 450269f1
......@@ -23,10 +23,9 @@ class AddBatchStations(plugin.InputPreparationPlugin):
if node['_class']=='Dream.BatchSource':
standardBatchUnits=int(node['batchNumberOfUnits'])
# loop through all the machines and set that the name will be equal to the id
# loop through all the objects and set that the name will be equal to the id
for node_id, node in nodes.iteritems():
if node['_class']=='Dream.BatchScrapMachine':
node['name']=node_id
node['name']=node_id
# loop in BatchScrapMachines to change the classes if need be
for node_id, node in nodes.iteritems():
......
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