From: DeLano, W. <wa...@su...> - 2002-09-13 18:55:49
|
Okay I found the problem... This fails: "mpng mov # will create mov0001.png, mov0002.png, etc." but this: "mpng mov # will create mov0001.png, mov0002.png, etc." works fine.=20 The problem is that PyMOL isn't yet 100% tolerant of comments which = follow PyMOL commands on the same line. Unfortunately, I can't make the = uniform assumption that everything after a "#" is a comment, since "#" = is a valid SMILES character, and I need to leave room for SMILES = capabilities down the road. For the time being, to be absolutely safe, put comments on their own = separate lines in PyMOL command scripts (not Python programs, which are = unaffected by this limitation). =20 Sorry for the inconvenience this may cause. =20 Cheers, Warren -- mailto:wa...@su... Warren L. DeLano, Ph.D. Informatics Manager Sunesis Pharmaceuticals, Inc. 341 Oyster Point Blvd. S. San Francisco, CA 94080 (650)-266-3606 FAX:(650)-266-3501 > -----Original Message----- > From: Jennifer Ekstrom [mailto:jek...@Ph...] > Sent: Friday, September 13, 2002 9:41 AM > To: 'pym...@li...' > Subject: [PyMOL] PyMOL movie question >=20 >=20 > Hello,=20 > I'm a new PyMOL user, and am trying to make my first=20 > molecular movie. =20 >=20 > I've inserted the following into my script:=20 >=20 > mset 1 x120 =20 > util.mroll(1,120,1) =20 > set ray_trace_frames=3D1 > set cache_frames=3D0 > mclear > mpng mov=20 >=20 > and I'm getting the following output: >=20 > PyMOL>mset 1 x120 =20 > PyMOL>util.mroll(1,120,1) =20 > PyMOL>set ray_trace_frames=3D1 > Setting: ray_trace_frames set to 1.00000. > PyMOL>set cache_frames=3D0 > Setting: cache_frames set to 0.00000. > PyMOL>mclear > PyMOL>mpng mov=20 > Traceback (most recent call last): > File "C:\Program Files\DeLano=20 > Scientific\PyMOL/modules\pymol\parser.py", > lin > e 126, in parse > result=3Dapply(kw[nest][0],args[nest],kw_args[nest]) > File "C:\Program Files\DeLano=20 > Scientific\PyMOL/modules\pymol\moving.py", > lin > e 178, in mpng > r =3D cmd._mpng(prefix,int(first)-1,int(last)-1) > ValueError: invalid literal for int(): mov0002.png >=20 >=20 > Any suggestions?=20 >=20 > Thanks,=20 > Jennifer=20 >=20 >=20 > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > PyMOL-users mailing list > PyM...@li... > https://lists.sourceforge.net/lists/listinfo/pymol-users >=20 |