Re: [PyMOL] running Python scripts with options

2006-07-14 Thread Tsjerk Wassenaar
Hi Mikael, As far as I'm aware that is not possible (and definitely not with "run", see 'help run'). What you can do is to define a function in test.py, which takes the arguments you want. Then, after running the script you can use the function as you please. If, in addition, you add to the end o

[PyMOL] running Python scripts with options

2006-07-14 Thread Mikael Hansen
Hi all, is there a way to run Python scripts with options in PyMOL, e.g. run test.py -i [PDB file name] ? When I naïvely run the above I get no file 'test.py -i [PDB file name]' found. Thanks, Mikael Sonne Hansen