Skip to content

AttributeError: 'module' object has no attribute 'WaterBridgeAnalysis' #2064

@xdeupi

Description

@xdeupi

Hi all,
I cannot use the WaterBridgeAnalysis class in the hydrogen bond analysis module. When I execute the following script

import MDAnalysis
import MDAnalysis.analysis.hbonds
u = MDAnalysis.Universe('step5_assembly.xplor_ext_JSR.psf', 'runMD500ns_stride50.dcd')
w = MDAnalysis.analysis.hbonds.WaterBridgeAnalysis(u, 'resname ARG', 'resname ASP')
w.run()

I get:

AttributeError: 'module' object has no attribute 'WaterBridgeAnalysis'

I can use other classes in the module (e.g. HydrogenBondAnalysis), and I do see all the necessary source files in my distribution (I installed MDAnalysis 0.18.0-py2.7 in Mac OS 10.13.6 using Conda).

Any ideas?

Thanks,

Xavier

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions