-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #245 from nicholaswold/nick/fixup-invalid-metadata
Strip metadata that is causing notebook validation to fail
- Loading branch information
Showing
4 changed files
with
126 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
{ | ||
"cells": [ | ||
{ | ||
"id": "asdf", | ||
"cell_type": "code", | ||
"execution_count": null, | ||
"metadata": { | ||
"collapsed": "BAD: should be bool", | ||
"scrolled": "BAD: should be bool", | ||
"deletable": "BAD: should be bool", | ||
"editable": "BAD: should be bool", | ||
"format": "BAD: should be bool", | ||
"name": 12345, | ||
"tags": "BAD: should be list of str", | ||
"jupyter": "BAD: should be dict", | ||
"execution": "BAD: should be dict" | ||
}, | ||
"outputs": [ | ||
{ | ||
"data": { | ||
"text/plain": [ | ||
"'bar'" | ||
] | ||
}, | ||
"execution_count": 1, | ||
"metadata": { | ||
"isolated": "BAD: should be bool" | ||
}, | ||
"output_type": "execute_result" | ||
} | ||
], | ||
"source": [ | ||
"\"foo\"" | ||
] | ||
}, | ||
{ | ||
"id": "jlkj", | ||
"cell_type": "code", | ||
"execution_count": null, | ||
"metadata": { | ||
"jupyter": { | ||
"source_hidden": "BAD: should be dict", | ||
"outputs_hidden": "BAD: should be dict" | ||
}, | ||
"execution": { | ||
"iopub.execute_input": "BAD: should be ISO 8601 format", | ||
"iopub.status.busy": "BAD: should be ISO 8601 format", | ||
"shell.execute_reply": "BAD: should be ISO 8601 format", | ||
"iopub.status.idle": "BAD: should be ISO 8601 format" | ||
} | ||
}, | ||
"outputs": [], | ||
"source": [ | ||
"\"foo 2\"" | ||
] | ||
} | ||
], | ||
"metadata": { | ||
"kernelspec": "BAD: should be a dict", | ||
"authors": "BAD: should be a list of dicts" | ||
}, | ||
"nbformat": 4, | ||
"nbformat_minor": 5 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters