Hi,
Your assumptions are correct, as I've copied and tested your code, which
works fine from the current working directory where I ran the pymol start
script. It's probably a quirk w/ your installation? Otherwise, you can just
specify the full path to your script or "cd" into the folder... either
Thanks for your mail. I did two things:
(i) typed the entire path starting from /home/../../draw_cell.py
(ii)"cd /home/../../" and then "run draw_cell.py.
It still gives me the same error of not finding cctbx. I checked if I
am in the correct directory by typing "pwd" and got the correct
answer.
Hi,
Your assumptions are correct, as I've copied and tested your code, which
works fine from the current working directory where I ran the pymol start
script. It's probably a quirk w/ your installation? Otherwise, you can just
specify the full path to your script or "cd" into the folder... either
On Fri, 09 Jul 2010 13:46:57 -0400 Vivek Ranjan wrote:
> Hello,
>
> I am trying to run a simple python script from Pymol and cannot run it:
> I saved the above in a file named "axes.py" and put it in the same
> directory from where I type "pymol" (on ubuntu linux). Then I type
> "run axes.py"
want to be.
HTH
Carsten
> -Original Message-
> From: Vivek Ranjan [mailto:vran...@gmail.com]
> Sent: Friday, July 09, 2010 1:47 PM
> To: Pymol
> Subject: [PyMOL] how to run a python script
>
> Hello,
>
> I am trying to run a simple python script f
Hello,
I am trying to run a simple python script from Pymol and cannot run it:
***
# axes.py
from pymol.cgo import *
from pymol import cmd
from pymol.vfont import plain
# create the axes object, draw axes with cylinders coloured red, green,
#blue for X, Y and Z
obj =