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

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

src/p/y/Pymol-script-repo-HEAD/modules/ADT/AutoDockTools/Utilities24/summarize_results4.py   Pymol-script-repo(Download)
    #set up counts
    total_num_atoms = len(d.ligMol.allAtoms)
    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()