e77a18bf9c7ab98b95ff47a9916453faa187ab9d,skbio/io/format/genbank.py,,_genbank_sniffer,#Any#,76
Before Change
empty = True
try:
parser = _parse_genbank_raw(fh)
for _ in parser:
empty = False
except GenbankFormatError:
return False, {}
if empty:
return False, {}
After Change
if _too_many_blanks(fh, 5):
return False, {}
try:
line = next(_line_generator(fh, skip_blanks=True))
except StopIteration:
return False, {}
if line.startswith(_HEADERS[0]):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: biocore/scikit-bio
Commit Name: e77a18bf9c7ab98b95ff47a9916453faa187ab9d
Time: 2015-08-06
Author: zhenjiang.xu@gmail.com
File Name: skbio/io/format/genbank.py
Class Name:
Method Name: _genbank_sniffer
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: 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