Opened 11 years ago

Closed 11 years ago

#664 closed defect (fixed)

Codon("ATG").amino_acid() returns '\0'

Reported by: Peter Owned by: Peter
Priority: major Milestone: yat 0.7.2
Component: omic Version: 0.7.1
Keywords: Cc:


Codon("ATG").amino_acid() returns '\0' while I expected 'M'.

The reason is that ATG codes for both start and M. Start is held internally as '\0'. I suggest that

Codon("ATG").amino_acid() should return 'M' but still

Codon("ATG").start() should be true.

Change History (2)

comment:1 Changed 11 years ago by Peter

Status: newassigned

comment:2 Changed 11 years ago by Peter

Resolution: fixed
Status: assignedclosed

(In [2464]) fixes #664 (incorrect comment in r2464).

Note: See TracTickets for help on using tickets.