Closed GoogleCodeExporter closed 9 years ago
Same problem exists when reading a single frame PDB file:
u = MDAnalysis.Universe('x.pdb')
Could it be that this could also be connected to a problem I was having with
single frame PDB files and HydrogenBondAnalysis:
1. u = MDAnalysis.Universe('x.pdb')
2. h = MDAnalysis.analysis.hbonds.HydrogenBondAnalysis(u, selection1,
selection2)
3. h.run()
gives
AttributeError: 'bool' object has no attribute 'frame'
Should I open a separate bug or can I leave it here?
Original comment by lukas.gr...@gmail.com
on 20 Apr 2012 at 10:09
Lukas, please open a new issue and should it turn out to be related then we'll
merge it.
Btw, this issue report also applies to single frame PDB files (and probably any
of our other single-frame formats):
>>> import MDAnalysis
>>> from MDAnalysis.tests.datafiles import *
>>> u = MDAnalysis.Universe(PDB)
>>> TRR = MDAnalysis.Writer("out.trr", numatoms=u.atoms.numberOfAtoms())
>>> TRR.write(u.atoms)
AttributeError: 'Timestep' object has no attribute 'time'
Thanks,
Oliver
Original comment by orbeckst
on 20 Apr 2012 at 3:32
This issue was closed by revision d25969ac6bcf.
Original comment by orbeckst
on 31 May 2012 at 6:19
Original issue reported on code.google.com by
orbeckst
on 19 Apr 2012 at 10:44