Skip to content

object has no attribute 'gcmc_status' / NaN energies #1

@Maxim-93

Description

@Maxim-93

Hi there!

Running into a couple of issues here when trying to run your equilibration section for the BPTI simulations,

When executing file equil-uvt1.py I get the error message:
Particle coordinate is nan.
I tried changing the integration timestep to 1fs but still see the same result.

Additionally, after just integrating over a few hundred steps (which can be done successfully) I tried to run this block of code:

gcmc_ids = np.where(gcmc_mover.gcmc_status == 0)[0]

but get the error message:
'StandardGCMCSphereSampler' object has no attribute 'gcmc_status'.

Any idea how I might obtain and write out the ghost particles here? Do I just need their respective indices as produced by gcmc_mover.ghost_file (bpti-uvt1-ghosts.txt is the output in this case).

Or should I use
gcmc_mover.deleteGhostWaters
and then save the file resulting from:
positions = simulation.context.getState(getPositions=True, enforcePeriodicBox=True).getPositions()
as a pdb?

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