Skip to content

Commit

Permalink
Update q2_quality_filter/_filter.py
Browse files Browse the repository at this point in the history
Co-authored-by: Greg Caporaso <[email protected]>
  • Loading branch information
colinvwood and gregcaporaso authored Dec 12, 2024
1 parent 46ce373 commit 2901aa7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions q2_quality_filter/_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,10 +329,7 @@ def q_score(
manifest_fh = manifest.open()
manifest_fh.write('sample-id,filename,direction\n')

if isinstance(result, SingleLanePerSamplePairedEndFastqDirFmt):
paired = True
else:
paired = False
paired = isinstance(result, SingleLanePerSamplePairedEndFastqDirFmt)

# parse phred offset and load the input demux manifest
metadata_view = demux.metadata.view(YamlFormat).open()
Expand Down

0 comments on commit 2901aa7

Please sign in to comment.