Skip to content

WaterSwap throws SireError #421

Description

@SofiaBariami

WaterSwap seems to be broken in the current development version of Flare and it also throws a SireError when running it from Sire release version 2023.0.0

The command I used is: waterswap -c ../input/SYSTEM.rst7 -t ../input/SYSTEM.prm7 -l 9G6

The input files and the ones that were generated before the error can be found at: https://github.com/SofiaBariami/sharing_files/tree/master/waterswap_files

WaterSwap runs until this point:

Creating WSRC system constraints...

Using lambda values: [0.005, 0.071, 0.137, 0.203, 0.269, 0.335, 0.401, 0.467, 0.533, 0.599, 0.665, 0.731, 0.797, 0.863, 0.929, 0.995]
Adding the identity constraint...
Choosing swap waters from both the protein box and water box.
The number of candidates for the swap water equals: 605

Adding system monitors...

And then it throws the following error:

Energies of this system at lambda == 0...
Traceback (most recent call last):
  File "/home/sofia/miniconda3/share/Sire/scripts/waterswap.py", line 205, in <module>
    WSRC.run(params)
  File "/home/sofia/miniconda3/lib/python3.9/site-packages/sire/legacy/Tools/__init__.py", line 175, in inner
    retval = func()
  File "/home/sofia/miniconda3/lib/python3.9/site-packages/sire/legacy/Tools/WSRC.py", line 2908, in run
    (wsrc_system, wsrc_moves) = loadWSRC()
  File "/home/sofia/miniconda3/lib/python3.9/site-packages/sire/legacy/Tools/WSRC.py", line 2748, in loadWSRC
    wsrc_system = mergeSystems(proteinsys, watersys, ligand_mol)
  File "/home/sofia/miniconda3/lib/python3.9/site-packages/sire/legacy/Tools/WSRC.py", line 2625, in mergeSystems
    printEnergies(system.energies(), sys.stdout)
UserWarning: SireError::incomplete_code: NEED TO WRITE THE CODE FOR NON_STRICT SELECTION OF 1-4 PAIRS (call sire.error.get_last_error_details() for more info)

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions