Skip to content

Commit

Permalink
small modify
Browse files Browse the repository at this point in the history
  • Loading branch information
Shujia Huang authored and Shujia Huang committed Apr 2, 2019
1 parent 96c376e commit e61a1b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
7 changes: 2 additions & 5 deletions basevar/caller/basetype.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ def __init__(self, ref_base, bases, quals, min_af):
Base quality for ``bases``. The same size with ``bases``
Cause: The ``quals`` is an integer array which has be converted
by phred-scale
``cmm``: A ``CommonParameter`` class value, required
"""

self._alt_bases = []
Expand Down Expand Up @@ -132,7 +129,7 @@ def lrt(self, specific_base_comb=None):
Parameter:
``specific_base_comb``: list like
just calculate the LRT from these specific base combination
Calculating LRT for specific base combination
"""
if self.total_depth == 0:
return
Expand Down Expand Up @@ -190,7 +187,7 @@ def lrt(self, specific_base_comb=None):

if self._var_qual == 0:
# _var_qual will been setted as -0.0 instand of 0.0 if it's 0,
# and I don't know why it so weird!
# and I don't know why it's so weird!
self._var_qual = 0.0

return
Expand Down
1 change: 0 additions & 1 deletion basevar/caller/executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,6 @@ def basevar_caller(self):
processes = []
# Always create process manager even if nCPU==1, so that we can
# listen signals from main thread

for i in range(self.nCPU):
sub_cvg_file = self.outcvg + '_temp_%s' % i
out_cvg_names.append(sub_cvg_file)
Expand Down

0 comments on commit e61a1b9

Please sign in to comment.