-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(memory_print_option): fix summary output #1466
fix(memory_print_option): fix summary output #1466
Conversation
Addition of context to mem_path affected search for unique paths in mem_unique_origins(). Add a function (strip_context_mem_path) to remove a context prepended to the mem_path.
Before fix:
After fix:
Note: there is a discrepancy in the character total when compared to the total storage.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it true that by removing the prepended context that memory on the IDM side will just be tallied with the memory on the model side? I guess we will also have prepended dunderscores for virtual models and exchanges. Not sure if that is relevant here. Changes seems reasonable. The table is clearly fixed.
Virtual model and exchanges will all be under whatever root path there is after |
revised PR to keep context so there are separate entries for components with a context
|
add get_mem_path_context character function
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like how this looks.
Addition of context to mem_path affected search for unique paths in mem_unique_origins(). Add a function (strip_context_mem_path) to remove a context prepended to the mem_path.