pmda
pmda copied to clipboard
hydrogenbond analysis should check for missing bonds in the same way as the serial code
The PMDA version of the new h-bond analysis code
- raises ValueError
- check
u.bonds
The serial version
- raises NoDataError
- checks u._topology.bonds
in PR https://github.com/MDAnalysis/mdanalysis/pull/2572
This came out of discussion in https://github.com/MDAnalysis/mdanalysis/issues/2396#issuecomment-596251787 and the PMDA version should do the same for performance and consistency.