Skip to content

Commit

Permalink
Fix duplicate roi data
Browse files Browse the repository at this point in the history
  • Loading branch information
tuanna26 committed Jan 3, 2025
1 parent bd497bf commit 68b4772
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion studio/app/common/core/rules/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,10 @@ def run(cls, __rule: Rule, last_output, run_script_path: str):
if not dataFilterParam.is_empty and os.path.exists(bak_output):
bak_output_info = PickleReader.read(bak_output)
output_info = cls.__filter_data(
bak_output_info, dataFilterParam, __rule.type
bak_output_info,
dataFilterParam,
__rule.type,
output_dir=os.path.dirname(__rule.output),
)
else:
if os.path.exists(bak_output):
Expand Down

0 comments on commit 68b4772

Please sign in to comment.