From 4d73efd32010d1e4b067de9347b105ce9e3d9707 Mon Sep 17 00:00:00 2001 From: Marcel Martin Date: Tue, 30 Jan 2024 21:58:48 +0100 Subject: [PATCH] Remove some unused methods --- src/cutadapt/pipeline.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/cutadapt/pipeline.py b/src/cutadapt/pipeline.py index 9ea0230f..6a9e415a 100644 --- a/src/cutadapt/pipeline.py +++ b/src/cutadapt/pipeline.py @@ -36,7 +36,6 @@ PairedDemultiplexer, CombinatorialDemultiplexer, SingleEndStep, - PairedSingleEndStep, ) logger = logging.getLogger() @@ -184,10 +183,6 @@ def _final_filter(self, outfiles: OutputFiles): def _create_demultiplexer(self, outfiles: OutputFiles): pass - @abstractmethod - def _wrap_single_end_step(self, step: SingleEndStep): - pass - class SingleEndPipeline(Pipeline): """ @@ -263,9 +258,6 @@ def _create_demultiplexer(self, outfiles: OutputFiles) -> Demultiplexer: writers[name] = self._open_writer(file, force_fasta=outfiles.force_fasta) return Demultiplexer(writers) - def _wrap_single_end_step(self, step: SingleEndStep): - return step - class PairedEndPipeline(Pipeline): """ @@ -404,6 +396,3 @@ def open_writer(file, file2): for name, file in outfiles.demultiplex_out.items(): writers[name] = open_writer(file, outfiles.demultiplex_out2[name]) return PairedDemultiplexer(writers) - - def _wrap_single_end_step(self, step: SingleEndStep): - return PairedSingleEndStep(step)