parameters: (self, end_xs: list)
docstring: Sets the exclude end Xs stored by the context.
docstring_summary: Sets the exclude end Xs stored by the context.
docstring_tokens: Sets the exclude end Xs stored by the context .
function: def exclude_end_xs(self, end_xs: list) -> None:
          """Sets the exclude end Xs stored by the context."""
          if len(end_xs) != self.number_of_datasets:
              raise RuntimeError(f"The provided number of exclude end Xs is not equal to the number of datasets.")
  
          self._exclude_end_xs = end_xs
function_tokens: def exclude_end_xs ( self , end_xs : list ) -> None : if len ( end_xs ) != self . number_of_datasets : raise RuntimeError ( f"The provided number of exclude end Xs is not equal to the number of datasets." ) self . _exclude_end_xs = end_xs