Skip to content

Commit

Permalink
Remove unnecessary branch.
Browse files Browse the repository at this point in the history
This will never be hit.
  • Loading branch information
andrewsanchez committed Nov 23, 2020
1 parent e451321 commit 28aecb5
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions q2_cutadapt/_demux.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,6 @@ def _clean_empty(seqs):
# case 1: only the fwd file exists, and is empty
elif fwd_is_empty and rev_is_empty is None:
os.remove(fwd_fp)
# case 2: only the rev file exists, and is empty
elif fwd_is_empty is None and rev_is_empty:
os.remove(rev_fp)
# all other cases represent situations where the files
# shouldn't be removed


def _demux(seqs, per_sample_sequences, forward_barcodes, reverse_barcodes,
Expand Down

0 comments on commit 28aecb5

Please sign in to comment.