Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Mirrors
biopet.biopet
Commits
6d87ea53
Commit
6d87ea53
authored
Jan 07, 2017
by
Peter van 't Hof
Browse files
Fix code warnings
parent
3b69294d
Changes
1
Hide whitespace changes
Inline
Side-by-side
flexiprep/src/main/scala/nl/lumc/sasc/biopet/pipelines/flexiprep/Flexiprep.scala
View file @
6d87ea53
...
...
@@ -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
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment