Skip to content

Commit

Permalink
created coveragerc
Browse files Browse the repository at this point in the history
  • Loading branch information
qiyunzhu committed May 1, 2020
1 parent e7b8cc7 commit c08479e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[run]
omit =
*/tests/*
*/__init__.py
4 changes: 2 additions & 2 deletions hgtector/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ def build_blast_db(self):
join(self.output, 'blast', 'db'),
join(self.output, 'taxon.map')))
print('Build BLAST database...', flush=True)
ec, out = run_command(cmd, capture=False, merge=False)
ec, out = run_command(cmd)
if ec:
raise ValueError('makeblastdb failed with error code {}.'
.format(ec))
Expand All @@ -775,7 +775,7 @@ def build_diamond_db(self):
join(self.output, 'taxdump', 'names.dmp'),
join(self.output, 'diamond', 'db'), self.tmpdir))
print('Build DIAMOND database...', flush=True)
ec, out = run_command(cmd, capture=False, merge=False)
ec, out = run_command(cmd)
if ec:
raise ValueError('diamond failed with error code {}.'.format(ec))

Expand Down

0 comments on commit c08479e

Please sign in to comment.