Skip to content
GitLab
Menu
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
554cdfa6
Commit
554cdfa6
authored
Sep 02, 2014
by
Peter van 't Hof
Browse files
Throw Exception when root is no flexiprep
parent
e274b6df
Changes
1
Hide whitespace changes
Inline
Side-by-side
biopet-framework/src/main/scala/nl/lumc/sasc/biopet/pipelines/flexiprep/FlexiprepSummary.scala
View file @
554cdfa6
...
...
@@ -45,7 +45,9 @@ class FlexiprepSummary(val root: Configurable) extends InProcessFunction with Co
var
fastqcR1after
:
Fastqc
=
_
var
fastqcR2after
:
Fastqc
=
_
var
flexiprep
:
Flexiprep
=
root
.
asInstanceOf
[
Flexiprep
]
var
flexiprep
:
Flexiprep
=
if
(
root
.
isInstanceOf
[
Flexiprep
])
root
.
asInstanceOf
[
Flexiprep
]
else
{
throw
new
IllegalStateException
(
"Root is no instance of Flexiprep"
)
}
var
resources
:
Map
[
String
,
Json
]
=
Map
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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