[PyMOL] selection residues with an exact b-factor value

2013-10-10 Thread Osborne Michael
Hello Pymolers
I think this is an easy one, but I can't seem to get this to work.
I'd like to select residues with a bfactor equal to a certain value, say 0. 
However something like:
select aa, b = 0
does not work
although
select aa, b  0.5
does work.
Cam someone show me how to do this?
Cheers

Mike


--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134071iu=/4140/ostg.clktrk
___
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net


Re: [PyMOL] selection residues with an exact b-factor value

2013-10-10 Thread Jason Vertrees
Hi Mike,

We didn't implement the equals operator, but the less than and greater than
operators are strict comparisons so you can do the following:

select my_exact_b, not (b0.5 or b0.5)

Cheers,

-- Jason


On Thu, Oct 10, 2013 at 9:34 PM, Osborne Michael 
michael.osbo...@umontreal.ca wrote:

 Hello Pymolers
 I think this is an easy one, but I can't seem to get this to work.
 I'd like to select residues with a bfactor equal to a certain value, say
 0. However something like:
 select aa, b = 0
 does not work
 although
 select aa, b  0.5
 does work.
 Cam someone show me how to do this?
 Cheers

 Mike



 --
 October Webinars: Code for Performance
 Free Intel webinars can help you accelerate application performance.
 Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
 from
 the latest Intel processors and coprocessors. See abstracts and register 
 http://pubads.g.doubleclick.net/gampad/clk?id=60134071iu=/4140/ostg.clktrk
 ___
 PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
 Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
 Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net




-- 
Jason Vertrees, PhD
Director of Core Modeling Products
Schrödinger, Inc.

(e) jason.vertr...@schrodinger.com
(o) +1 (603) 374-7120
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134071iu=/4140/ostg.clktrk___
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net