def build_parser():
    parser = argparse.ArgumentParser()
    parser.add_argument('--apikey', type=str, dest='key', help='api key to securely access service', metavar='KEY', required=False)
    parser.add_argument('--session', dest='session', help='Keep user preferences for multirun sessions', metavar='SESSION', required=False, default=None)
    parser.add_argument('--subset', dest='subset', help='Run a small number of the possible combinations.  Mostly for testing. Input the number of combos to run.', metavar='NO_OF_COMBOS', required=False, default=None)
    parser.add_argument('--dataonly', dest='data_only', help='run the classification without plotting', metavar='True/[False]', required=False, default=False)
    parser.add_argument('--figuresonly', dest='figures_only', help='Plot the figures without running data.  Data must be saved previously.', metavar='True/[False]', required=False, default=False)
    return parser
def build_parser():
    parser = argparse.ArgumentParser()
    parser.add_argument('--apikey', type=str, dest='key', help='api key to securely access service', metavar='KEY', required=False)
    parser.add_argument('--session', dest='session', help='Keep user preferences for multirun sessions', metavar='SESSION', required=False, default=None)
    parser.add_argument('--subset', dest='subset', help='Run a small number of the possible combinations.  Mostly for testing. Input the number of combos to run.', metavar='NO_OF_COMBOS', required=False, default=None)
    parser.add_argument('--dataonly', dest='data_only', help='run the classification without plotting', metavar='True/[False]', required=False, default=False)
    parser.add_argument('--figuresonly', dest='figures_only', help='Plot the figures without running data.  Data must be saved previously.', metavar='True/[False]', required=False, default=False)
    return parser