Further significant speedup to distance calculation by making it fully vectorised.
N.B. currently errors in getting CA coordinates from residues are not handled in the new implementation.
The original version had a try: except: clause which set distance to 20.0 if there
was any error in extracting coordinates.
If this is important we should probably try to implement a vectorisable way of handling this issue (e.g. via masking).
Do you have examples where this occurs or have an idea or when it would occur?
Further significant speedup to distance calculation by making it fully vectorised.
N.B. currently errors in getting CA coordinates from residues are not handled in the new implementation. The original version had a try: except: clause which set distance to 20.0 if there was any error in extracting coordinates.
If this is important we should probably try to implement a vectorisable way of handling this issue (e.g. via masking). Do you have examples where this occurs or have an idea or when it would occur?