Commit f8f55dd9 authored by Jasper Koehorst's avatar Jasper Koehorst
Browse files

reverse check

parent cab866d5
......@@ -888,7 +888,7 @@ public class ExcelValidator {
} else {
String fileName = getStringValueCell(fileCell);
// Check the FileNameForwardPath and FileNameReversePath first
boolean paired = row.getCell(header.indexOf(REVERSE_FILENAME)) != null && row.getCell(header.indexOf(REVERSE_FILENAME)).getStringCellValue().trim().length() > 0;
boolean paired = header.contains(REVERSE_FILENAME) && row.getCell(header.indexOf(REVERSE_FILENAME)) != null && row.getCell(header.indexOf(REVERSE_FILENAME)).getStringCellValue().trim().length() > 0;
if (paired) {
PairedSequenceDataSet pairedSequenceDataSetForward = domain.make(PairedSequenceDataSet.class, PREFIX + fileName);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment