Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@ewels
Copy link
Member

@ewels ewels commented Apr 6, 2019

Not sure why this code was there, but for some reason we were going through the conda channel order in reverse.

When packages are only in one channel, this didn't have any negative effect (except for slower lint execution times and more API calls). However, when packages were in multiple channels with different version numbers, it could cause the linting to fail incorrectly (cf. nf-core/atacseq#26)

Just removing the reverse() seems to fix this behaviour. Arguably we could extend the linting to check subsequent channels if the correct version isn't found in the first found, but I think it's very unlikely that this will happen so I can't be bothered now.

Phil

@ewels ewels requested a review from a team April 6, 2019 12:51
@ewels
Copy link
Member Author

ewels commented Apr 6, 2019

Should fix #207

Copy link
Member

@apeltzer apeltzer left a comment

Choose a reason for hiding this comment

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

Looking good 👍

@apeltzer apeltzer merged commit a00eac1 into nf-core:dev Apr 6, 2019
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.

2 participants