Re: [PyMOL] command-line and python scripts

2003-03-26 Thread Kristian Rother
Dear Markus, > 1) How can I supply arguments to a python script, > when I invoke it from > the pymol command line? Write the python script like def bla(arg1,arg2): any.python.commands(arg1,arg2) return from pymol import cmd cmd.extend('blacommand',bla) Now you can call your function '

[PyMOL] erratic graphics performance and GNOME vs KDE terminals

2003-03-26 Thread Daniel John Rigden
Hi everyone I have a couple of observations/problems, more in the irritating rather than serious category, but which I'd still like explanations for. 1. I have a Dell Precision machine with Nvidia graphics which generally works extremely well with Pymol. It's recognised like this OpenGL based

[PyMOL] command-line and python scripts

2003-03-26 Thread Markus Meier
Dear all, I have some questions mainly regarding command-line and python scripts in pymol: 1) How can I supply arguments to a python script, when I invoke it from the pymol command line? 2) Can I set user variables in the pymol command line and access them in a python script? 3) Can I re