Commit d1b01c13 authored by Agata Chadaj's avatar Agata Chadaj
Browse files


parent 9c540ec9
Pipeline #3175414 passed with stage
in 24 seconds
......@@ -25,10 +25,12 @@ def get_result():
nb = outputs.NotebookOutput(result_nb)
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):
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment