VMD-L Mailing List
From: Albert (mailmd2011_at_gmail.com)
Date: Mon Apr 22 2013 - 01:39:37 CDT
- Next message: Olaf Lenz: "Re: how to write pbc option in python?"
- Previous message: Olaf Lenz: "Re: ellipsoidal particles"
- Next in thread: Olaf Lenz: "Re: problem of pbc command"
- Reply: Olaf Lenz: "Re: problem of pbc command"
- Reply: Axel Kohlmeyer: "Re: problem of pbc command"
- Reply: John Stone: "Re: problem of pbc command"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hello:
I am trying to run pbc command in a python script:
import sys
from atomsel import atomsel
from Molecule import Molecule
from VMD import evaltcl
evaltcl('pbc wrap -compound residue -center com -centersel protein -all')
with command:
vmd2 P-in.cms all.dtr -python -dispdev text -e my.py
but it always failed with messages:
Traceback (most recent call last):
File "VMD", line 10, in <module>
File "/soft/vmd-1.9.1.src/vmd-1.9.1/lib/vmd/scripts/python/VMD.py",
line 92, in evaltcl
return VMDevaltcl(args)
ValueError: invalid command name "pbc"
thank you very much
Albert
- Next message: Olaf Lenz: "Re: how to write pbc option in python?"
- Previous message: Olaf Lenz: "Re: ellipsoidal particles"
- Next in thread: Olaf Lenz: "Re: problem of pbc command"
- Reply: Olaf Lenz: "Re: problem of pbc command"
- Reply: Axel Kohlmeyer: "Re: problem of pbc command"
- Reply: John Stone: "Re: problem of pbc command"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]