Skip to content

Commit 4785c99

Browse files
committed
Added note in conversion script.
1 parent b81f873 commit 4785c99

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tools/convert_nbformat.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
"""This conversion script should not be used. It is only there for reference.
2+
3+
This was used to convert the original notebooks in nbformat v3 (IPython 2.0)
4+
to nbformat v4 (IPython 3.0). A difficulty was that the original notebooks
5+
had invalid metadata so IPython failed at the conversion.
6+
7+
The fix_v3() function was used to fix this before converting to v4.
8+
9+
This script was run on 27/02/2015.
10+
11+
"""
112

213
import re
314
import json

0 commit comments

Comments
 (0)