Skip to content

Bug in environment selection for dynamic environments #12

Description

@pranjalsur

Hi. I was selecting a region geometrically as my environment; molecules moving inside the region should act as my environment (excluding SOL and ions). Turns out , the environment selection is not dynamic in the current code. I have verified this (using the -dumptime flag) by investigating the environment.pdb for several frames. I have fixed this locally by modfiying the line ( in TUPA.py) : env_raw_selection = u.select_atoms(config.sele_elecfield), to "env_raw_selection = u.select_atoms(config.sele_elecfield, updating=True )".

Let me know, if there are any other concerns regarding the fix. If not, the main code should be updated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions