parameters: (args, input_file)
docstring: Replaces the input file with that specified.
docstring_summary: Replaces the input file with that specified.
docstring_tokens: Replaces the input file with that specified .
function: def set_input_file(args, input_file):
      """Replaces the input file with that specified."""
      infile = get_input_file(args)
      if infile:
          infile_idx = args.index(infile)
          args[infile_idx] = input_file
          return args
      else:
          # Could not find input file
          assert False
function_tokens: def set_input_file ( args , input_file ) : infile = get_input_file ( args ) if infile : infile_idx = args . index ( infile ) args [ infile_idx ] = input_file return args else : # Could not find input file assert False