jinfo/sequence.py
def MW(self) -> float:
        """
        Calculate protein MW

        Returns: Molecular weight float
        """

        if "X" in self.seq:
            raise UnknownBaseError("X residue in sequence")
        return sum([AA_MW_TABLE[base] for base in self.seq])

        Calculate protein MW

        Returns: Molecular weight float
        
Calculate protein MW
Returns: Molecular weight float
Calculate protein MW Returns : Molecular weight float
def MW(self) -> float:
        if "X" in self.seq:
            raise UnknownBaseError("X residue in sequence")
        return sum([AA_MW_TABLE[base] for base in self.seq])
def MW ( self ) -> float : if "X" in self . seq : raise UnknownBaseError ( "X residue in sequence" ) return sum ( [ AA_MW_TABLE [ base ] for base in self . seq ] )
Calculate protein MW
Returns: Molecular weight float
Calculate protein MW Returns : Molecular weight float
"""
        Calculate protein MW

        Returns: Molecular weight float
        """
self