|
@@ -16,6 +16,8 @@ def scan():
|
|
|
entire = request.get_json()['entire']
|
|
|
data_type = request.get_json()['dataType']
|
|
|
purpose_dict = request.get_json()['purpose']
|
|
|
+ data_type = load_json(data_type)
|
|
|
+ purpose_dict = load_json(purpose_dict)
|
|
|
lattice = {'dataType': data_type, 'purpose': purpose_dict}
|
|
|
result = annotate(source, lattice,
|
|
|
entire)
|