Skip to content

Commit 56e6717

Browse files
committed
fix(install): remove circular dependency
1 parent 3e4e5e3 commit 56e6717

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/python/pose_format/pose.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
PoseNormalizationInfo)
1111
from pose_format.utils.fast_math import distance_batch
1212
from pose_format.utils.reader import BufferReader
13-
from pose_format.utils.generic import pose_normalization_info
1413

1514

1615
class Pose:
@@ -105,7 +104,8 @@ def normalize(self, info: PoseNormalizationInfo|None=None, scale_factor: float =
105104
The normalized Pose object.
106105
"""
107106
if info is None:
108-
info = pose_normalization_info(self)
107+
from pose_format.utils.generic import pose_normalization_info
108+
info = pose_normalization_info(self.header)
109109

110110
transposed = self.body.points_perspective()
111111

0 commit comments

Comments
 (0)