menpo/landmark/base.py
def _verify_all_labels_masked(self):
        """
        Verify that every point in the pointcloud is associated with a label.
        If any one point is not covered by a label, then raise a
        ``ValueError``.
        """
        unlabelled_points = np.sum(self._labels_to_masks.values(), axis=0) == 0
        if np.any(unlabelled_points):
            nonzero = np.nonzero(unlabelled_points)
            raise ValueError(
                'Every point in the landmark pointcloud must be labelled. '
                'Points {0} were unlabelled.'.format(nonzero))

        Verify that every point in the pointcloud is associated with a label.
        If any one point is not covered by a label, then raise a
        ``ValueError``.
        
Verify that every point in the pointcloud is associated with a label.
If any one point is not covered by a label, then raise a
``ValueError``.
Verify that every point in the pointcloud is associated with a label . If any one point is not covered by a label then raise a ` ` ValueError ` ` .
def _verify_all_labels_masked(self):
        unlabelled_points = np.sum(self._labels_to_masks.values(), axis=0) == 0
        if np.any(unlabelled_points):
            nonzero = np.nonzero(unlabelled_points)
            raise ValueError(
                'Every point in the landmark pointcloud must be labelled. '
                'Points {0} were unlabelled.'.format(nonzero))
def _verify_all_labels_masked ( self ) : unlabelled_points = np . sum ( self . _labels_to_masks . values ( ) , axis = 0 ) == 0 if np . any ( unlabelled_points ) : nonzero = np . nonzero ( unlabelled_points ) raise ValueError ( 'Every point in the landmark pointcloud must be labelled. ' 'Points {0} were unlabelled.' . format ( nonzero ) )
Verify that every point in the pointcloud is associated with a label.
Verify that every point in the pointcloud is associated with a label .
"""
        Verify that every point in the pointcloud is associated with a label.
        If any one point is not covered by a label, then raise a
        ``ValueError``.
        """
self