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.pad.base
Commits
d8791209
Commit
d8791209
authored
Apr 14, 2017
by
Amir Mohammadi
Committed by
Amir MOHAMMADI
Feb 22, 2018
Browse files
score computation is not a parallel job
parent
e318ac17
Pipeline
#17084
canceled with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
bob/pad/base/script/spoof.py
View file @
d8791209
...
...
@@ -114,7 +114,6 @@ def add_jobs(args, submitter):
**
args
.
grid
.
projection_queue
)
deps
.
append
(
job_ids
[
'projection'
])
concat_deps
=
{}
for
group
in
args
.
groups
:
# compute scores
if
not
args
.
skip_score_computation
:
...
...
@@ -124,14 +123,8 @@ def add_jobs(args, submitter):
job_ids
[
'score-%s'
%
group
]
=
submitter
.
submit
(
'--sub-task compute-scores --group %s'
%
group
,
name
=
"score-%s"
%
group
,
number_of_parallel_jobs
=
args
.
grid
.
number_of_scoring_jobs
,
dependencies
=
deps
,
**
args
.
grid
.
scoring_queue
)
concat_deps
[
group
]
=
[
job_ids
[
'score-%s'
%
group
]]
else
:
concat_deps
[
group
]
=
[]
if
args
.
grid
is
None
:
# return the list of jobs that need to be executed in series
...
...
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