Improvements for the add_item() methods of MolecularContainer, ResidueContainer, and SpinContainer.
The logic is much improved and split into 2 parts: replace the current empty container or append a new container.
Authored by: bugman 2008-04-23
Parent: [r5964]
Child: [r5966]