9f91cdca1ec0877b10d221e70ec6cc3fb519e32c,skbio/io/fastq.py,,_fastq_to_generator,#Any#Any#Any#Any#,296

Before Change


                        constructor=BiologicalSequence):
    // SKip any blank or whitespace-only lines at beginning of file
    seq_header = ""
    for line in _line_generator(fh):
        seq_header = line
        if seq_header:
            break

    if seq_header:
        if not seq_header.startswith("@"):
            raise FASTQFormatError(
                "Expected sequence (@) header line at start of file: %r"

After Change


def _fastq_to_generator(fh, variant=None, phred_offset=None,
                        constructor=BiologicalSequence):
    // SKip any blank or whitespace-only lines at beginning of file
    seq_header = next(_line_generator(fh, skip_blanks=True))

    if not seq_header.startswith("@"):
        raise FASTQFormatError(
            "Expected sequence (@) header line at start of file: %r"
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: biocore/scikit-bio
Commit Name: 9f91cdca1ec0877b10d221e70ec6cc3fb519e32c
Time: 2015-04-28
Author: tapitman11@gmail.com
File Name: skbio/io/fastq.py
Class Name:
Method Name: _fastq_to_generator


Project Name: biocore/scikit-bio
Commit Name: 9f91cdca1ec0877b10d221e70ec6cc3fb519e32c
Time: 2015-04-28
Author: tapitman11@gmail.com
File Name: skbio/io/fasta.py
Class Name:
Method Name: _parse_fasta_raw


Project Name: williamFalcon/pytorch-lightning
Commit Name: 8e9a026bc34d8409faa572a7144c2d96a7c039ed
Time: 2021-02-11
Author: rohitgr1998@gmail.com
File Name: tests/models/test_restore.py
Class Name:
Method Name: test_model_saving_loading