067d0c03469b5bcea5478d54e219de6146f161c2,skbio/core/iterator.py,FastqIterator,_fastq_gen,#FastqIterator#Any#,182

Before Change


    def _fastq_gen(self, fastq_gens):
        Yield fastq data
        for (seq_id, seq, qual) in fastq_gens:
            yield SequenceRecord(seq_id, seq, seq_id, qual)

After Change


        for (seq_id, seq, qual) in fastq_gens:
            self.state["SequenceID"] = seq_id
            self.state["Sequence"] = seq
            self.state["QualID"] = seq_id
            self.state["Qual"] = qual

            // as we"re updating state in place and effectively circumventing
            // Workflow.initialize_state, we do not need to yield anything
            yield None
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 9

Instances


Project Name: biocore/scikit-bio
Commit Name: 067d0c03469b5bcea5478d54e219de6146f161c2
Time: 2014-04-12
Author: mcdonadt@colorado.edu
File Name: skbio/core/iterator.py
Class Name: FastqIterator
Method Name: _fastq_gen


Project Name: biocore/scikit-bio
Commit Name: 067d0c03469b5bcea5478d54e219de6146f161c2
Time: 2014-04-12
Author: mcdonadt@colorado.edu
File Name: skbio/core/iterator.py
Class Name: FastqIterator
Method Name: _fastq_gen


Project Name: biocore/scikit-bio
Commit Name: 067d0c03469b5bcea5478d54e219de6146f161c2
Time: 2014-04-12
Author: mcdonadt@colorado.edu
File Name: skbio/core/iterator.py
Class Name: FastaIterator
Method Name: _fasta_qual_gen


Project Name: biocore/scikit-bio
Commit Name: 067d0c03469b5bcea5478d54e219de6146f161c2
Time: 2014-04-12
Author: mcdonadt@colorado.edu
File Name: skbio/core/iterator.py
Class Name: FastaIterator
Method Name: _fasta_gen