From: Thomas H. <tho...@sc...> - 2014-01-14 20:44:02
|
Hi Ricardo, you probably want to do this, without calling the ray command: cmd.png("image.png", 640, 640, dpi=300, ray=1) Also, your ray command sets antialias=300 and angle=-1, which I guess was not your intention. I'm not getting a segmentation fault with the latest SVN code using your command, though. Do you have any volume representation? Volume is not fully supported with ray tracing. Cheers, Thomas On 14 Jan 2014, at 13:36, Ricardo O. S. Soares <rs...@fc...> wrote: > Hello everyone, > > I wrote a python script where pymol performs some color changes, ray tracing and image export. > The script works perfectly if I enable the GUI, however if I load pymol without the GUI (-c flag) I receive a segmentation fault error. > I found out that this issue is resolved by commenting the line "pymol.cmd.ray(640,640,300,-1)". > I'd like to solve this, so the script can run in a loop without opening the GUI every time. > It may help to clarify that I'm running a LinuxMint14 machine (AMD64), with GCC compiler version 4.7.2. > > I appreciate any help. > > Ricardo. > --- > Biological Chemistry and Physics > Faculty of Pharmaceutical Sciences at Ribeirão Preto > University of São Paulo - Brazil -- Thomas Holder PyMOL Developer |