Skip to content

Commit

Permalink
fixing pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
mazzalab committed Nov 16, 2024
1 parent 45322b5 commit 000f25f
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 13 deletions.
13 changes: 0 additions & 13 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -63,19 +63,6 @@ coverage.xml
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

Expand Down
10 changes: 10 additions & 0 deletions tests/testdata/bad_test.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FASTQWIPER SUMMARY:

Total lines: 60
Well-formed lines: 16 (26.67%)
Clean reads: 4Bad headers or misplaced lines: 10 (16.67%) of which 4 fixed
BAD SEQ lines: 2 (3.33%)
BAD '+' lines: 2 (3.33%)
BAD QUAL lines: 2 (3.33%)
Reads discarded because len(SEQ) neq len(QUAL): 2
Blank lines: 12 (20.0%)
11 changes: 11 additions & 0 deletions tests/testdata/summary1.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FASTQWIPER SUMMARY:

Total lines: 30
Well-formed lines: 8 (26.67%)
Clean reads: 2
Bad headers or misplaced lines: 5 (16.67%) of which 2 fixed
BAD SEQ lines: 1 (3.33%)
BAD '+' lines: 1 (3.33%)
BAD QUAL lines: 1 (3.33%)
Reads discarded because len(SEQ) neq len(QUAL): 1
Blank lines: 6 (20.0%)
11 changes: 11 additions & 0 deletions tests/testdata/summary2.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FASTQWIPER SUMMARY:

Total lines: 12
Well-formed lines: 2 (16.67%)
Clean reads: 5
Bad headers or misplaced lines: 1 (8.33%) of which 0 fixed
BAD SEQ lines: 2 (16.67%)
BAD '+' lines: 3 (25%)
BAD QUAL lines: 4 (33.33%)
Reads discarded because len(SEQ) neq len(QUAL): 5
Blank lines: 7 (58.33%)

0 comments on commit 000f25f

Please sign in to comment.