int cellNumber = Integer.valueOf(configList.get(1));
for (int k = 2; k < configList.size(); k++) {
int order = Integer.valueOf(configList.get(k));
orderList.add(order);
}
result.add(new Sample(name, rackNumber, cellNumber,null, positions, orderList));
} catch (Exception e) {
JXErrorPane.showDialog(e);
JOptionPane.showMessageDialog(null, "The device " + proxy.get_name() + " configuration is inconsistent.\n Please check the properties and relaunch this application.", "Alert", JOptionPane.ERROR_MESSAGE);
}