Skip to content

Comments

Fix metrics#111

Closed
chaithyagr wants to merge 1 commit intoCEA-COSMIC:masterfrom
chaithyagr:fix_110
Closed

Fix metrics#111
chaithyagr wants to merge 1 commit intoCEA-COSMIC:masterfrom
chaithyagr:fix_110

Conversation

@chaithyagr
Copy link
Contributor

This resolves #110

This fixes 110
@chaithyagr chaithyagr requested a review from sfarrens April 12, 2021 09:06
@chaithyagr chaithyagr self-assigned this Apr 12, 2021
@chaithyagr
Copy link
Contributor Author

I didnt get time to get tests up, but this is a quick fix to get things moving...

Comment on lines +155 to +156
else:
self._metrics = metrics
Copy link
Contributor

Choose a reason for hiding this comment

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

This is obviously fine in itself. The reason the CI tests fail is because WPS doesn't like negated conditions. To resolve simply swap the elif and else statements without the not.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes @sfarrens , I have done just this in my next PR. We can ideally close this if the other one is merged

@chaithyagr
Copy link
Contributor Author

I am closing this here, its redundant and not following the style guides.

@chaithyagr chaithyagr closed this Apr 14, 2021
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.

[BUG][URGENT] Metrics dont work right in new release

2 participants