Commit 586d5e86 authored by Aleksandra Mnich's avatar Aleksandra Mnich
Browse files

Merge branch 'SIGMON-202_multiple_executions' into 'dev'

[SIGMON-202] fix for multiple executions

See merge request !39
parents 9ee62f43 693ffcfa
Pipeline #3114224 failed with stages
in 166 minutes and 35 seconds
......@@ -6,7 +6,7 @@ import nbformat
import numpy as np
import papermill as pm
import pytest
from lhcsmnb import outputs
from lhcsmnb import outputs, parameters
IPD_NOTEBOOKS = [
('ipd', 'AN_IPD_PIC2', 'PIC2', 'RD1.L2', 'HWC_2018_1', '2018-03-13 19:13:07.613', '2018-03-13 19:30:26.299'),
......@@ -216,6 +216,7 @@ def _test_notebook(directory, notebook, notebook_parameters):
def _execute_notebook(directory, notebook, notebook_parameters):
notebook_path = _get_project_root_dir() / directory / notebook
result_path = Path('.', 'results', 'result_' + notebook)
notebook_parameters[parameters.PARAMETRIZED_MARKER] = None
pm.execute_notebook(
notebook_path,
result_path,
......
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