We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Distance.pairwise_distance from alfpy.ncd raises KeyError when seq1idx == seq2idx.
Distance.pairwise_distance
alfpy.ncd
KeyError
seq1idx == seq2idx
Example:
import alfpy.ncd as ncd from alfpy.utils import seqrecords seq_records = seqrecords.SeqRecords(id_list=[0], seq_list=["ACGT"] dist = ncd.Distance(seq_records) print(dist.pairwise_distance(0, 0))
This raises:
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "../alfpy/ncd.py", line 67, in pairwise_distance zxy = self._complexity[(seq1idx, seq2idx)] KeyError: (0, 0)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Distance.pairwise_distance
fromalfpy.ncd
raisesKeyError
whenseq1idx == seq2idx
.Example:
This raises:
The text was updated successfully, but these errors were encountered: