Skip to content
Snippets Groups Projects

Avoid KeyError in OutputAnalysisConfig during the second pass

Merged Zhengcheng Tao requested to merge ztao/athena:fix_output_block_keyerror into main

It was reported by @adohnalo that if setting the containersOnlyForMC option in the output block, a KeyError would be raised here complaining about duplicated keys in containers and containersOnlyForMC. This happens during the second pass of configuring the blocks, when self.containers has been updated by self.containersOnlyForMC here during the first pass.

The proposed fix here is to clear self.containersOnlyForMC after self.containers is updated during the first pass.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading