We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e5fec8 commit 8beebfeCopy full SHA for 8beebfe
src/resources/jupyter/notebook.py
@@ -686,9 +686,11 @@ def nb_parameterize(nb, params):
686
# and then re-encode it
687
try:
688
params_cell_yaml = parse_string("\n".join(params_cell_yaml))
689
- del params_cell_yaml['label']
+ if "label" in params_cell_yaml:
690
+ del params_cell_yaml['label']
691
params_cell_yaml = safe_dump(params_cell_yaml).strip().splitlines()
692
except Exception as e:
693
+ sys.stderr.write(str(e) + "\naksjdfhakjsdhf\n")
694
sys.stderr.write("\nWARNING: Invalid YAML option format in cell:\n" + "\n".join(params_cell_yaml) + "\n")
695
sys.stderr.flush()
696
params_cell_yaml = []
0 commit comments