Search in sources :

Example 1 with ExpressionExperimentReportTaskCommand

use of ubic.gemma.core.tasks.maintenance.ExpressionExperimentReportTaskCommand in project Gemma by PavlidisLab.

the class ExpressionExperimentReportGenerationController method run.

public String run(Long id) {
    ExpressionExperiment ee = expressionExperimentService.load(id);
    if (ee == null) {
        throw new IllegalArgumentException("Could not access experiment with id=" + id);
    }
    ExpressionExperimentReportTaskCommand cmd = new ExpressionExperimentReportTaskCommand(ee);
    return taskRunningService.submitLocalTask(cmd);
}
Also used : ExpressionExperimentReportTaskCommand(ubic.gemma.core.tasks.maintenance.ExpressionExperimentReportTaskCommand) ExpressionExperiment(ubic.gemma.model.expression.experiment.ExpressionExperiment)

Aggregations

ExpressionExperimentReportTaskCommand (ubic.gemma.core.tasks.maintenance.ExpressionExperimentReportTaskCommand)1 ExpressionExperiment (ubic.gemma.model.expression.experiment.ExpressionExperiment)1