Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
biopet.biopet
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Mirrors
biopet.biopet
Commits
a00d02ff
Commit
a00d02ff
authored
Apr 07, 2017
by
Peter van 't Hof
Committed by
GitHub
Apr 07, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into fix-BIOPET-635
parents
a34e6b23
63c00a91
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
biopet-core/src/main/scala/nl/lumc/sasc/biopet/core/extensions/PythonCommandLineFunction.scala
...sc/biopet/core/extensions/PythonCommandLineFunction.scala
+2
-2
No files found.
biopet-core/src/main/scala/nl/lumc/sasc/biopet/core/extensions/PythonCommandLineFunction.scala
View file @
a00d02ff
...
...
@@ -33,7 +33,7 @@ trait PythonCommandLineFunction extends BiopetCommandLineFunction {
* @param script name / location of script
*/
def
setPythonScript
(
script
:
String
)
{
pythonScript
=
new
File
(
script
)
pythonScript
=
new
File
(
script
)
.
getAbsoluteFile
if
(!
pythonScript
.
exists
())
{
setPythonScript
(
script
,
""
)
}
else
{
...
...
@@ -48,7 +48,7 @@ trait PythonCommandLineFunction extends BiopetCommandLineFunction {
*/
def
setPythonScript
(
script
:
String
,
subpackage
:
String
)
{
pythonScriptName
=
script
pythonScript
=
new
File
(
".queue/tmp/"
+
subpackage
+
pythonScriptName
)
pythonScript
=
new
File
(
".queue/tmp/"
+
subpackage
+
pythonScriptName
)
.
getAbsoluteFile
if
(!
pythonScript
.
getParentFile
.
exists
)
pythonScript
.
getParentFile
.
mkdirs
val
is
=
getClass
.
getResourceAsStream
(
subpackage
+
pythonScriptName
)
if
(
is
!=
null
)
{
...
...
Write
Preview
Markdown
is supported
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