Skip to content
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

refactor: inline summarisation of metadata, metrics, tables #2999

Merged
merged 3 commits into from
Dec 24, 2017

Conversation

rade
Copy link
Member

@rade rade commented Dec 24, 2017

This removes a bunch of duplication and scattering of little pieces of code.

rade added 3 commits December 23, 2017 22:21
Report.Copy() shallow-copies the nodes in Report.Nodes. Hence
Node.Metrics is shared between the original and the copy. Hence bad
things happen when modifying it.

This bug has laid dormant because by luck other tests in detailed_test
involving metrics are executed first.
This removes a bunch of duplication and scattering of little pieces of
code.
This doesn't make any difference to the outcome - we were simply
setting the shape in the NodeSummary to "", which is what it starts
out as - but looks less weird in the code.
@rade rade requested a review from bboreham December 24, 2017 07:34
@rade rade merged commit b3d549c into master Dec 24, 2017
@rade
Copy link
Member Author

rade commented Dec 24, 2017

I've merged this since it's a rather straightforward PR.

@rade rade deleted the inline-some-summarisation branch December 25, 2017 13:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant