mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-07-23 17:01:06 +02:00
Merge pull request #829 from jbect/init-super
Use super().__init__ consistently
This commit is contained in:
commit
490c4c73f5
19 changed files with 47 additions and 42 deletions
|
|
@ -163,7 +163,7 @@ def rotation_matrix(xangle, yangle, zangle, order='zxy', degrees=False):
|
|||
# Motion capture data routines.
|
||||
class skeleton(tree):
|
||||
def __init__(self):
|
||||
tree.__init__(self)
|
||||
super(skeleton, self).__init__()
|
||||
|
||||
def connection_matrix(self):
|
||||
connection = np.zeros((len(self.vertices), len(self.vertices)), dtype=bool)
|
||||
|
|
@ -197,13 +197,13 @@ class skeleton(tree):
|
|||
|
||||
# class bvh_skeleton(skeleton):
|
||||
# def __init__(self):
|
||||
# skeleton.__init__(self)
|
||||
# super(bvh_skeleton, self).__init__()
|
||||
|
||||
# def to_xyz(self, channels):
|
||||
|
||||
class acclaim_skeleton(skeleton):
|
||||
def __init__(self, file_name=None):
|
||||
skeleton.__init__(self)
|
||||
super(acclaim_skeleton, self).__init__()
|
||||
self.documentation = []
|
||||
self.angle = 'deg'
|
||||
self.length = 1.0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue