Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
LHCData
lhc-sm-hwc
Commits
d1b01c13
Commit
d1b01c13
authored
Oct 28, 2021
by
Agata Chadaj
Browse files
wip
parent
9c540ec9
Pipeline
#3175414
passed with stage
in 24 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
CI/send_results.py
View file @
d1b01c13
...
...
@@ -25,10 +25,12 @@ def get_result():
nb
=
outputs
.
NotebookOutput
(
result_nb
)
try
:
result_flag
=
nb
.
get_cells_by_tag
(
'result'
)[
1
].
get_cell_output
(
outputs
.
CellOutputType
.
STDOUT
)[
0
]
print
(
'result_flag: '
+
result_flag
)
full_result
=
nb
.
get_cells_by_tag
(
'result'
)[
0
].
get_cell_output
(
outputs
.
CellOutputType
.
STDOUT
)[
0
]
print
(
'full_result: '
+
full_result
)
except
IndexError
:
return
'FAILED'
,
''
return
result_flag
,
json
.
loads
(
full_result
)
return
result_flag
,
full_result
def
save_json_to_file
(
args
,
flag
,
comment
):
...
...
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