Did I find the right examples for you? yes no

All Samples(7)  |  Call(5)  |  Derive(0)  |  Import(2)

src/s/e/seal-0.4.0-rc2/seal/seqal/mapper.py   seal(Download)
from seal.lib.mr.hit_processor_chain_link import HitProcessorChainLink
from seal.lib.mr.emit_sam_link import EmitSamLink
from seal.lib.mr.filter_link import FilterLink
from seal.lib.mr.hadoop_event_monitor import HadoopEventMonitor
import seal.lib.deprecation_utils as deprecation_utils
 
        ######## assemble hit processor chain
        chain = FilterLink(self.event_monitor)
        chain.remove_unmapped = self.remove_unmapped
        chain.min_hit_quality = self.min_hit_quality

src/s/e/seal-0.4.0-rc2/tests/seal/lib/mr/test_filter_link.py   seal(Download)
 
from seal.lib.mr.hit_processor_chain_link import HitProcessorChainLink
from seal.lib.mr.filter_link import FilterLink
from seal.lib.aligner.mapping import SimpleMapping
from seal.lib.standard_monitor import StandardMonitor
    def setUp(self):
        self.monitor = StandardMonitor(SavingLogger())
        self.filter = FilterLink(self.monitor)
        self.receiver = self.filter.set_next(type(self).Receiver())
        # create two mappings, m1, m2.  We put them in self.pair
    def test_constructor_link(self):
        h = FilterLink(self.monitor)
        self.assertTrue(h.next_link is None)
        other = HitProcessorChainLink()
        h = FilterLink(self.monitor, other)
    def test_without_next_link(self):
        h = FilterLink(self.monitor)
        h.process(self.pair) # shouldn't raise
 
    def test_filter_unmapped_1(self):