Skip to content
This repository was archived by the owner on Jan 28, 2022. It is now read-only.

Conversation

ohm314
Copy link
Contributor

@ohm314 ohm314 commented Jun 29, 2018

MetricsDriver was not derived from Enumerator or Leaf. As a result the exception handling was broken. I made this class to now subclass Leaf. When doing this I noticed that the self.report cached property is causing the generated yaml files to be broken. I am not entirely sure why this is happening in this case, but I fixed it by loading in __call__() the yaml report without converting the read dict into a nameddict.

Omar Awile added 2 commits June 28, 2018 13:09
It uses several aspects of Enumerator already.
Additonally did some basic renaming in ior.py to understand what is happening in the Extractor
Although not entirely clear why this is a fix. We cannot use the inherited report cached_property, which wraps the yaml report into a nameddict. @tristan0x might have the answer to that.
@ohm314 ohm314 requested a review from tristan0x June 29, 2018 11:21
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.6%) to 84.471% when pulling f62f8fa on fix/metrics_driver into 58e37a6 on master.

1 similar comment
@coveralls
Copy link

coveralls commented Jun 29, 2018

Coverage Status

Coverage decreased (-0.6%) to 84.471% when pulling f62f8fa on fix/metrics_driver into 58e37a6 on master.

Copy link
Member

@tristan0x tristan0x left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tristan0x tristan0x merged commit 07aa426 into master Jul 9, 2018
@tristan0x tristan0x deleted the fix/metrics_driver branch July 9, 2018 09:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants