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
4fa85007
Commit
4fa85007
authored
Feb 08, 2016
by
Peter van 't Hof
Browse files
Added extra check for forcing abolute paths for input files
parent
acbbc173
Changes
1
Hide whitespace changes
Inline
Side-by-side
public/biopet-core/src/main/scala/nl/lumc/sasc/biopet/core/BiopetQScript.scala
View file @
4fa85007
...
...
@@ -99,7 +99,8 @@ trait BiopetQScript extends Configurable with GatkLogging { qscript: QScript =>
inputFiles
.
foreach
{
i
=>
if
(!
i
.
file
.
exists
())
Logging
.
addError
(
s
"Input file does not exist: ${i.file}"
)
else
if
(!
i
.
file
.
canRead
)
Logging
.
addError
(
s
"Input file can not be read: ${i.file}"
)
if
(!
i
.
file
.
canRead
)
Logging
.
addError
(
s
"Input file can not be read: ${i.file}"
)
if
(!
i
.
file
.
isAbsolute
)
Logging
.
addError
(
s
"Input file should be an absulute path: ${i.file}"
)
}
functions
.
filter
(
_
.
jobOutputFile
==
null
).
foreach
(
f
=>
{
...
...
Write
Preview
Supports
Markdown
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