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
be748324
Commit
be748324
authored
Mar 09, 2017
by
Peter van 't Hof
Browse files
Format fix
parent
0d8bafce
Changes
2
Hide whitespace changes
Inline
Side-by-side
biopet-core/src/main/scala/nl/lumc/sasc/biopet/core/summary/WriteSummary.scala
View file @
be748324
...
...
@@ -168,7 +168,7 @@ class WriteSummary(val parent: SummaryQScript) extends InProcessFunction with Co
val
pipeFunctions
=
(
for
(
f
<-
qscript
.
functions
)
yield
f
match
{
case
f
:
BiopetCommandLineFunction
=>
f
.
pipesJobs
case
_
=>
Nil
case
_
=>
Nil
}).
flatten
(
for
(
f
<-
qscript
.
functions
++
pipeFunctions
)
yield
{
f
match
{
...
...
biopet-utils/src/main/scala/nl/lumc/sasc/biopet/utils/ConfigUtils.scala
View file @
be748324
...
...
@@ -106,9 +106,9 @@ object ConfigUtils extends Logging {
val
value
=
map
.
get
(
path
.
head
)
if
(
path
.
tail
.
isEmpty
||
value
.
isEmpty
)
value
else
value
.
get
match
{
case
map
:
Map
[
_
,
_
]
=>
getValueFromPath
(
map
.
asInstanceOf
[
Map
[
String
,
Any
]],
path
.
tail
)
case
map
:
Map
[
_
,
_
]
=>
getValueFromPath
(
map
.
asInstanceOf
[
Map
[
String
,
Any
]],
path
.
tail
)
case
map
:
java.util.LinkedHashMap
[
_
,
_
]
=>
getValueFromPath
(
map
.
toMap
.
asInstanceOf
[
Map
[
String
,
Any
]],
path
.
tail
)
case
_
=>
None
case
_
=>
None
}
}
else
Some
(
map
)
}
...
...
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