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
8beccf35
Commit
8beccf35
authored
Nov 21, 2016
by
Sander Bollen
Browse files
Merge branch 'fix-BIOPET-353' into 'develop'
Fixing BIOPET-353 See merge request !475
parents
6f32526d
c1fb2254
Changes
1
Hide whitespace changes
Inline
Side-by-side
biopet-core/src/main/scala/nl/lumc/sasc/biopet/core/BiopetQScript.scala
View file @
8beccf35
...
...
@@ -111,7 +111,8 @@ trait BiopetQScript extends Configurable with GatkLogging { qscript: QScript =>
functions
.
filter
(
_
.
jobOutputFile
==
null
).
foreach
(
f
=>
{
try
{
f
.
jobOutputFile
=
new
File
(
f
.
firstOutput
.
getAbsoluteFile
.
getParent
,
"."
+
f
.
firstOutput
.
getName
+
"."
+
f
.
getClass
.
getSimpleName
+
".out"
)
val
className
=
if
(
f
.
getClass
.
isAnonymousClass
)
f
.
getClass
.
getSuperclass
.
getSimpleName
else
f
.
getClass
.
getSimpleName
f
.
jobOutputFile
=
new
File
(
f
.
firstOutput
.
getAbsoluteFile
.
getParent
,
"."
+
f
.
firstOutput
.
getName
+
"."
+
className
+
".out"
)
}
catch
{
case
e
:
NullPointerException
=>
logger
.
warn
(
s
"Can't generate a jobOutputFile for $f"
)
}
...
...
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