We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fe2ec3 commit a3a97b7Copy full SHA for a3a97b7
datajoint/diagram.py
@@ -438,9 +438,14 @@ def make_dot(self):
438
439
for edge in dot.get_edges():
440
# see https://graphviz.org/doc/info/attrs.html
441
- src = edge.get_source().strip('"')
442
- dest = edge.get_destination().strip('"')
+ src = edge.get_source()
+ dest = edge.get_destination()
443
props = graph.get_edge_data(src, dest)
444
+ if props is None:
445
+ raise DataJointError(
446
+ "Could not find edge with source "
447
+ "'{}' and destination '{}'".format(src, dest)
448
+ )
449
edge.set_color("#00000040")
450
edge.set_style("solid" if props["primary"] else "dashed")
451
master_part = graph.nodes[dest][
0 commit comments