Skip to content
Snippets Groups Projects
Commit 6d87ea53 authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Fix code warnings

parent 3b69294d
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
def init() {
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 (libId == null || libId == None) Logging.addError("Missing library ID on flexiprep module")
if (sampleId == null || sampleId.isEmpty) Logging.addError("Missing sample 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")
else {
......
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