fix crash in join aligner if flist was previously aligned
@@ -295,8 +295,10 @@ public class JoinAlignerTask extends AbstractTask {
// TODO: test aligned feature list correctness, seems like rows are not aligned correctly
// while aligning previously aligned feature lists
for (RawDataFile file : row.getRawDataFiles()) {
+ if(row.getFeature(file) != null) {
targetRow.addFeature(file, new ModularFeature(alignedFeatureList, row.getFeature(file)));
}
+ }
processedRows++;
}
