parameters: (self, options)
docstring: Check validity of options
docstring_summary: Check validity of options
docstring_tokens: Check validity of options
function: def pre_check_validity(self, options):
          """ Check validity of options
          """
          if options.mapreduce_maponly_map_io:
              if options.mapreduce_map_io or options.mapreduce_reduce_io:
                  mesg = ("--mapreduce_map_io and --mapreduce_reduce_io are"
                         " forbidden in map_only mode")
                  self.error_exit(mesg)
          else:
              if not options.mapreduce_map_io or not options.mapreduce_reduce_io:
                  mesg = ("--mapreduce_map_io and --mapreduce_reduce_io "
                          "should be provided in normal mode")
                  self.error_exit(mesg)
              if not options.mapreduce_cmd:
                  mesg = ("--mapreduce_cmd is required")
                  self.error_exit(mesg)
function_tokens: def pre_check_validity ( self , options ) : if options . mapreduce_maponly_map_io : if options . mapreduce_map_io or options . mapreduce_reduce_io : mesg = ( "--mapreduce_map_io and --mapreduce_reduce_io are" " forbidden in map_only mode" ) self . error_exit ( mesg ) else : if not options . mapreduce_map_io or not options . mapreduce_reduce_io : mesg = ( "--mapreduce_map_io and --mapreduce_reduce_io " "should be provided in normal mode" ) self . error_exit ( mesg ) if not options . mapreduce_cmd : mesg = ( "--mapreduce_cmd is required" ) self . error_exit ( mesg )