Skip to content

Commit

Permalink
Rebuild cache-test cache dir, force add file for paranoid test
Browse files Browse the repository at this point in the history
  • Loading branch information
matthuska committed Sep 30, 2023
1 parent 159e484 commit dab81da
Show file tree
Hide file tree
Showing 31 changed files with 97 additions and 2,755 deletions.
4 changes: 2 additions & 2 deletions src/covsonar/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ def cache_sequence(self, seqhash: str, sequence: str) -> str:
LOGGER.critical(
"Seqhash collision: sequences differ for seqhash " + seqhash + "."
)
# sys.exit(1)
sys.exit(1)

os.makedirs(os.path.dirname(fname), exist_ok=True)
with open(fname, "w") as handle:
Expand Down Expand Up @@ -1017,7 +1017,7 @@ def paranoid_test(
+ cigar
)
LOGGER.error("Paranoid test failed.")
return False
sys.exit(1)
return True


Expand Down
1 change: 1 addition & 0 deletions src/covsonar/dbm.py
Original file line number Diff line number Diff line change
Expand Up @@ -2744,6 +2744,7 @@ def handle_vcf_format(
LEFT JOIN element e ON v.element_id = e.id
LEFT JOIN molecule m ON e.molecule_id = m.id
WHERE {genome_condition}{nuc_filter}
ORDER BY fs.name
) as rows
GROUP BY
"molecule.accession", "variant.start", "variant.ref", "variant.alt"
Expand Down
Binary file added tests/data/cache-test/cache/ref/1.cds
Binary file not shown.
Binary file not shown.
File renamed without changes.
File renamed without changes.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

Loading

0 comments on commit dab81da

Please sign in to comment.