Surely there must be a way to run Pymol in a mode that does not fire  
up the GUI but still allows it access to OpenGL??


> Michael,
>
> The "-c" option forces PyMOL to run in command-line-only mode which means it
> doesn't have access to the OpenGL hardware (used by cmd.draw and interactive
> graphics).  In command-line-only mode, ray tracing (cmd.ray) is the only
> option.
>
> Cheers,
> Warren
>
>> -----Original Message-----
>> From: pymol-users-bounces@... [mailto:pymol-users-bounces@...] On  
>> Behalf Of Michael Lerner
>> Sent: Thursday, October 25, 2007 8:31 AM
>> To: pymol mailinglist
>> Subject: [PyMOL] Trouble making pictures in a script
>>
>> Hi,
>>
>> I have a Python script that sets a system up and then calls  
>> cmd.png() to render an image. I use it to process several files at  
>> a time, and there's no need to look at it while it's working, so I  
>> use
>>
>> pymol -qcr myscript.py
>>
>> to launch it. It works fine when I ray trace things, but if I just  
>> set the system up and call cmd.png(), I get this error:
>>
>> ScenePNG-WARNING: invalid context or no image.
>>
>> Calling cmd.draw() instead of cmd.ray() doesn't seem to fix things.
>> Any ideas? Some of the systems are big enough that cmd.ray() fails,  
>> so I'd like to be able to find a workaround.
>>
>> Thanks,
>>
>> -michael
>>
>> --
>> Biophysics Graduate Student
>> Carlson Lab, University of Michigan
>> http://www.umich.edu/~mlerner
>>
>> --------------------------------------------------------------
>> -----------
>> This SF.net email is sponsored by: Splunk Inc.
>> Still grepping through log files to find problems?  Stop.
>> Now Search log events and configuration files using AJAX and a browser.
>> Download your FREE copy of Splunk now >> http://get.splunk.com/  
>> _______________________________________________
>> PyMOL-users mailing list
>> PyMOL-users@...
>> https://lists.sourceforge.net/lists/listinfo/pymol-users
>
>
> _____________________________________________________
> Dr. Douglas R. Houston
> Lecturer
> Institute of Structural and Molecular Biology
> Room 3.23, Michael Swann Building
> King's Buildings
> University of Edinburgh
> Edinburgh, EH9 3JR, UK
> Tel. 0131 650 7358
> http://tinyurl.com/douglasrhouston
>
> -- 
> The University of Edinburgh is a charitable body, registered in
> Scotland, with registration number SC005336.
>
>
>
>



-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.



------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
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