Skip to content

Commit

Permalink
Comply with the new ruff version
Browse files Browse the repository at this point in the history
  • Loading branch information
flferretti committed Sep 6, 2024
1 parent 20f33d6 commit e692707
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/jaxsim/parsers/kinematic_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ def reduce(self, considered_joints: Sequence[str]) -> KinematicGraph:
msg.format(
link_to_remove.name,
self.joints_connection_dict[
(parent_of_link_to_remove.name, link_to_remove.name)
parent_of_link_to_remove.name, link_to_remove.name
].name,
parent_of_link_to_remove.name,
)
Expand Down Expand Up @@ -853,7 +853,7 @@ def transform(self, name: str) -> npt.NDArray:

# Get the joint between the link and its parent.
parent_joint = self.graph.joints_connection_dict[
(link.parent.name, link.name)
link.parent.name, link.name
]

# Get the transform of the parent joint.
Expand Down

0 comments on commit e692707

Please sign in to comment.