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
5d8fb79d
Commit
5d8fb79d
authored
Sep 18, 2015
by
Peter van 't Hof
Browse files
skip canRead when file does not exist
parent
5f7b2cbe
Changes
1
Hide whitespace changes
Inline
Side-by-side
public/biopet-core/src/main/scala/nl/lumc/sasc/biopet/core/BiopetQScript.scala
View file @
5d8fb79d
...
...
@@ -92,7 +92,7 @@ trait BiopetQScript extends Configurable with GatkLogging {
inputFiles
.
foreach
{
i
=>
if
(!
i
.
file
.
exists
())
Logging
.
addError
(
s
"Input file does not exist: ${i.file}"
)
if
(!
i
.
file
.
canRead
())
Logging
.
addError
(
s
"Input file can not be read: ${i.file}"
)
else
if
(!
i
.
file
.
canRead
())
Logging
.
addError
(
s
"Input file can not be read: ${i.file}"
)
}
reportClass
.
foreach
(
add
(
_
))
...
...
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