Skip to content

Conversation

@ourmoa
Copy link
Contributor

@ourmoa ourmoa commented Dec 2, 2022

No description provided.

@ourmoa ourmoa requested a review from znittzel December 2, 2022 13:03
@ourmoa ourmoa linked an issue Dec 2, 2022 that may be closed by this pull request
Copy link
Contributor

@znittzel znittzel left a comment

Choose a reason for hiding this comment

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

Looks good!

assert numpy.array_equal(actual_output, expected_output)

with pytest.raises(ValueError):
puan.ndarray.integer_ndarray([1, 5, 30]).ndint_compress(method="Rank")
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this check for making sure error is raised when given a method that is not in the method list? In that case maybe just a comment that that's what it is testing. Just to be clear that it has nothing to do with the [1, 5, 30] combination of numbers

@znittzel znittzel merged commit ad5a56c into main Dec 5, 2022
@ourmoa ourmoa deleted the 93-add-prio-method-to-ndint_compress branch December 5, 2022 15:10
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.

Add "prio" method to ndint_compress

3 participants