The nuclear systems 7Li and 7Be in a resonating group model