XNAT Tools

Pipeline Annotations

There are two annotations to use when writing pipeline tests, depending on whether the test is launching a pipeline, or checking successful completion. On a launch test use the @PipelineLaunchParams annotation:

  1. Specify estimatedRuntime() in minutes.

  2. Provide the accession number for the session which will run the pipeline under session().

  3. If the pipeline is contained in the Pipeline enum, specify it under pipeline(). Otherwise, set that to Custom, and provide all of the other parameters.

On a check test, use the @PipelineCheckParams annotation:

  1. Again specify the pipeline() variable. If your pipeline is not available in the enum, use Custom and set the pipelineName() variable manually.

  2. Set a maxQueueTime() and maxRuntime() in seconds.