Skip to content

Commit

Permalink
formatted
Browse files Browse the repository at this point in the history
  • Loading branch information
hrshdhgd committed Feb 29, 2024
1 parent c5fec47 commit b50df91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/oaklib/utilities/writers/change_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,12 @@ def handle_node_move(self, value):
rows = [
f"| {self.oi.label(change.about_edge.subject)} ({change.about_edge.subject})| \
{self.oi.label(change.about_edge.predicate)} ( {change.about_edge.predicate})\
| {self.oi.label(change.about_edge.object)} ({change.about_edge.object})"
| {self.oi.label(change.about_edge.object)} ({change.about_edge.object}) |"
for change in value
]

# Define the header for the table
header = "| Subject label (ID) | Predicate label (ID) | Object label (ID)"
header = "| Subject label (ID) | Predicate label (ID) | Object label (ID) |"

# Write the "Nodes Moved" section as a collapsible markdown table
self.write_markdown_table(f"Nodes moved: {len(rows)}", header, rows)
Expand Down

0 comments on commit b50df91

Please sign in to comment.