victor-gil-sepulveda / pyRMSD

pyRMSD is a small Python package that aims to offer an integrative and efficient way of performing RMSD calculations of large sets of structures. It is specially tuned to do fast collective RMSD calculations, as pairwise RMSD matrices.
Other
26 stars 14 forks source link

Adding pickle options to CondensedMatrix #6

Open victor-gil-sepulveda opened 11 years ago

victor-gil-sepulveda commented 11 years ago

Currently pickling can only be used by registering the pickling function in client code with copy_reg (http://docs.python.org/2/library/copy_reg.html)

See http://stackoverflow.com/questions/12530333/python-pickling-c-objects (defining the reduce or pickling needed methods)