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

Add more descriptive error message in Carp when sample is called control

parent ad297734
No related branches found
No related tags found
No related merge requests found
......@@ -117,7 +117,10 @@ class Carp(val root: Configurable) extends QScript with MultiSampleQScript with
}
}
def init() {
def init() = {
// ensure that no samples are called 'control' since that is our reserved keyword
require(!sampleIds.contains("control"),
"No sample should be named 'control' since it is a reserved for the Carp pipeline")
}
def biopetScript() {
......
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