sparcians / map

Modeling Architectural Platform
Apache License 2.0
168 stars 60 forks source link

Fix reporting bug where ContextCounters have their per-context counts printed twice #497

Closed bdutro closed 6 months ago

bdutro commented 7 months ago

I ran into a bug where the per-context counts from a ContextCounter would get printed twice in a report:

              my_counter = 882885
              my_counter_context0 = 221216
              my_counter_context1 = 220455
              my_counter_context2 = 220124
              my_counter_context3 = 221090
              my_counter.context0 = 221216
              my_counter.context1 = 220455
              my_counter.context2 = 220124
              my_counter.context3 = 221090

This PR fixes the report generator so that only the second set (with the . separator) is included in the report.