Skip to content

Commit

Permalink
default value changed in calculate_weights
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix Simkovic committed Jul 13, 2017
1 parent 1d44664 commit b51b947
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Changelog
v0.8
----

- Default value in ``calculate_meff()`` changed from 0.7 to 0.8 [more commonly used in literature]
- Default value in ``calculate_meff()`` and ``calculate_weights()`` changed from 0.7 to 0.8 [more commonly used in literature]
- Bug fix with PyPi installation where ``requirements.txt`` not found; fix includes removal of ``requirements.txt`` and addition of ``install_requires`` to ``setup.py`` instead. - Thanks to Miguel Correa for reporting this bug
- Logging message coloring according to message level
- ``filter()`` function added for redundancy/distant homolog removal from ``SequenceFile``
Expand Down
4 changes: 2 additions & 2 deletions conkit/core/sequencefile.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ def calculate_meff(self, identity=0.8):
warnings.warn("This function will be deprecated in a future release!")
return self.neff

def calculate_weights(self, identity=0.7):
def calculate_weights(self, identity=0.8):
"""Calculate the sequence weights
This function calculates the sequence weights in the
Expand All @@ -259,7 +259,7 @@ def calculate_weights(self, identity=0.7):
Parameters
----------
identity : float, optional
The sequence identity to use for similarity decision [default: 0.7]
The sequence identity to use for similarity decision [default: 0.8]
Returns
-------
Expand Down

0 comments on commit b51b947

Please sign in to comment.