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
2ee7793a
Commit
2ee7793a
authored
Dec 17, 2016
by
Peter van 't Hof
Browse files
Sort references list
parent
958b9456
Changes
1
Hide whitespace changes
Inline
Side-by-side
biopet-core/src/main/scala/nl/lumc/sasc/biopet/core/Reference.scala
View file @
2ee7793a
...
...
@@ -183,7 +183,7 @@ object Reference {
val
species
=
Question
.
string
(
"species"
,
description
=
Some
(
if
(
globalSpecies
.
nonEmpty
)
s
"""Species found in general config:
|- ${globalSpecies.keys.mkString("\n- ")}
|- ${globalSpecies.keys.
toList.sorted.
mkString("\n- ")}
|$warn
|"""
.
stripMargin
else
s
"No references found in global config. $warn"
))
...
...
@@ -191,7 +191,7 @@ object Reference {
val
referenceName
=
Question
.
string
(
"reference_name"
,
description
=
Some
(
if
(
globalReferences
.
nonEmpty
)
s
"""Reference for $species found in general config:
|- ${globalReferences.keys.mkString("\n- ")}
|- ${globalReferences.keys.
toList.sorted.
mkString("\n- ")}
|$warn
|"""
.
stripMargin
else
s
"No references found in global config. $warn"
))
...
...
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