Implemented the generic_fns.residue.renumber() function and fixed its unit tests.
Authored by: bugman 2007-11-03
Parent: [r3387]
Child: [r3389]