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

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

src/p/y/Pymol-script-repo-HEAD/modules/ADT/AutoDockTools/Utilities24/write_models_from_states.py   Pymol-script-repo(Download)
                torsion_angles = fl[7:]
                newConf = Conformation(lig,origin,translation, quaternion, torsion_angles)
                newCrds = newConf.getCoords()
                if interim_state:
                    #here's where to add back the origin or ?
                torsion_angles = fl[7:]
                newConf = Conformation(lig,origin,translation, quaternion, torsion_angles)
                newCrds = newConf.getCoords()
                #write some MODEL stuff then newCrds
                ostr = "MODEL %d\n"%ctr

src/p/y/Pymol-script-repo-HEAD/modules/ADT/AutoDockTools/Utilities24/write_random_state_ligand.py   Pymol-script-repo(Download)
        if verbose: print 'dihe=', dihe
        conf = Conformation(m, origin, TRANS, rot, dihe)
        new_coords = conf.getCoords()
        #verify that no new bonds would be formed for this conformation
        m.allAtoms.updateCoords(new_coords, ind=coord_index)