##// END OF EJS Templates
Use /notebook as root key
Jessica B. Hamrick -
Show More
@@ -14,7 +14,7 b' schema_path = os.path.join('
14 os.path.split(__file__)[0], "v%d" % nbformat, nbformat_schema)
14 os.path.split(__file__)[0], "v%d" % nbformat, nbformat_schema)
15
15
16
16
17 def validate(nbjson, key='', verbose=True):
17 def validate(nbjson, key='/notebook', verbose=False):
18 # load the schema file
18 # load the schema file
19 with open(schema_path, 'r') as fh:
19 with open(schema_path, 'r') as fh:
20 schema_json = json.load(fh)
20 schema_json = json.load(fh)
General Comments 0
You need to be logged in to leave comments. Login now