parameters: (self)
docstring: Check which output modes has been checked (memory, file, both), and which
          file types. If no file types have been selected and output mode is not memory,
          we want to raise an error here. (If we don't, an error will be raised on attempting
          to save after performing the reductions)
docstring_summary: Check which output modes has been checked (memory, file, both), and which
          file types. If no file types have been selected and output mode is not memory,
          we want to raise an error here. (If we don't, an error will be raised on attempting
          to save after performing the reductions)
docstring_tokens: Check which output modes has been checked ( memory file both ) and which file types . If no file types have been selected and output mode is not memory we want to raise an error here . ( If we don t an error will be raised on attempting to save after performing the reductions )
function: def _validate_output_modes(self):
          """
          Check which output modes has been checked (memory, file, both), and which
          file types. If no file types have been selected and output mode is not memory,
          we want to raise an error here. (If we don't, an error will be raised on attempting
          to save after performing the reductions)
          """
          if (self._view.output_mode_file_radio_button.isChecked()
                  or self._view.output_mode_both_radio_button.isChecked()):
              if self._view.save_types == [SaveType.NO_TYPE]:
                  raise ValueError("You have selected an output mode which saves to file, "
                                   "but no file types have been selected.")
function_tokens: def _validate_output_modes ( self ) : if ( self . _view . output_mode_file_radio_button . isChecked ( ) or self . _view . output_mode_both_radio_button . isChecked ( ) ) : if self . _view . save_types == [ SaveType . NO_TYPE ] : raise ValueError ( "You have selected an output mode which saves to file, " "but no file types have been selected." )