Skip to content

Commit

Permalink
Merge pull request #204 from hossinasaadi/main
Browse files Browse the repository at this point in the history
fix error msg in bvh.py
  • Loading branch information
hjessmith authored Aug 15, 2023
2 parents aaace1e + ff6d0c4 commit db49f18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions animated_drawings/model/bvh.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,13 +110,13 @@ def get_skeleton_fwd(self, forward_perp_vector_joint_names: List[Tuple[str, str]
for (start_joint_name, end_joint_name) in forward_perp_vector_joint_names:
start_joint = self.root_joint.get_transform_by_name(start_joint_name)
if not start_joint:
msg = f'Could not find BVH joint with name: {start_joint}'
msg = f'Could not find BVH joint with name: {start_joint_name}'
logging.critical(msg)
assert False, msg

end_joint = self.root_joint.get_transform_by_name(end_joint_name)
if not end_joint:
msg = f'Could not find BVH joint with name: {end_joint}'
msg = f'Could not find BVH joint with name: {end_joint_name}'
logging.critical(msg)
assert False, msg

Expand Down

0 comments on commit db49f18

Please sign in to comment.