Commit 94b5fe63 authored by Xiaowu Zhang's avatar Xiaowu Zhang

SimulationTool: only ignore internal movement if node is ignored

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