You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After downloading bravo.json, running the following lines:
import json
from brickschema import Graph
model = json.load(open("bravo.json"))
g = Graph(load_brick=True).from_haystack("http://project-haystack.org/bravo#", model)
File "C:\Users*\anaconda3\envs\Brick\lib\site-packages\brickschema\inference.py", line 711, in
entities = {e["id"].replace('"', ""): {"tags": e} for e in entities}
AttributeError: 'dict' object has no attribute 'replace'
The text was updated successfully, but these errors were encountered:
Upon further investigation, many aspects of the Haystack JSON export have changed, requiring a deeper rewrite of the Haystack to Brick translation module
After downloading bravo.json, running the following lines:
import json
from brickschema import Graph
model = json.load(open("bravo.json"))
g = Graph(load_brick=True).from_haystack("http://project-haystack.org/bravo#", model)
File "C:\Users*\anaconda3\envs\Brick\lib\site-packages\brickschema\inference.py", line 711, in
entities = {e["id"].replace('"', ""): {"tags": e} for e in entities}
AttributeError: 'dict' object has no attribute 'replace'
The text was updated successfully, but these errors were encountered: