Skip to content

Commit

Permalink
Remove some unused methods
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelm committed Jan 31, 2024
1 parent ba319e3 commit 4d73efd
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/cutadapt/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
PairedDemultiplexer,
CombinatorialDemultiplexer,
SingleEndStep,
PairedSingleEndStep,
)

logger = logging.getLogger()
Expand Down Expand Up @@ -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):
"""
Expand Down Expand Up @@ -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):
"""
Expand Down Expand Up @@ -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)

0 comments on commit 4d73efd

Please sign in to comment.