Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ProfiT-HPC
aggregator
Commits
071e8c8f
Commit
071e8c8f
authored
Feb 25, 2020
by
Azat Khuziyakhmetov
Browse files
catching exception from recommendations
parent
192b8e8d
Changes
1
Hide whitespace changes
Inline
Side-by-side
data.py
View file @
071e8c8f
...
...
@@ -176,7 +176,10 @@ def main():
if
need_to_aggregate
is
True
:
aggr
=
aggregator
.
get_aggregator
(
job_id
,
"pdf"
)
recommendations
=
rcm
.
get_recommendations
(
aggr
)
try
:
recommendations
=
rcm
.
get_recommendations
(
aggr
)
except
:
recommendations
=
[
"Error occured during recommendations generation"
]
if
args
.
output_dir
is
None
:
merge_and_out
(
job_id
,
aggr
,
recommendations
,
args
.
type
,
cache
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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