Commit 2bf2f367 authored by Xiaowu Zhang's avatar Xiaowu Zhang

SimulationTool: only ignore internal movement if node is ignored

parent 5b7f51c8
......@@ -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