Skip to content
Snippets Groups Projects
Commit a207d0b6 authored by bow's avatar bow
Browse files

Fix duplicate value on valid cufflinks measures

parent 10873179
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,7 @@ trait CufflinksProducer { this: Gentrap#Sample =>
import Gentrap.StrandProtocol._
/** Valid cufflink measure types */
protected val cufflinksMeasures = Set(CufflinksStrict, CufflinksGuided, CufflinksStrict)
protected val cufflinksMeasures = Set(CufflinksStrict, CufflinksGuided, CufflinksBlind)
/** Cufflink's terms for strand specificity */
lazy val strandedness: String = {
......@@ -28,7 +28,8 @@ trait CufflinksProducer { this: Gentrap#Sample =>
/** Case class for containing cufflinks + its output symlink jobs */
protected case class CufflinksJobSet(cuffType: ExpMeasures.Value) {
require(cufflinksMeasures.contains(cuffType), "Cufflinks measurement type is either strict, guided, or blind")
require(cufflinksMeasures.contains(cuffType),
"Cufflinks measurement type is either " + cufflinksMeasures.mkString(", ") + s"; not $cuffType")
/** Base name for output file extensions and config path */
lazy val name: String = cuffType match {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment