Skip to content
Prev Previous commit
remove unneeded change to Traj.to_mdtraj
  • Loading branch information
dwhswenson committed May 30, 2018
commit f4feb9a3347846baaa06b0c75770a63c8298f1ff
2 changes: 1 addition & 1 deletion openpathsampling/engines/trajectory.py
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ def to_mdtraj(self, topology=None):
box_vectors = self.box_vectors
# box_vectors is a list with an entry for each frame of the traj
# if they're all None, we return None, not [None, None, ..., None]
if not np.any(np.asarray(box_vectors)):
if not np.any(box_vectors):
box_vectors = None

traj.unitcell_vectors = box_vectors
Expand Down