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

widen ndarray dependency and fix warning #429

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

DavidBJaffe
Copy link
Contributor

@DavidBJaffe DavidBJaffe commented May 19, 2021

Widen the ndarray dependency to accept up to 0.15. This caused a warning, which
said to replace an instance of genrows() by rows(), and that was done.

Also widen approx dependency.

@coveralls
Copy link

coveralls commented May 19, 2021

Coverage Status

Coverage remained the same at 87.639% when pulling 6a7f7a7 on DavidBJaffe:dj/widen_ndarray_dependency into 9f1452b on rust-bio:master.

@@ -296,7 +296,7 @@ pub trait Motif {
let bits = Self::get_bits();
let scores = self.get_scores();
let mut tot = 0.0;
for row in scores.genrows() {
for row in scores.rows() {
Copy link

@bluss bluss Jul 7, 2021

Choose a reason for hiding this comment

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

I don't think this will work with ndarray 0.13 unfortunately - an alternative like scores.axis_iter(Axis(0)) should work in the whole version range.

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

3 participants