inconsistency with EDM setup skill corrected (multiple steps of EDM processing)

parent 5ec96f10
...@@ -47,7 +47,7 @@ class ReadJSSkills(plugin.InputPreparationPlugin): ...@@ -47,7 +47,7 @@ class ReadJSSkills(plugin.InputPreparationPlugin):
continue continue
skills=PBitem[1].replace(" ","").split(';') skills=PBitem[1].replace(" ","").split(';')
if len(skills)==1: if len(skills)==1:
PBitem[1].replace(" ","").split(',') skills = PBitem[1].replace(" ","").split(',')
skillDict = { skillDict = {
"load": [], "load": [],
"process": [], "process": [],
...@@ -57,6 +57,9 @@ class ReadJSSkills(plugin.InputPreparationPlugin): ...@@ -57,6 +57,9 @@ class ReadJSSkills(plugin.InputPreparationPlugin):
for operation, availableSkills in SKILLS_DICT.iteritems(): for operation, availableSkills in SKILLS_DICT.iteritems():
if skill in availableSkills: if skill in availableSkills:
skillDict[operation].append(skill) skillDict[operation].append(skill)
# if EDM-SET in in skillDict['setup'] then add EDM to skillDict['process']
if 'EDM-SET' in skillDict['setup']:
skillDict['process'].append('EDM')
node[PBId]={ node[PBId]={
"_class": "Dream.Operator", "_class": "Dream.Operator",
......
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