}
@RequestMapping(value = "/solid/{referenceId}/{runName}", method = RequestMethod.GET)
public ModelAndView solidStats(@PathVariable(value = "referenceId") Long referenceId, @PathVariable(value = "runName") String runName, ModelMap model) throws IOException {
model.put("platformtype", PlatformType.SOLID);
SequencerReference sr = requestManager.getSequencerReferenceById(referenceId);
if (sr != null) {
if (!sr.getPlatform().getPlatformType().equals(PlatformType.SOLID)) {
throw new IOException("Trying to interrogate a " + sr.getPlatform().getPlatformType().getKey() + " sequencer reference with an SOLiD strategy");
}
try {
Status status = requestManager.getStatusByRunName(runName);
if (status != null) {
model.put("referenceName", sr.getName());
model.put("referenceId", sr.getId());
model.put("runId", requestManager.getRunByAlias(runName).getId());
model.put("runName", runName);
model.put("runStatus", status);
InputStream in = StatsController.class.getResourceAsStream("/status/xsl/solid/statusXml.xsl");