Commit 2bf2f367 by Xiaowu Zhang

SimulationTool: only ignore internal movement if node is ignored

1 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)'
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!