get_init_rms()
in Bio.PDB.qcprot.QCPSuperimposer
returns an error
#4314
Labels
get_init_rms()
in Bio.PDB.qcprot.QCPSuperimposer
returns an error
#4314
Setup
I am reporting a problem with Biopython version, Python version, and operating
system as follows:
Expected behaviour
The function
get_init_rms()
inBio.PDB.qcprot.QCPSuperimposer
should return the root mean square deviation of untransformed coordinates.Actual behaviour
Steps to reproduce
Note
I think that file biopython/Bio/PDB/qcprot.py the useage of np.dot functions is problematic. I think the formula from Superimposer module, but updated for the variable names like
np.sqrt(np.sum(np.sum(diff * diff)) / self.coords.shape[0])
should work.The text was updated successfully, but these errors were encountered: