Re: [PyMOL] Starting PyMol in interactive IPython Session

2016-12-01 Thread Leonhard Heizinger
Hi Tsjerk, thanks for your reply! this was also my first guess. However it isn't a formatting issue: In [5]: print(cmd.get_coords("1xyz")[0,0]) 41.0 Also fetched structures look "teared" in cartoon representation, supposedly because of the wrong coordinates. Calling the internal function

Re: [PyMOL] Starting PyMol in interactive IPython Session

2016-12-01 Thread Tsjerk Wassenaar
idn't work out as i expected. So once again and > hopefully formatted: > > > Hi! > > I stumbled upon some odd behavior when starting PyMol in an interactive > IPython Session. > > PyMol can be launched from interactive IPython like this: > > In [1]:

Re: [PyMOL] Starting PyMol in interactive IPython Session

2016-12-01 Thread Leonhard Heizinger
I guess formatting didn't work out as i expected. So once again and hopefully formatted: Hi! I stumbled upon some odd behavior when starting PyMol in an interactive IPython Session. PyMol can be launched from interactive IPython like this: In [1]: import pymol In [2]: from pymol import cmd

[PyMOL] Starting PyMol in interactive IPython Session

2016-12-01 Thread Leonhard Heizinger
Hi! I stumbled upon some odd behavior when starting PyMol in an interactive IPython Session. PyMol can be launched from interactive IPython like this: In [1]: import pymol In [2]: from pymol import cmd In [3]: pymol.finish_launching() In [4]: cmd.fetch("1xyz")So far, everything