Skip to content

Commit

Permalink
Added encapsulating double quotes to comply with DOT language
Browse files Browse the repository at this point in the history
  • Loading branch information
tabedzki committed Sep 5, 2024
1 parent 9e59b82 commit 0426803
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datajoint/diagram.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ def _make_graph(self):
)
# relabel nodes to class names
mapping = {
node: lookup_class_name(node, self.context) or node
node: f'"{lookup_class_name(node, self.context) or node}"'
for node in graph.nodes()
}
new_names = [mapping.values()]
Expand Down

0 comments on commit 0426803

Please sign in to comment.