Skip to content

Commit

Permalink
Removed blast_xml.py. Now we are relying on the upstream-mantained ve…
Browse files Browse the repository at this point in the history
…rsion in BioPython (Bio.SearchIO). This should give a massive boost to EI-CoreBioinformatics#137
  • Loading branch information
lucventurini committed Nov 2, 2018
1 parent 95d290a commit 006c090
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 937 deletions.
5 changes: 3 additions & 2 deletions Mikado/parsers/blast_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
import logging
from . import HeaderError
from ..utilities.log_utils import create_null_logger
from .blast_xml import BlastXmlParser as xparser
from Bio.SearchIO.BlastIO.blast_xml import BlastXmlParser as xparser
# from .blast_xml import BlastXmlParser as xparser
from ..utilities import overlap
import xml.etree.ElementTree
import numpy as np
Expand Down Expand Up @@ -105,7 +106,7 @@ def __iter__(self):
def __next__(self):
if self.__handle is None:
raise ValueError("Invalid handle")
return next(self.parser)
return next(iter(self.parser))

@property
def handle(self):
Expand Down
Loading

0 comments on commit 006c090

Please sign in to comment.