Hi Maryam,

the get_viewport command was added in PyMOL 1.5, so I guess you are using an 
older version and upgrading will solve your problem.

Cheers,
  Thomas

On 06 Jun 2014, at 21:30, M. Faridounnia <faridoun...@gmail.com> wrote:

> Dear Pymolers,
> 
> I was trying to run the posview.py downloaded from pymolwiki 
> (http://www.pymolwiki.org:8888/index.php/PoseView) but when I try to run the 
> script it gives this lines with the module error on get_viewport. I tried to 
> File 
> "/Volumes/Data/scm/vikki/bld/MacPyMOL.app/pymol/modules/pymol/parser.py", 
> line 254, in parse
>   File "/Volumes/Home/Users/.../pymol/poseview.py", line 49, in poseview
>     viewport = cmd.get_viewport()
> AttributeError: 'module' object has no attribute 'get_viewport
> 
> I would appreciate if someone helps me understand this.
> 
> Best regards,
> Maryam

-- 
Thomas Holder
PyMOL Developer
Schrödinger, Inc.


------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://www.hpccsystems.com
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net

Reply via email to