Sets the ignore for calculations flag.

        arg:    ignore (boolean): the new ignore flag
        raise:  InvalidArgument - ``ignore`` is invalid
        raise:  NoAccess - ``ignore`` cannot be modified
        *compliance: mandatory -- This method must be implemented.*

def set_ignored_for_calculations(self, ignore):
        """Sets the ignore for calculations flag.

        arg:    ignore (boolean): the new ignore flag
        raise:  InvalidArgument - ``ignore`` is invalid
        raise:  NoAccess - ``ignore`` cannot be modified
        *compliance: mandatory -- This method must be implemented.*

        """
        # Implemented from template for osid.resource.ResourceForm.set_group_template
        if self.get_ignored_for_calculations_metadata().is_read_only():
            raise errors.NoAccess()
        if not self._is_valid_boolean(ignore):
            raise errors.InvalidArgument()
        self._my_map['ignoredForCalculations'] = ignore