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/summarize_docking.py   Pymol-script-repo(Download)
        ostr += "%4d,%2d" %(len(d.ligMol.allAtoms), d.ligMol.parser.keys.count('BRANCH'))
        if  report_torsion_tree_depth:
            ostr += ",%2d" %(d.ligMol.torTree.get_depth())
        ostr +='\n'
        try:
            ostr += "%4d,%3d" %(len(d.ligMol.allAtoms), d.ligMol.parser.keys.count('BRANCH'))
            if  report_torsion_tree_depth:
                ostr += ",%2d" %(d.ligMol.torTree.get_depth())
            ostr = ostr + "\n"
            fptr.write(ostr)

src/p/y/Pymol-script-repo-HEAD/modules/ADT/AutoDockTools/Utilities24/summarize_results4.py   Pymol-script-repo(Download)
    num_hydrogen_atoms = len(d.ligMol.allAtoms.get(lambda x: x.element=='H'))
    num_heavy_atoms = total_num_atoms - num_hydrogen_atoms
    torTree_depth = d.ligMol.torTree.get_depth()
    ostr = ""
    if print_best_only or print_Largest_only: