Re: [PyMOL] Rendering Unit Cell in API

2020-10-08 Thread Thomas Holder
Hi Shay, I think the unit cell is simply clipped off with how you set up the camera view. Try calling "clip" after every "zoom" call, like this: cmd.zoom(complete=1) cmd.clip("slab", 100) Cheers, Thomas > On Sep 30, 2020, at 4:42 PM, CHAUDHURI, SHAY (PGR) > wrote: > > Hi all, > > I'm t

Re: [PyMOL] Rendering Unit Cell in API

2020-10-01 Thread CHAUDHURI, SHAY (PGR)
Hi Blaine, I tried using cmd.do() and your suggested command but I'm getting the following error: "Warning: failed to fetch from http://files.rcsb.org/download/1%7Cw9.cif.gz Warning: failed to fetch from http://ftp.wwpdb.org/pub/pdb/data/structures/divided/mmCIF/%7Cw/1%7Cw9.cif.gz Warning: fai

Re: [PyMOL] Rendering Unit Cell in API

2020-09-30 Thread Mooers, Blaine H.M. (HSC)
Hi Shay, cmd.do() allows you to run pml code. Try cmd.do("fetch 1lw9;show cell;png testcell.png") Best regards, Blaine Blaine Mooers, Ph.D. Associate Professor Department of Biochemistry and Molecular Biology College of Medicine University of Oklahoma Health Sciences Center S.L. Young Biomedi