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

Synchronise with Exscientia remote #183

Merged
merged 22 commits into from
Oct 13, 2023
Merged

Synchronise with Exscientia remote #183

merged 22 commits into from
Oct 13, 2023

Conversation

lohedges
Copy link
Contributor

This PR synchronises devel with the Exscientia remote.

  • I confirm that I have merged the latest version of devel into this branch before issuing this pull request (e.g. by running git pull origin devel): [y]
  • I confirm that I have permission to release this code under the GPL3 license: [y]

Suggested reviewers:

@chryswoods

lohedges and others added 20 commits July 3, 2023 18:25
Update Sandpit_exs.yml

Signed-off-by: Zhiyi Wu <zwu@exscientia.ai>
Update Sandpit_exs.yml

Signed-off-by: Zhiyi Wu <zwu@exscientia.ai>
Co-authored-by: William (Zhiyi) Wu <zwu@exscientia.co.uk>
Co-authored-by: Lester Hedges <lester.hedges@gmail.com>
Co-authored-by: William (Zhiyi) Wu <zwu@exscientia.co.uk>
Co-authored-by: William (Zhiyi) Wu <zwu@exscientia.co.uk>
… be the root directory (#28)

Co-authored-by: William (Zhiyi) Wu <zwu@exscientia.co.uk>
Co-authored-by: William (Zhiyi) Wu <zwu@exscientia.co.uk>
@lohedges lohedges added the exscientia Related to work with Exscientia label Oct 12, 2023
@lohedges lohedges added this to the 2023.4.0 milestone Oct 12, 2023
@lohedges lohedges temporarily deployed to biosimspace-build October 12, 2023 15:14 — with GitHub Actions Inactive
@lohedges lohedges temporarily deployed to biosimspace-build October 12, 2023 15:14 — with GitHub Actions Inactive
@@ -35,12 +35,10 @@ jobs:

- name: Install dependency
run: |
mamba install -c conda-forge -c openbiosim/label/main biosimspace python=3.8 ambertools gromacs "sire=2023.2.2" alchemlyb pytest pyarrow "typing-extensions!=4.6.0" openff-interchange pint=0.21 "rdkit<2023" "jaxlib>0.3.7" tqdm
mamba install -c conda-forge -c openbiosim/label/main biosimspace python=3.10 ambertools gromacs "sire=2023.3" "alchemlyb>=2.1" pytest openff-interchange pint=0.21 rdkit "jaxlib>0.3.7" tqdm
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 the right version for sire? Should it be 2023.3.2 if they want to pin to the last major release, or do they want 2023.4.0?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point. I'll check what's on their current branch.

chryswoods
chryswoods previously approved these changes Oct 12, 2023
Copy link
Contributor

@chryswoods chryswoods left a comment

Choose a reason for hiding this comment

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

Code looks good, subject to the query about the sire version.

The test failure for Linux looks weird. Why would OpenMM move the molecule only for that platform?

I'm happy to approve - good luck with the release :-)

@lohedges
Copy link
Contributor Author

The CI script is exactly what is in their fork. @xiki-tempula: Just checking this is what you want. As for the OpenMM failures, I think these are the position restraint issues that I was talking about. The merge must have overwritten my edits.

@lohedges
Copy link
Contributor Author

There is also a failure due to be guarding on Windows which is correct in our devel. I don't really like this way of synchronisation since I have to assume that the Exs fork is the "truth", which means that fixes that I've made are sometimes overwritten. (I can't preferentially take my edits.) The correct method is for me to PR to them, but no-one seems to want this approach.

This is not reproducibly satisfied on all platforms and Python variants.
@lohedges lohedges temporarily deployed to biosimspace-build October 12, 2023 18:29 — with GitHub Actions Inactive
@lohedges lohedges temporarily deployed to biosimspace-build October 12, 2023 18:29 — with GitHub Actions Inactive
@lohedges lohedges temporarily deployed to biosimspace-build October 12, 2023 18:29 — with GitHub Actions Inactive
@lohedges lohedges temporarily deployed to biosimspace-build October 12, 2023 18:29 — with GitHub Actions Inactive
@lohedges lohedges temporarily deployed to biosimspace-build October 12, 2023 18:29 — with GitHub Actions Inactive
@lohedges
Copy link
Contributor Author

The OpenMM position restraint failure is intermittent, but seems to be a particular issue on Linux Python 3.10. I'm not sure why/how they chose their distance tolerances (they are different for each protocol) but increasing the one for minimisation fixes things.

Copy link
Contributor

@chryswoods chryswoods left a comment

Choose a reason for hiding this comment

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

👍

@xiki-tempula
Copy link
Contributor

Thanks for the PR.
Yes, we are using Sire 2023.3.2 now but after the sync, we would like to go to Sire 2023.4.
@janjoswig Jan do you mind have to look to see if the position restraint is still fine after the sync?

@lohedges lohedges merged commit a203510 into devel Oct 13, 2023
5 checks passed
@lohedges lohedges deleted the sync_exscientia branch October 13, 2023 09:57
@janjoswig
Copy link
Contributor

Sorry for being late here. I noticed the issue as well that the position restraints apparently are not working in the same way depending on the platform and it still puzzles me. I just confirmed that the code is still working locally on MacOS and Linux and that atoms move without restraints and stay put with restraints. The reason for the different tolerances for each protocol is basically that these were the necessary thresholds to make the pipeline pass as well.

@lohedges
Copy link
Contributor Author

No problem. I'm pleased it's something that you've noticed too. I haven't had time to debug it fully and it's not completely reproducible anyway (it only fails on the one platform intermittently). As such, I've just adjusted the tolerance for that one particular test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exscientia Related to work with Exscientia
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants