Commit 529c2e4d authored by Xiaowu Zhang's avatar Xiaowu Zhang Committed by Cédric Le Ninivin

SimulationTool: only ignore internal movement if node is ignored

parent c7c9ad79
......@@ -1873,8 +1873,8 @@ class SimulationTool(BaseTool):
assert 'node_uid' in kw or 'section_uid' in kw
sql_kw = self._generateSQLKeywordDict(**kw)
if 'section_uid' in kw:
# ignore internal movements
if 'section_uid' in kw and 'node_uid' not in kw:
# ignore internal movements if ignore node
sql_kw['where_expression'] += ' AND ' \
'NOT(stock.section_uid<=>stock.mirror_section_uid)'
......
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