Hi,
I found some strange action when executing pymol command
from external python interpreter.
program1(test1.py) work well.I can see test.pdb with stick.
Buit test2.py does not work well, Pymol launched ,but I can not
see test.pdb.
Additionally when I type program1 in external python interpreter
line by line, Pymol dump.
Why does only program1 work well? Is this a bug?
--- program 1 (test1.py)---
import pymol
pymol.finish_launching()
from pymol import cmd
cmd.load("test.pdb")
cmd.show("stick")
--- program 2 (test2.py)---
def view():
import pymol
pymol.finish_launching()
from pymol import cmd
cmd.load("test.pdb")
cmd.show("stick")
view()
Takefumi SORA