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

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

src/p/y/Pymol-script-repo-HEAD/modules/ADT/AutoDockTools/Utilities24/write_conformations_from_dlg.py   Pymol-script-repo(Download)
        outfile= output_stem + '_' + str(ix+1) + ext
        conf = d.ch.conformations[ix]
        d.ligMol.parser.write_with_new_coords(conf.getCoords(),outfile)
        if verbose: print "wrote ", outfile
 

src/p/y/Pymol-script-repo-HEAD/modules/ADT/AutoDockTools/Utilities24/write_vs_hits.py   Pymol-script-repo(Download)
        crds = d.ligMol.allAtoms.coords[:]
        #use the parser to get newlines to output
        lines_to_print = d.ligMol.parser.write_with_new_coords(crds)
        #edit these lines, adding new line + changing the RES field to current count
        for nl in lines_to_print: