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

Replaces outdated method in encore.covariance_matrix #3621

Merged
merged 8 commits into from
Apr 12, 2022

Conversation

mtiberti
Copy link
Contributor

@mtiberti mtiberti commented Apr 11, 2022

Fixes #3539

Changes made in this Pull Request:

  • Replaced the non-existing method from an older version with current API
  • added a couple of tests to test the codepath

PR Checklist

  • Tests?
  • Docs?
  • CHANGELOG updated?
  • Issue raised/referenced?

@pep8speaks
Copy link

pep8speaks commented Apr 11, 2022

Hello @mtiberti! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

Line 233:9: E122 continuation line missing indentation or outdented
Line 233:17: E231 missing whitespace after ','
Line 233:25: E231 missing whitespace after ','
Line 233:32: E231 missing whitespace after ','
Line 233:40: E231 missing whitespace after ','
Line 233:48: E231 missing whitespace after ','
Line 233:55: E231 missing whitespace after ','
Line 233:62: E231 missing whitespace after ','
Line 233:70: E231 missing whitespace after ','
Line 234:9: E122 continuation line missing indentation or outdented
Line 234:17: E231 missing whitespace after ','
Line 234:24: E231 missing whitespace after ','
Line 234:32: E231 missing whitespace after ','
Line 234:40: E231 missing whitespace after ','
Line 234:47: E231 missing whitespace after ','
Line 234:55: E231 missing whitespace after ','
Line 234:63: E231 missing whitespace after ','
Line 234:70: E231 missing whitespace after ','
Line 235:9: E122 continuation line missing indentation or outdented
Line 235:16: E231 missing whitespace after ','
Line 235:24: E231 missing whitespace after ','
Line 235:31: E231 missing whitespace after ','
Line 235:38: E231 missing whitespace after ','
Line 235:46: E231 missing whitespace after ','
Line 235:53: E231 missing whitespace after ','
Line 235:60: E231 missing whitespace after ','
Line 235:68: E231 missing whitespace after ','
Line 236:9: E122 continuation line missing indentation or outdented
Line 236:17: E231 missing whitespace after ','
Line 236:25: E231 missing whitespace after ','
Line 236:32: E231 missing whitespace after ','
Line 236:39: E231 missing whitespace after ','
Line 236:47: E231 missing whitespace after ','
Line 236:54: E231 missing whitespace after ','
Line 236:61: E231 missing whitespace after ','
Line 236:69: E231 missing whitespace after ','
Line 237:9: E122 continuation line missing indentation or outdented
Line 237:17: E231 missing whitespace after ','
Line 237:24: E231 missing whitespace after ','
Line 237:32: E231 missing whitespace after ','
Line 237:40: E231 missing whitespace after ','
Line 237:47: E231 missing whitespace after ','
Line 237:55: E231 missing whitespace after ','
Line 237:63: E231 missing whitespace after ','
Line 237:70: E231 missing whitespace after ','
Line 238:9: E122 continuation line missing indentation or outdented
Line 238:16: E231 missing whitespace after ','
Line 238:24: E231 missing whitespace after ','
Line 238:31: E231 missing whitespace after ','
Line 238:38: E231 missing whitespace after ','
Line 238:46: E231 missing whitespace after ','
Line 238:53: E231 missing whitespace after ','
Line 238:60: E231 missing whitespace after ','
Line 238:68: E231 missing whitespace after ','
Line 239:9: E122 continuation line missing indentation or outdented
Line 239:16: E231 missing whitespace after ','
Line 239:24: E231 missing whitespace after ','
Line 239:31: E231 missing whitespace after ','
Line 239:38: E231 missing whitespace after ','
Line 239:46: E231 missing whitespace after ','
Line 239:53: E231 missing whitespace after ','
Line 239:60: E231 missing whitespace after ','
Line 239:68: E231 missing whitespace after ','
Line 240:9: E122 continuation line missing indentation or outdented
Line 240:17: E231 missing whitespace after ','
Line 240:24: E231 missing whitespace after ','
Line 240:32: E231 missing whitespace after ','
Line 240:40: E231 missing whitespace after ','
Line 240:47: E231 missing whitespace after ','
Line 240:55: E231 missing whitespace after ','
Line 240:63: E231 missing whitespace after ','
Line 240:70: E231 missing whitespace after ','
Line 241:9: E122 continuation line missing indentation or outdented
Line 241:16: E231 missing whitespace after ','
Line 241:24: E231 missing whitespace after ','
Line 241:31: E231 missing whitespace after ','
Line 241:38: E231 missing whitespace after ','
Line 241:46: E231 missing whitespace after ','
Line 241:53: E231 missing whitespace after ','
Line 241:60: E231 missing whitespace after ','
Line 241:68: E231 missing whitespace after ','
Line 244:80: E501 line too long (89 > 79 characters)
Line 245:80: E501 line too long (116 > 79 characters)
Line 247:80: E501 line too long (99 > 79 characters)
Line 251:9: E122 continuation line missing indentation or outdented
Line 251:17: E231 missing whitespace after ','
Line 251:26: E231 missing whitespace after ','
Line 251:34: E231 missing whitespace after ','
Line 251:42: E231 missing whitespace after ','
Line 251:51: E231 missing whitespace after ','
Line 251:59: E231 missing whitespace after ','
Line 251:67: E231 missing whitespace after ','
Line 251:76: E231 missing whitespace after ','
Line 251:80: E501 line too long (85 > 79 characters)
Line 252:9: E122 continuation line missing indentation or outdented
Line 252:18: E231 missing whitespace after ','
Line 252:26: E231 missing whitespace after ','
Line 252:35: E231 missing whitespace after ','
Line 252:44: E231 missing whitespace after ','
Line 252:52: E231 missing whitespace after ','
Line 252:61: E231 missing whitespace after ','
Line 252:70: E231 missing whitespace after ','
Line 252:78: E231 missing whitespace after ','
Line 252:80: E501 line too long (88 > 79 characters)
Line 253:9: E122 continuation line missing indentation or outdented
Line 253:17: E231 missing whitespace after ','
Line 253:26: E231 missing whitespace after ','
Line 253:34: E231 missing whitespace after ','
Line 253:42: E231 missing whitespace after ','
Line 253:51: E231 missing whitespace after ','
Line 253:59: E231 missing whitespace after ','
Line 253:67: E231 missing whitespace after ','
Line 253:76: E231 missing whitespace after ','
Line 253:80: E501 line too long (85 > 79 characters)
Line 254:9: E122 continuation line missing indentation or outdented
Line 254:17: E231 missing whitespace after ','
Line 254:26: E231 missing whitespace after ','
Line 254:34: E231 missing whitespace after ','
Line 254:42: E231 missing whitespace after ','
Line 254:51: E231 missing whitespace after ','
Line 254:59: E231 missing whitespace after ','
Line 254:67: E231 missing whitespace after ','
Line 254:76: E231 missing whitespace after ','
Line 254:80: E501 line too long (85 > 79 characters)
Line 255:9: E122 continuation line missing indentation or outdented
Line 255:18: E231 missing whitespace after ','
Line 255:26: E231 missing whitespace after ','
Line 255:35: E231 missing whitespace after ','
Line 255:44: E231 missing whitespace after ','
Line 255:52: E231 missing whitespace after ','
Line 255:61: E231 missing whitespace after ','
Line 255:70: E231 missing whitespace after ','
Line 255:78: E231 missing whitespace after ','
Line 255:80: E501 line too long (88 > 79 characters)
Line 256:9: E122 continuation line missing indentation or outdented
Line 256:17: E231 missing whitespace after ','
Line 256:26: E231 missing whitespace after ','
Line 256:34: E231 missing whitespace after ','
Line 256:42: E231 missing whitespace after ','
Line 256:51: E231 missing whitespace after ','
Line 256:59: E231 missing whitespace after ','
Line 256:67: E231 missing whitespace after ','
Line 256:76: E231 missing whitespace after ','
Line 256:80: E501 line too long (84 > 79 characters)
Line 257:9: E122 continuation line missing indentation or outdented
Line 257:17: E231 missing whitespace after ','
Line 257:26: E231 missing whitespace after ','
Line 257:34: E231 missing whitespace after ','
Line 257:42: E231 missing whitespace after ','
Line 257:51: E231 missing whitespace after ','
Line 257:59: E231 missing whitespace after ','
Line 257:67: E231 missing whitespace after ','
Line 257:76: E231 missing whitespace after ','
Line 257:80: E501 line too long (85 > 79 characters)
Line 258:9: E122 continuation line missing indentation or outdented
Line 258:18: E231 missing whitespace after ','
Line 258:26: E231 missing whitespace after ','
Line 258:35: E231 missing whitespace after ','
Line 258:44: E231 missing whitespace after ','
Line 258:52: E231 missing whitespace after ','
Line 258:61: E231 missing whitespace after ','
Line 258:70: E231 missing whitespace after ','
Line 258:78: E231 missing whitespace after ','
Line 258:80: E501 line too long (88 > 79 characters)
Line 259:9: E122 continuation line missing indentation or outdented
Line 259:17: E231 missing whitespace after ','
Line 259:26: E231 missing whitespace after ','
Line 259:34: E231 missing whitespace after ','
Line 259:42: E231 missing whitespace after ','
Line 259:51: E231 missing whitespace after ','
Line 259:58: E231 missing whitespace after ','
Line 259:66: E231 missing whitespace after ','
Line 259:75: E231 missing whitespace after ','
Line 259:80: E501 line too long (84 > 79 characters)
Line 262:80: E501 line too long (89 > 79 characters)
Line 263:80: E501 line too long (116 > 79 characters)
Line 266:80: E501 line too long (99 > 79 characters)

Comment last updated at 2022-04-12 01:14:37 UTC

@codecov
Copy link

codecov bot commented Apr 11, 2022

Codecov Report

Merging #3621 (dc9a9e9) into develop (459c04e) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop    #3621      +/-   ##
===========================================
+ Coverage    94.23%   94.25%   +0.01%     
===========================================
  Files          190      190              
  Lines        24790    24790              
  Branches      3340     3340              
===========================================
+ Hits         23362    23366       +4     
+ Misses        1380     1376       -4     
  Partials        48       48              
Impacted Files Coverage Δ
package/MDAnalysis/analysis/encore/covariance.py 93.84% <100.00%> (+6.15%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 459c04e...dc9a9e9. Read the comment docs.

Copy link
Member

@orbeckst orbeckst left a comment

Choose a reason for hiding this comment

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

lgtm, thanks!

@orbeckst
Copy link
Member

@jbarnoud could you please have a quick look, too, and I'd leave you in charge getting it merged, if you don't mind.

Copy link
Contributor

@jbarnoud jbarnoud left a comment

Choose a reason for hiding this comment

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

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ENCORE uses an non existing method
5 participants