Exemple #1
0
def build_parser(parser):
    subcommands.add_infile(parser)
    subcommands.add_outfile(parser)
    subcommands.add_outdir(parser)
    subcommands.add_no_calculate_ion_ratio_avg(parser)
    subcommands.add_split_desc(parser)
    parser.add_argument(
        '-a',
        '--show-all',
        action='store_true',
        default=False,
        help='Show all results for each compound (ie, not just QA failures)')
    parser.add_argument(
        '-O',
        '--outcomes-only',
        action='store_true',
        default=False,
        help="""Show outcome for each QA calculation instead of a more
        detailed message containing values.""")
    parser.add_argument('-c',
                        '--compound-id',
                        metavar='NUMBER',
                        type=int,
                        default=None,
                        help='Show results for this compound id only.')
Exemple #2
0
def build_parser(parser):
    subcommands.add_infile(parser)
    subcommands.add_outfile(parser)
    subcommands.add_outdir(parser)
    subcommands.add_no_calculate_ion_ratio_avg(parser)    
    subcommands.add_split_desc(parser)
    parser.add_argument('--no-groups', action = 'store_false', default = True,
                        dest = 'grouped',
                        help = 'Do not group columns by worksheet.')
Exemple #3
0
def build_parser(parser):
    subcommands.add_infile(parser)
    subcommands.add_outfile(parser)
    subcommands.add_outdir(parser)
    subcommands.add_no_calculate_ion_ratio_avg(parser)
    subcommands.add_split_desc(parser)
    parser.add_argument(
        "-a",
        "--show-all",
        action="store_true",
        default=False,
        help="Show all results for each compound (ie, not just QA failures)",
    )
    parser.add_argument(
        "-O",
        "--outcomes-only",
        action="store_true",
        default=False,
        help="""Show outcome for each QA calculation instead of a more
        detailed message containing values.""",
    )
    parser.add_argument(
        "-c", "--compound-id", metavar="NUMBER", type=int, default=None, help="Show results for this compound id only."
    )
Exemple #4
0
def build_parser(parser):
    parser.add_argument('infiles', nargs='+', help = 'one or more input data files (xml or json format).')
    parser.add_argument('-o', '--outfile', help = 'output file (csv format)', default = sys.stdout)
    subcommands.add_no_calculate_ion_ratio_avg(parser)    
    subcommands.add_split_desc(parser)
    parser.add_argument('-k', '--keep-phi', action = 'store_true', default = False)