scripts/support/rfam_queue_watcher.py
def parse_arguments():
	"""
	Uses python's argparse to parse the command line arguments
	
	return: Argparse parser object
	"""

	# create a new argument parser object
    	parser = argparse.ArgumentParser(description='Update scores for new release')

    	# group required arguments together
    	req_args = parser.add_argument_group("required arguments")
    	req_args.add_argument('-q', help='A comma separated list of queues to watch',
                        type=list, required=True)
	req_args.add_argument('--attempts', help='Number of attempts to start the queue',
                        type=int, required=True, default=6)
	
	return parser

	Uses python's argparse to parse the command line arguments
	
	return: Argparse parser object
	
Uses python's argparse to parse the command line arguments
return: Argparse parser object
Uses python ' s argparse to parse the command line arguments return : Argparse parser object
def parse_arguments():
    	parser = argparse.ArgumentParser(description='Update scores for new release')
    	req_args = parser.add_argument_group("required arguments")
    	req_args.add_argument('-q', help='A comma separated list of queues to watch',
                        type=list, required=True)
	req_args.add_argument('--attempts', help='Number of attempts to start the queue',
                        type=int, required=True, default=6)
	return parser
def parse_arguments ( ) : parser = argparse . ArgumentParser ( description = 'Update scores for new release' ) req_args = parser . add_argument_group ( "required arguments" ) req_args . add_argument ( '-q' , help = 'A comma separated list of queues to watch' , type = list , required = True ) req_args . add_argument ( '--attempts' , help = 'Number of attempts to start the queue' , type = int , required = True , default = 6 ) return parser
Uses python's argparse to parse the command line arguments
return: Argparse parser object
Uses python ' s argparse to parse the command line arguments return : Argparse parser object
"""
	Uses python's argparse to parse the command line arguments
	
	return: Argparse parser object
	""" # create a new argument parser object # group required arguments together