MCPcopy Index your code
hub / github.com/DeepLabCut/DeepLabCut / __add__

Method __add__

deeplabcut/core/inferenceutils.py:103–110  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

101 return bool(self._visible.intersection(assembly._visible))
102
103 def __add__(self, other):
104 if other in self:
105 raise ValueError("Assemblies contain shared joints.")
106
107 assembly = Assembly(self.data.shape[0])
108 for link in self._links + other._links:
109 assembly.add_link(link)
110 return assembly
111
112 @classmethod
113 def from_array(cls, array):

Callers

nothing calls this directly

Calls 2

add_linkMethod · 0.95
AssemblyClass · 0.85

Tested by

no test coverage detected