@Override protected void initFile(String id) throws FormatException, IOException { super.initFile(id); measurementFiles = new ArrayList<String>(); acquisitionDates = new HashMap<Integer, Timestamp>(); if (checkSuffix(id, FLEX_SUFFIX)) { initFlexFile(id); } else if (checkSuffix(id, RES_SUFFIX)) { initResFile(id); } else initMeaFile(id); if (plateCount == flexFiles.size()) { plateCount /= wellCount; if ((plateCount % fieldCount) == 0) { plateCount /= fieldCount; } } }
@Override protected void initFile(String id) throws FormatException, IOException { super.initFile(id); measurementFiles = new ArrayList<String>(); acquisitionDates = new HashMap<Integer, Timestamp>(); if (checkSuffix(id, FLEX_SUFFIX)) { initFlexFile(id); } else if (checkSuffix(id, RES_SUFFIX)) { initResFile(id); } else initMeaFile(id); if (plateCount == flexFiles.size()) { plateCount /= wellCount; if ((plateCount % fieldCount) == 0) { plateCount /= fieldCount; } } }