-
Notifications
You must be signed in to change notification settings - Fork 18
Sync with Recursion remote #400
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
Conversation
Add a new distance of cm
Implement a hang killer at BSS level
Seeing failed tests on various platforms (unexpected ones, i.e. not related to CI issue or missing Sire packages): FAILED tests/IO/test_file_cache.py::test_file_cache_mol_nums - ValueError: could not convert string to float: 'Need both input and output files and formats.'
FAILED tests/Parameters/test_parameters.py::test_molecule_rename - ValueError: could not convert string to float: 'Need both input and output files and formats.'
FAILED tests/Parameters/test_parameters.py::test_acdoctor - Failed: DID NOT RAISE <class 'BioSimSpace._Exceptions._exceptions.ParameterisationError'>
FAILED tests/Sandpit/Exscientia/IO/test_file_cache.py::test_file_cache_mol_nums - ValueError: could not convert string to float: 'Need both input and output files and formats.'
FAILED tests/Sandpit/Exscientia/Parameters/test_parameters.py::test_molecule_rename - ValueError: could not convert string to float: 'Need both input and output files and formats.'
FAILED tests/Sandpit/Exscientia/Parameters/test_parameters.py::test_acdoctor - Failed: DID NOT RAISE <class 'BioSimSpace.Sandpit.Exscientia._Exceptions._exceptions.ParameterisationError'>
FAILED tests/Sandpit/Exscientia/Process/test_restart.py::test_process[Production-system-True] - ValueError: could not convert string to float: 'Need both input and output files and formats.'
FAILED tests/Sandpit/Exscientia/Process/test_restart.py::test_process[Production-system-False] - ValueError: could not convert string to float: 'Need both input and output files and formats.'
FAILED tests/Sandpit/Exscientia/Process/test_restart.py::test_process[Production-system_vel-True] - ValueError: could not convert string to float: 'Need both input and output files and formats.'
FAILED tests/Sandpit/Exscientia/Process/test_restart.py::test_process[Production-system_vel-False] - ValueError: could not convert string to float: 'Need both input and output files and formats.'
FAILED tests/Sandpit/Exscientia/Process/test_restart.py::test_process[Production-system_vel0-True] - ValueError: could not convert string to float: 'Need both input and output files and formats.'
FAILED tests/Sandpit/Exscientia/Process/test_restart.py::test_process[Production-system_vel0-False] - ValueError: could not convert string to float: 'Need both input and output files and formats.'
FAILED tests/Sandpit/Exscientia/Process/test_restart.py::test_process[Equilibration-system-True] - ValueError: could not convert string to float: 'Need both input and output files and formats.'
FAILED tests/Sandpit/Exscientia/Process/test_restart.py::test_process[Equilibration-system-False] - ValueError: could not convert string to float: 'Need both input and output files and formats.'
FAILED tests/Sandpit/Exscientia/Process/test_restart.py::test_process[Equilibration-system_vel-True] - ValueError: could not convert string to float: 'Need both input and output files and formats.'
FAILED tests/Sandpit/Exscientia/Process/test_restart.py::test_process[Equilibration-system_vel-False] - ValueError: could not convert string to float: 'Need both input and output files and formats.'
FAILED tests/Sandpit/Exscientia/Process/test_restart.py::test_process[Equilibration-system_vel0-True] - ValueError: could not convert string to float: 'Need both input and output files and formats.'
FAILED tests/Sandpit/Exscientia/Process/test_restart.py::test_process[Equilibration-system_vel0-False] - ValueError: could not convert string to float: 'Need both input and output files and formats.'
... As always, this isn't reproducible locally. Will see if I can recreate the exact environment. |
Having looked back at the CI, these errors also appeared in #398, so they aren't unique to this PR. |
Ah, this is an issue with the updated version = float(string.split(":")[0]) I'll wrap this in a try/except block. |
I decided to just remove the version check since |
This has fixed the @pytest.mark.skipif(
has_antechamber is False or has_tleap is False,
reason="Requires AmberTools/antechamber and tLEaP to be installed.",
)
def test_acdoctor():
"""
Test that parameterising negatively charged molecules works when acdoctor
is disabled.
"""
# Load the molecule.
mol = BSS.IO.readMolecules(f"{url}/negative_charge.sdf")[0]
# Make sure parameterisation fails when acdoctor is enabled.
> with pytest.raises(BSS._Exceptions.ParameterisationError):
E Failed: DID NOT RAISE <class 'BioSimSpace._Exceptions._exceptions.ParameterisationError'> I assume that Linux Python 3.10 (fails):
Linux Python 3.11 (works):
Not sure if I should just pin |
|
Bah, that works locally in a conda environment with |
This PR synchronises with changes from the Recursion remote.