def set_mass(self, masses, dataset_number=None, validated=None):
        """Sets the mass (masses) for the test (datasets).
        """
        self._set_run_attribute("mass", masses, dataset_number=dataset_number,
                                validated=validated)