Skip to content

Commit 660ffc2

Browse files
committed
Format with black==24.4.2
1 parent a3a97b7 commit 660ffc2

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

datajoint/diagram.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -312,9 +312,7 @@ def _stringify_and_encapsulate_edge_attributes(graph):
312312
"""
313313
for u, v, *_, edgedata in graph.edges(data=True):
314314
if "attr_map" in edgedata:
315-
graph.edges[u, v]["attr_map"] = '"{0}"'.format(
316-
edgedata["attr_map"]
317-
)
315+
graph.edges[u, v]["attr_map"] = '"{0}"'.format(edgedata["attr_map"])
318316

319317
@staticmethod
320318
def _stringify_and_encapsulate_node_names(graph):
@@ -325,7 +323,7 @@ def _stringify_and_encapsulate_node_names(graph):
325323
nx.relabel_nodes(
326324
graph,
327325
{node: '"{0}"'.format(node) for node in graph.nodes()},
328-
copy=False
326+
copy=False,
329327
)
330328

331329
def make_dot(self):

0 commit comments

Comments
 (0)