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
58f726ba
Commit
58f726ba
authored
Mar 18, 2016
by
Peter van 't Hof
Browse files
Fix compile warning
parent
13ca628a
Changes
1
Hide whitespace changes
Inline
Side-by-side
public/biopet-core/src/main/scala/nl/lumc/sasc/biopet/core/Reference.scala
View file @
58f726ba
...
...
@@ -83,8 +83,8 @@ trait Reference extends Configurable {
val
defaults
=
ConfigUtils
.
mergeMaps
(
this
.
defaults
,
this
.
internalDefaults
)
def
getReferences
(
map
:
Map
[
String
,
Any
])
:
Set
[(
String
,
String
)]
=
(
for
(
(
species
,
species_content
:
Map
[
String
,
Any
]
)
<-
map
.
getOrElse
(
"references"
,
Map
[
String
,
Any
]()).
asInstanceOf
[
Map
[
String
,
Any
]].
toList
;
(
reference_name
,
_
)
<-
species_content
.
toList
(
species
,
species_content
)
<-
map
.
getOrElse
(
"references"
,
Map
[
String
,
Any
]()).
asInstanceOf
[
Map
[
String
,
Any
]].
toList
;
(
reference_name
,
_
)
<-
species_content
.
asInstanceOf
[
Map
[
String
,
Any
]].
toList
)
yield
(
species
,
reference_name
)).
toSet
val
references
=
getReferences
(
defaults
)
++
getReferences
(
Config
.
global
.
map
)
...
...
Write
Preview
Markdown
is supported
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