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
9252143c
Commit
9252143c
authored
May 10, 2016
by
Tiago de Freitas Pereira
Browse files
Fixed a bug when there is no argument called env
parent
9fec0163
Changes
1
Hide whitespace changes
Inline
Side-by-side
bob/bio/base/tools/grid.py
View file @
9252143c
...
...
@@ -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