Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/b/i/biskit-2.4/scripts/Mod/model.py   biskit(Download)
    for i in range( len(traj) ):
        print 'Pymol.add model', i
        p.addPdb( traj[i], 'model_%i'%i ) 
        names  += [ 'model_%i'%i ]
 
    ## load all templates and align to first model
    for t in templates:
        name = string.split( string.split(t, '/')[-1], '.')[0]
        names  += [ name ]
        p.addPdb( t, name )

src/b/i/biskit-2.4/Biskit/PDBDope.py   biskit(Download)
 
            pm = Pymoler()
            pm.addPdb( self.M, 'm' )
            pm.colorAtoms( 'm', N.clip(self.M.profile('relAS'), 0.0, 100.0) )
            pm.show()
 
            pm = Pymoler()
            pm.addPdb( self.M, 'm' )
            pm.colorAtoms( 'm', N.clip(self.M.profile('cons_ent'), 0.0, 100.0) )
            pm.show()