@RequestMapping(value = "/details/{id}", method = RequestMethod.GET)
@ResponseBody
public DetailsResponse<ExperimentDetails> getDetails(@PathVariable final Long id, Principal principal) {
DetailsReader.ExperimentItem details = detailsReader.readExperiment(getUserId(principal), id);
ExperimentDetails result = new ExperimentDetails();
result.info = new StudyManagement.ExperimentInfo(details.name, details.description, details.workflowType, details.specie);
result.restriction = new StudyManagement.Restriction(details.instrumentModel, details.instrument);
result.project = details.project;
result.is2dLc = details.is2dLc;
result.ownerEmail = details.ownerEmail;