Commit 3ea922c8 authored by wenjie.zheng's avatar wenjie.zheng

Worklist.py: change the value type of the return value of getVarMatch so the Worklist can work.

parent 2ee0030f
......@@ -146,9 +146,9 @@ class Worklist(XMLObject):
v = [ var.strip() for var in self.getMatchedPortalTypeList() ]
matches = tuple(v)
elif id == 'validation_state':
matches = tuple(self.getMatchedValidationState())
matches = tuple([self.getMatchedValidationStateList()])
elif id == 'simulation_stae':
matches = tuple(Expression(self.getMatchedSimulationState()))
matches = tuple([self.getMatchedSimulationStateList()])
else:
raise NotImplementedError ("Cataloged variable matching error in Worklist.py")
if matches is not None:
......
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