Commit 6d87ea53 authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Fix code warnings

parent 3b69294d
...@@ -75,8 +75,8 @@ class Flexiprep(val root: Configurable) extends QScript with SummaryQScript with ...@@ -75,8 +75,8 @@ class Flexiprep(val root: Configurable) extends QScript with SummaryQScript with
/** Function that's need to be executed before the script is accessed */ /** Function that's need to be executed before the script is accessed */
def init() { def init() {
if (inputR1 == null) Logging.addError("Missing input R1 on flexiprep module") if (inputR1 == null) Logging.addError("Missing input R1 on flexiprep module")
if (sampleId == null || sampleId == None) Logging.addError("Missing sample ID on flexiprep module") if (sampleId == null || sampleId.isEmpty) Logging.addError("Missing sample ID on flexiprep module")
if (libId == null || libId == None) Logging.addError("Missing library ID on flexiprep module") if (libId == null || libId.isEmpty) Logging.addError("Missing library ID on flexiprep module")
if (inputR1 == null) Logging.addError("Missing input R1 on flexiprep module") if (inputR1 == null) Logging.addError("Missing input R1 on flexiprep module")
else { else {
......
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