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

Bug when you make a mistake of not linking X domains #21

Closed AndrewCRMartin closed 2 years ago

AndrewCRMartin commented 2 years ago

I get no AbML and if I try to move the X domains, the labels don't move with them.

Exception in Tkinter callback
Traceback (most recent call last):
  File "/usr/lib64/python3.7/tkinter/__init__.py", line 1705, in __call__
    return self.func(*args)
  File "./abYdraw.py", line 7402, in <lambda>
    button = tk.Button(frame, text = "Tidy", bg = "#CFCFCF", font=20, command=lambda: sequence_render_pipeline(lower_canvas))
  File "./abYdraw.py", line 3627, in sequence_render_pipeline
    split_chains = Get_dictionaries(entry)
  File "./abYdraw.py", line 47, in Get_dictionaries
    if x[-1] == "]":
IndexError: string index out of range
Exception in Tkinter callback
Traceback (most recent call last):
  File "/usr/lib64/python3.7/tkinter/__init__.py", line 1705, in __call__
    return self.func(*args)
  File "./abYdraw.py", line 5449, in items_selected
    index = i[0]
IndexError: tuple index out of range
JamesSweetJones commented 2 years ago

Fixed. Interesting issue!