throw new IllegalArgumentException("Element position must be between 1 and " + MAX_ELEMENTS);
}
}
public void setElement(String pos, Library library) {
_384WellPlatePosition pp = _384WellPlatePosition.valueOf(pos);
if (pp != null) {
elements.set(_384WellPlatePosition.getPositionMap().get(pp), library);
}
else {
throw new IllegalArgumentException("Element position must be between A-P and 1-24");