[Biopython-dev] Features of the GSOC branch ready to be merged
João Rodrigues
anaryin at gmail.com
Wed Jan 26 01:47:02 UTC 2011
Adding to the build_biological_unit question. I re-wrote it to create a new
structure and not to use deepcopy. A very crude benchmark (running two
versions of the function) shows this:
New function (w/out deepcopy):
real 1m26.078s
user 1m21.993s
sys 0m2.048s
Old function (w/ deepcopy):
real 2m15.544s
user 2m9.105s
sys 0m3.092s
So... a slight improvement I'd say. Pushed it to the pdb_enhancements branch
as a new function called apply_transformation_matrix. A perhaps more
descriptive and explicit name to the function.
Cheers,
João
More information about the Biopython-dev
mailing list