From: Warren D. <wa...@de...> - 2005-08-12 19:58:03
|
Carsten, Hmm... Unfortunately, the PyMOL command language currently provide any way of expressing a newline character, so you will need to use the API form of the scene command. Note that it is perfectly legal to use that form in a ".pml" file as follows, without an intervening variable: cmd.scene("new","store","line1\nline2") Cheers, Warren -- Warren L. DeLano, Ph.D. =20 Principal Scientist . DeLano Scientific LLC =20 . 400 Oyster Point Blvd., Suite 213 =20 . South San Francisco, CA 94080 USA =20 . Biz:(650)-872-0942 Tech:(650)-872-0834 =20 . Fax:(650)-872-0273 Cell:(650)-346-1154 . mailto:wa...@de... =20 =20 > -----Original Message----- > From: pym...@li...=20 > [mailto:pym...@li...] On Behalf Of=20 > Schubert, Carsten [PRDUS] > Sent: Friday, August 12, 2005 12:57 PM > To: pym...@li... > Subject: [PyMOL] Newline character in scene annotation message >=20 > Hi=20 >=20 > I am trying to combine a scene with annotations spanning=20 > several lines.=20 > So far something like=20 > > scene new, store, message=3D"Line1\nLine2"=20 >=20 > would produce some nice coloration effects but not a newline=20 > character.=20 >=20 > I was able to use the api function to do the trick=20 > >mesg=3D"line1\nline2"=20 > >cmd.scene("new","store",message=3Dmesg) >=20 > but I was wondering is there a way to use the non API=20 > function in the same way?=20 >=20 > Thanks=20 >=20 > Carsten=20 >=20 >=20 |