Exemple #1
0
def toolbox_igts(tb, options):
    record_markers = options['record_markers']
    assert len(record_markers) > 0
    mkrPriKey = record_markers[-1]
    for context, data in toolbox.records(tb, record_markers):
        data = list(data)  # run the generator
        if context.get(mkrPriKey) is None:
            continue  # header info
        igt = make_igt(context[mkrPriKey], data, context, options)
        if igt is not None:
            yield igt
Exemple #2
0
def toolbox_igts(tb, options):
    record_markers = options['record_markers']
    assert len(record_markers) > 0
    mkrPriKey = record_markers[-1]
    for context, data in toolbox.records(tb, record_markers):
        data = list(data)  # run the generator
        if context.get(mkrPriKey) is None:
            continue  # header info
        igt = make_igt(
            context[mkrPriKey], data, context, options
        )
        if igt is not None:
            yield igt
Exemple #3
0
def toolbox_igts(tb, options):
    record_markers = options["record_markers"]
    assert len(record_markers) > 0
    mkrPriKey = record_markers[-1]
    for context, data in toolbox.records(tb, record_markers):
        data = list(data)  # run the generator
        if context.get(mkrPriKey) is None:
            continue  # header info
        igt = make_igt(
            context[mkrPriKey],
            data,
            context=context,
            tier_types=options["tier_types"],
            alignments=options["alignments"],
            attribute_map=options["attribute_map"],
        )
        if igt is not None:
            yield igt