-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
Hi Robin,
I start Vmd and type gopython and then load a file by:
molid = molecule.load('parm7', '1BIQ_solvate.top', 'crdbox', 'prod_imaged.mdcrd')
tf = molecule.numframes(molid)
print(tf)
This will give the number of total frames of 300, it works.
However, when I put the same code in a python file like:
from vmd import *
mid = molecule.load('parm7', '1BIQ_solvate.top', 'crdbox', 'prod_imaged.mdcrd')
tf = molecule.numframes(mid)
print('Loaded mid is: ', mid)
print('Total number frames is', tf)
The total number of frames is 0.
Do you have any idea of what is wrong here?
Thanks.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels