Skip to content

Input problem in WaterOrientationalRelaxation #23

Description

@alejob

Expected behavior
To crash if not a water selection is given.

Actual behavior
It calculates with any input, not only with water molecules.

Code to reproduce the behavior

I'm giving a selection of only oxygens, and it should crash, but it doesn't.

import MDAnalysis
from MDAnalysis.analysis.waterdynamics import WaterOrientationalRelaxation as WOR

u = MDAnalysis.Universe(pdb, trajectory)
selection = "name OH2 and sphzone 6.0 protein and resid 42"
WOR_analysis = WOR(universe, selection, 0, 1000, 20)
WOR_analysis.run()
....

I've just realize that this PR create the error MDAnalysis/mdanalysis#1293

Why is py3 style division necessary?

Bests,

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions