code: public static List<Atom> getAtomsForGroup(Group inputGroup) {
  		Set<Atom> uniqueAtoms = new HashSet<Atom>();
  		List<Atom> theseAtoms = new ArrayList<Atom>();
  		for(Atom a: inputGroup.getAtoms()){
  			theseAtoms.add(a);
  			uniqueAtoms.add(a);
  		}
  		List<Group> altLocs = inputGroup.getAltLocs();
  		for(Group thisG: altLocs){
  			for(Atom a: thisG.getAtoms()){
  				if(uniqueAtoms.contains(a)){
  					continue;
  				}
  				theseAtoms.add(a);
  			}
  		}
  		return theseAtoms;
  	}
docs: Get a list of atoms for a group. Only add each atom once.
  @param inputGroup the Biojava Group to consider
  @return the atoms for the input Biojava Group