From a2271612cb74bbef22ea6863df9992bb75aec151 Mon Sep 17 00:00:00 2001 From: James Krieger Date: Tue, 16 Apr 2024 12:10:04 +0200 Subject: [PATCH] fix calcWaterBridgesTraj docs --- prody/proteins/waterbridges.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/prody/proteins/waterbridges.py b/prody/proteins/waterbridges.py index e1f9e51e8..b176487f8 100644 --- a/prody/proteins/waterbridges.py +++ b/prody/proteins/waterbridges.py @@ -467,7 +467,8 @@ def calcWaterBridgesTrajectory(atoms, trajectory, **kwargs): :arg atoms: Atomic object from which atoms are considered :type atoms: :class:`.Atomic` - :arg trajectory: trajectory object, DCD or multimodal PDB + :arg trajectory: Trajectory data coming from a DCD or multi-model PDB file. + :type trajectory: :class:`.Trajectory', :class:`.Ensemble`, :class:`.Atomic` :arg start_frame: frame to start from :type start_frame: int @@ -486,7 +487,7 @@ def calcWaterBridgesTrajectory(atoms, trajectory, **kwargs): # nfi = trajectory._nfi # trajectory.reset() - numFrames = trajectory._n_csets + # numFrames = trajectory._n_csets if stop_frame == -1: traj = trajectory[start_frame:]