From 0426803368e99723d10f9216d839b29540d7ee25 Mon Sep 17 00:00:00 2001 From: Christian Tabedzki <35670232+tabedzki@users.noreply.github.com> Date: Thu, 5 Sep 2024 18:07:40 -0400 Subject: [PATCH] Added encapsulating double quotes to comply with DOT language --- datajoint/diagram.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datajoint/diagram.py b/datajoint/diagram.py index 65497fcf..0d35a98b 100644 --- a/datajoint/diagram.py +++ b/datajoint/diagram.py @@ -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()]