MCPcopy Create free account
hub / github.com/PKU-YuanGroup/TaxDiff / decode

Method decode

data_reader/decoder.py:34–37  ·  view source on GitHub ↗

decode index array, x, to byte string of this alphabet

(self, x)

Source from the content-addressed store, hash-verified

32 return x
33
34 def decode(self, x):
35 """ decode index array, x, to byte string of this alphabet """
36 string = self.chars[x]
37 return string.tobytes()
38
39
40class Uniprot21(Alphabet):

Callers 1

__init__Method · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected