eea3747cca68cecc7c6080e02f059bbea1016d19,deepvariant/make_examples.py,,extract_sample_name_from_sam_reader,#Any#,532

Before Change


        "name of the sample with the --sample_name argument.")
  elif len(samples) > 1:
    raise ValueError(
        "Multiple samples ({}) were found in the input reads. DeepVariant can "
        "only call variants from a BAM file containing a single sample.".format(
            ", ".join(sorted(samples))))
  return next(iter(samples))

// ---------------------------------------------------------------------------

After Change


        _DEFAULT_SAMPLE_NAME)
    return _DEFAULT_SAMPLE_NAME
  elif len(samples) > 1:
    logging.warning(
        "Multiple samples (%s) were found in the input reads. "
        "Please confirm this is intended. For now, DeepVariant "
        "will use the first sample name %s.", ", ".join(sorted(samples)),
        samples_list[0])
    return samples_list[0]
  return next(iter(samples))

// ---------------------------------------------------------------------------
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: google/deepvariant
Commit Name: eea3747cca68cecc7c6080e02f059bbea1016d19
Time: 2019-09-25
Author: pichuan@google.com
File Name: deepvariant/make_examples.py
Class Name:
Method Name: extract_sample_name_from_sam_reader


Project Name: microsoft/nni
Commit Name: 6d6f952463fb2eac87f775a8432a2e353c59a1c2
Time: 2019-11-21
Author: 27178119+squirrelsc@users.noreply.github.com
File Name: src/sdk/pynni/nni/nas/pytorch/mutables.py
Class Name: Mutable
Method Name: __init__


Project Name: microsoft/nni
Commit Name: e6ef08f367e0389e811d63eaa5afb16183a19e2b
Time: 2020-08-24
Author: 40699903+liuzhe-lz@users.noreply.github.com
File Name: src/sdk/pynni/nni/compression/tensorflow/compressor.py
Class Name:
Method Name: _locate_layers