for (Dilution d : p.getDilutions()) {
if ("RNA-Seq".equals(d.getLibrary().getLibraryStrategyType().getName())) naType = "rna";
}
}
else {
throw new IntegrationException("Cannot start analysis pipelines on a run with no pools on any lanes.");
}
}
map.put("lane-value", laneValue);
map.put("nucleic-acid-type", naType);