Commit e3d16371 authored by Georgios Dagkakis's avatar Georgios Dagkakis

extra test added

parent 05755fb9
......@@ -30,7 +30,10 @@ class ReadSkilledOperators(plugin.InputPreparationPlugin):
for n_id,n in node.iteritems():
technology=n.get('technology',None)
if technology in skills and n_id not in newSkills:
newSkills.append(n_id)
newSkills.append(n_id)
# this so that models without technology also work
if not newSkills:
newSkills=skills
node[PBId]={
"_class": "Dream.Operator",
"capacity": 1,
......
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