Commit cbccea5a authored by Lucianna Osucha's avatar Lucianna Osucha

Update map_aic to work with new mRNA metadata dictionary.

Also improve string representation of mRNA string, as it now
displays relevant metadata as well as the code.
parent 524d48bf
......@@ -22,10 +22,11 @@ except OSError as e:
def mapAICs(rna:mRNA.mRNA) -> mRNA.mRNA:
rna.metadata["baseWeights"] = {}
for i in rna.code:
# Go to the desired entry in datafile * 4)
return rna
......@@ -66,7 +66,7 @@ class mRNA:
def __str__(self) -> str:
return rnaIndex(self.code)
return rnaIndex(self.code) + "\n\n" + self.metadata
class Iterable(mRNA) :
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment