volkamerlab / teachopencadd

TeachOpenCADD: a teaching platform for computer-aided drug design (CADD) using open source packages and data
https://projects.volkamerlab.org/teachopencadd
Creative Commons Attribution 4.0 International
713 stars 197 forks source link

T020: update deprecated code fix broken ci #363

Closed dominiquesydow closed 1 year ago

dominiquesydow commented 1 year ago

Description

T020 fails with cryptic message in CI under MacOS:

UserWarning: Reload offsets from trajectory
 ctime or size or n_atoms did not match
  warnings.warn("Reload offsets from trajectory\n "

Try to fix this by rerunning on local MacOS & fix warnings etc. along the way.

Note: I recommend merging https://github.com/volkamerlab/teachopencadd/pull/362 first, only then this PR (as this PR branches off t019-exclude-windows-from-ci).

Todos

Status

review-notebook-app[bot] commented 1 year ago

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

dominiquesydow commented 1 year ago

@mbackenkoehler, this PR should be ready as well - I think the problem was the xtc offset file, I removed it now & also updated the notebooks that showed a couple of deprecation warnings. I just kicked off the CI on all notebooks (minus T019 on Windows).

I recommend merging first this PR: https://github.com/volkamerlab/teachopencadd/pull/362 and then this PR will update automatically asking to merge on dev (at the moment asking to merge onto 019-exclude-windows-from-ci), which you should then be able to do without conflicts.

mbackenkoehler commented 1 year ago

I re-ran the test on dev and now - for some reason... - T018 is failing as well. So this is clearly not the culprit ;)