From: Tsjerk W. <ts...@gm...> - 2012-09-14 06:04:24
|
Hi Andrei, You only specified the width. The next argument should then be the height, for which you filled in 'ray'. So pymol tries to make a number of that, which fails. Cheers, Tsjerk On Sep 13, 2012 7:45 PM, "Andrei Tudor" <and...@ro...> wrote: Hello, I installed pymol a few days ago from source. Everything went smothly, except for when I tried to save a png image. I used the command: ">png image.png, 1920, ray" This gives the following error: PyMOL>png test.png, 1920, ray Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/pymol/parser.py", line 254, in parse self.result=apply(layer.kw[0],layer.args,layer.kw_args) File "/usr/local/lib/python2.7/dist-packages/pymol/exporting.py", line 338, in png r = _self._png(str(filename),int(width),int(height),float(dpi), ValueError: invalid literal for int() with base 10: 'ray' I don't really know if this is a problem with my python libraries or with pymol. If I do ">ray" it works without a problem, as works ">png image.png, 1920" Thanks, Andrei ------------------------------------------------------------------------------ Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ PyMOL-users mailing list (PyM...@li...) Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users Archives: http://www.mail-archive.com/pym...@li... |