JamesSweetJones / abYdraw

Input expressions of antibodies in AbML format and output drawings of their shape
GNU General Public License v3.0
3 stars 1 forks source link

Antigen names with '-' won't render #52

Open AndrewCRMartin opened 1 year ago

AndrewCRMartin commented 1 year ago

The following is fine:

VH.a(1:7)[ANTI:IL22]-CH1(2:8){1}-L(3)-VH.b(4:6){1}[ANTI:Albumin]-L(5)-VL.b(6:4){1}[ANTI:Albumin]|
VL.a(7:1)[ANTI:IL22]-CL(8:2){1}-L(9)-VH.c(10:12){1}[ANTI:IL13]-L(11)-VL.c(12:10){1}[ANTI:IL13]

but if I name the antigens properly (IL-22, IL-13), it won't render:

VH.a(1:7)[ANTI:IL-22]-CH1(2:8){1}-L(3)-VH.b(4:6){1}[ANTI:Albumin]-L(5)-VL.b(6:4){1}[ANTI:Albumin]|
VL.a(7:1)[ANTI:IL-22]-CL(8:2){1}-L(9)-VH.c(10:12){1}[ANTI:IL-13]-L(11)-VL.c(12:10){1}[ANTI:IL-13]

Also, when I drew this, the antigen labels also appeared on the linkers...

JamesSweetJones commented 1 year ago

Hope in the latest version to have fixed this issue

Screenshot 2023-04-20 at 11 02 42