Skip to content
Snippets Groups Projects
Commit 81888b31 authored by Simon Wittl's avatar Simon Wittl
Browse files

Merge branch 'readme' into 'main'

Readme

See merge request roboct/definitions/json_schemas!3
parents e3b81a60 dcbcbad9
No related branches found
No related tags found
No related merge requests found
......@@ -37,12 +37,12 @@ import json
from pathlib import Path
SHEMA = Path('./thd_json/projection.json')
SCHEMA = Path('./thd_json/projection.json')
FILE = Path('./examples/thd_json/test_thd.json')
def main():
with open(str(SHEMA)) as schema_file, open(str(FILE)) as data_file:
with open(str(SCHEMA)) as schema_file, open(str(FILE)) as data_file:
schema = json.load(schema_file)
data = json.load(data_file)
......
......@@ -4,12 +4,12 @@ import json
from pathlib import Path
SHEMA = Path('./thd_json/projection.json')
SCHEMA = Path('./thd_json/projection.json')
FILE = Path('./examples/artist/projection.json')
def main():
with open(str(SHEMA)) as schema_file, open(str(FILE)) as data_file:
with open(str(SCHEMA)) as schema_file, open(str(FILE)) as data_file:
schema = json.load(schema_file)
data = json.load(data_file)
......
......@@ -4,12 +4,12 @@ import json
from pathlib import Path
SHEMA = Path('./thd_json/projection.json')
SCHEMA = Path('./thd_json/projection.json')
FILE = Path('./examples/thd_json/test_thd.json')
def main():
with open(str(SHEMA)) as schema_file, open(str(FILE)) as data_file:
with open(str(SCHEMA)) as schema_file, open(str(FILE)) as data_file:
schema = json.load(schema_file)
data = json.load(data_file)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment