Commit 487324b4 authored by bow's avatar bow
Browse files

Add error message when a Flexiprep input file does not have the expected structure

parent b4b6785a
......@@ -98,7 +98,7 @@ class Flexiprep(val root: Configurable) extends QScript with SummaryQScript with
}
val unzippedExt = "." + getExtension(unzippedFilename)
(unzippedFilename, unzippedExt)
}
} ensuring(_._2.length > 1, "Flexiprep input files must have an extension when uncompressed.")
/** Function that's need to be executed before the script is accessed */
def init() {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment