Streamlined small part of pdb2gmx
commita237b3fc0a8325bbd91137eead187f9de5b5937e
authorMark Abraham <Mark.J.Abraham@gmail.com>
Sun, 17 Jul 2011 22:06:13 +0000 (18 08:06 +1000)
committerMark Abraham <Mark.J.Abraham@gmail.com>
Sun, 17 Jul 2011 22:14:11 +0000 (18 08:14 +1000)
tree98ec23d15d60d140a2468117a20e7d9fe48138fe
parent748bac9865be847609c0fb2e5790c4454f8b98fb
Streamlined small part of pdb2gmx

In the absence of manual assignment of histidine protonation, the
automated assignment mechanism analysed the existence of hydrogen
bonds before determining whether any histidine residues existed in
the current chain. This led to confusing output on (for example)
DNA chains.

This improvement checks for the existence of at least one histidine
before analysing and reporting on the hydrogen-bonding network.
Thus pdb2gmx will process chains lacking histidine slightly faster,
and be negligibly slower for those including a histidine.

It's also a little more verbose about why it is searching for
hydrogen-bonding networks.
src/kernel/hizzie.c