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

Fixes error in handling #34

Merged
merged 3 commits into from Jul 27, 2018
Merged

Fixes error in handling #34

merged 3 commits into from Jul 27, 2018

Conversation

matthewcarbone
Copy link
Collaborator

@matthewcarbone matthewcarbone commented Jul 27, 2018

Also adds appropriate "unit" test. Just to be clear, this resolves issue #30.

self.param_log.min() was throwing an error. Since it is a list and not
a numpy array. Changing it to min(self.param_log) seemed to fix the
problem.

A similar change was implemented for the reverse method.

Resolve autonomio#30
@pep8speaks
Copy link

Hello @x94carbone! Thanks for submitting the PR.

Line 72:41: E721 do not compare types, use 'isinstance()'

@coveralls
Copy link

Pull Request Test Coverage Report for Build 105

  • 2 of 2 (100.0%) changed or added relevant lines in 1 file are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage increased (+0.4%) to 88.052%

Files with Coverage Reduction New Missed Lines %
talos/reducers/spear_reducer.py 1 86.67%
Totals Coverage Status
Change from base Build 104: 0.4%
Covered Lines: 678
Relevant Lines: 770

💛 - Coveralls

@mikkokotila mikkokotila merged commit 8f06415 into autonomio:dev Jul 27, 2018
@matthewcarbone matthewcarbone deleted the dev branch July 27, 2018 17:03
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.

None yet

4 participants