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
be4fc224
Commit
be4fc224
authored
Jan 14, 2016
by
Peter van 't Hof
Browse files
Fixed reference test
parent
9e62862f
Changes
2
Hide whitespace changes
Inline
Side-by-side
public/biopet-core/src/test/scala/nl/lumc/sasc/biopet/core/ReferenceTest.scala
View file @
be4fc224
...
...
@@ -19,6 +19,7 @@ class ReferenceTest extends TestNGSuite with Matchers with MockitoSugar {
@Test
def
testDefault
:
Unit
=
{
Logging
.
errors
.
clear
()
make
(
config
::
testReferenceNoIndex
::
Nil
).
referenceFasta
()
Logging
.
checkErrors
(
true
)
...
...
public/biopet-utils/src/main/scala/nl/lumc/sasc/biopet/utils/Logging.scala
View file @
be4fc224
...
...
@@ -36,7 +36,7 @@ trait Logging {
object
Logging
{
val
logger
=
Logger
.
getRootLogger
private
val
errors
:
ListBuffer
[
Exception
]
=
ListBuffer
()
private
[
biopet
]
val
errors
:
ListBuffer
[
Exception
]
=
ListBuffer
()
def
addError
(
error
:
String
,
debug
:
String
=
null
)
:
Unit
=
{
val
msg
=
error
+
(
if
(
debug
!=
null
&&
logger
.
isDebugEnabled
)
"; "
+
debug
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