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

All Samples(6)  |  Call(5)  |  Derive(0)  |  Import(1)

src/p/y/Pymol-script-repo-HEAD/modules/ADT/AutoDockTools/autoanalyzeCommands.py   Pymol-script-repo(Download)
from AutoDockTools.DockingParameters import DockingParameters
from AutoDockTools.Conformation import AutodockState, ConformationHandler
from AutoDockTools.ConfPlayer import ConformationPlayer, PopulationPlayer
from AutoDockTools.Docking import Docking, FoxResultProcessor
from AutoDockTools.DlgParser import DlgParser
            lig = docking.ligMol
            if not hasattr(lig,'spw'):
                lig.spw = ConformationPlayer(lig, docking, self.vf, 
                        lig.name, docking.ch.conformations, form2=1)
                        #buttonMask={'recordB':False})
            #TRACE whether ask is necessary!!!
            if self.vf.userpref['Player GUI']['value']=='ConformationPlayer':
                mol.spw = ConformationPlayer(mol, docking, self.vf, 
                            mol.name, docking.ch.conformations, form2=1,
                            ask=ask)
        else:
            #TRACE whether ask is necessary!!!
            mol.spw = ConformationPlayer(mol, docking, self.vf, 
                            mol.name, clist, form2=1,
                            ask=ask)
            else:
                titleStr = mol.name + " player"
                mol.spw = ConformationPlayer(mol, docking, self.vf, titleStr,
                                            clist, idList=idList, form2=1, ask=self.ask)
                mol.spw.nextFrame(1)