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
a93b0bbd
Commit
a93b0bbd
authored
Feb 06, 2015
by
Peter van 't Hof
Browse files
Fix bug on relative files
parent
45200c55
Changes
1
Show whitespace changes
Inline
Side-by-side
public/biopet-framework/src/main/scala/nl/lumc/sasc/biopet/core/BiopetCommandLineFunctionTrait.scala
View file @
a93b0bbd
...
...
@@ -52,9 +52,7 @@ trait BiopetCommandLineFunctionTrait extends CommandLineFunction with Configurab
checkExecutable
afterGraph
super
.
freezeFieldValues
()
if
(
jobOutputFile
==
null
)
jobOutputFile
=
new
File
(
firstOutput
.
getParent
+
"/."
+
firstOutput
.
getName
+
"."
+
configName
+
".out"
)
if
(
jobOutputFile
==
null
)
jobOutputFile
=
new
File
(
firstOutput
.
getAbsoluteFile
.
getParent
+
"/."
+
firstOutput
.
getName
+
"."
+
configName
+
".out"
)
if
(
threads
==
0
)
threads
=
getThreads
(
defaultThreads
)
if
(
threads
>
1
)
nCoresRequest
=
Option
(
threads
)
...
...
@@ -65,6 +63,8 @@ trait BiopetCommandLineFunctionTrait extends CommandLineFunction with Configurab
}
if
(
vmem
.
isDefined
)
jobResourceRequests
:+=
"h_vmem="
+
vmem
.
get
jobName
=
configName
+
":"
+
(
if
(
firstOutput
!=
null
)
firstOutput
.
getName
else
jobOutputFile
)
super
.
freezeFieldValues
()
}
protected
def
checkExecutable
{
...
...
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