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
Holland Computing Center
chipathlon
Commits
acdc8601
Commit
acdc8601
authored
Mar 30, 2016
by
aknecht2
Browse files
Merge branch 'new_modules' of git.unl.edu:aknecht2/chipathlon into new_modules
parents
f59d8b25
de3e6ff1
Changes
2
Hide whitespace changes
Inline
Side-by-side
chipathlon/workflow.py
View file @
acdc8601
...
...
@@ -402,6 +402,7 @@ class Workflow(object):
os
.
path
.
join
(
self
.
basepath
,
"output"
)
)
# NEED TO DETERMINE HOW TO READ IN THIS INFO
sites
+=
"""
\n\t
<profile key="change.dir" namespace="pegasus">true</profile>"""
for
namespace
in
self
.
config
[
"profile"
]:
for
key
in
self
.
config
[
"profile"
][
namespace
]:
sites
+=
"""
\n\t
<profile namespace="%s" key="%s">%s</profile> """
%
(
namespace
,
key
,
self
.
config
[
"profile"
][
namespace
][
key
])
...
...
chipathlon/workflow_job.py
View file @
acdc8601
...
...
@@ -188,7 +188,7 @@ class WorkflowJob(object):
arg_list
.
append
(
"%s %s"
%
(
arg
,
self
.
params
[
"arguments"
][
arg
]
if
arg
in
self
.
params
else
arg_info
[
"default"
]))
else
:
if
arg_info
[
"has_value"
]:
if
arg_info
[
"default"
][:
1
]
==
"$"
:
if
not
isinstance
(
arg_info
[
"default"
],
bool
)
and
arg_info
[
"default"
][:
1
]
==
"$"
:
key
,
index
=
arg_info
[
"default"
].
split
(
"."
)
arg_list
.
append
(
arg
)
# We only add the file object if the passed argument is
...
...
@@ -197,7 +197,7 @@ class WorkflowJob(object):
else
:
arg_list
.
append
(
"%s %s"
%
(
arg
,
arg_info
[
"default"
]))
else
:
if
arg
[:
1
]
==
"$"
:
if
not
isinstance
(
arg
,
bool
)
and
arg
[:
1
]
==
"$"
:
key
,
index
=
arg
.
split
(
"."
)
# We only add the file object if the passed argument is
# has type == file
...
...
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