def extractArgs(args):
    """ Convert from args to a dict of parsed arguments of form {'EXOSIMS_RUN_SAVE_PATH':'/home/user/Doc...'}
    Args:
        args (parser.parse_args()) - the output from parser.parse_args
    Returns:
        EXOSIMS_QUEUE_FILE_PATH (string) - full file path to the queue file
        numCoresString (string) - string of the number of cores to run ipcluster with
        qFargs (dict) - dictionary of paths from parsed runQueue arguments of form {'EXOSIMS_RUN_SAVE_PATH':'/home/user/Doc...'}
    """
    myArgs = [arg for arg in args.__dict__.keys() if 'EXOSIMS' in arg and not args.__getattribute__(arg) == None]
    paths = dict()
    for arg in myArgs:
        paths[arg] =  args.__dict__[arg][0]

    EXOSIMS_QUEUE_FILE_PATH = paths['EXOSIMS_QUEUE_FILE_PATH']
    if args.numCores == None:
        args.numCores == ['1']
    numCoresString = str(int(args.numCores[0]))
    return EXOSIMS_QUEUE_FILE_PATH, numCoresString, paths