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
bob
bob.bio.base
Commits
faab391e
Commit
faab391e
authored
May 10, 2016
by
Tiago de Freitas Pereira
Browse files
Merge pull request #18 from tiagofrepereira2012/master
Fixed a bug when there is no argument called env
parents
9fec0163
9252143c
Changes
1
Hide whitespace changes
Inline
Side-by-side
bob/bio/base/tools/grid.py
View file @
faab391e
...
...
@@ -50,7 +50,10 @@ class GridSubmission:
if
args
.
grid
is
not
None
:
assert
isinstance
(
args
.
grid
,
grid
.
Grid
)
self
.
env
=
args
.
env
#Fetching the enviroment variable
if
(
hasattr
(
args
,
'env'
)):
self
.
env
=
args
.
env
#Fetching the enviroment variable
else
:
self
.
env
=
None
# find, where jman is installed
jmans
=
bob
.
extension
.
find_executable
(
'jman'
,
prefixes
=
[
'bin'
])
...
...
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