302 code bug spot analysis visualizations have nested window dressings #303
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Purpose
This fixes the nested window dressings issue by clearing window dressings before rendering on visualizations that are dependencies of later visualizations.
Fixes #302
Summary of changes
Implementation notes
Correctness was verified with the following example code (from the upcoming CrossSection example looking straight at the sun):
Without this fix, the resulting images for the "VCrosSec" and "VFalseC4" visualization image processors had the window dressings duplicated. After the fix the window dressings were no longer inherited by the later visualizations.
Submission checklist
develop, notmainopencsp/test/test_DocStringsExist.pyare verified to include this change or have been updated accordinglydoc/are verified to include this change or have been updated accordinglyAdditional information
This needs additional work to add unit tests and update the documentation.