Skip to content

Conversation

@y1zhou
Copy link

@y1zhou y1zhou commented Apr 7, 2025

When the input contains chains that could not be numbered by ANARCI, previous code would first drop entries in the numbering list, resulting in a length mismatch between numbering and details. Assuming the input is a three-chain PDB in the order of VH, antigen, and VL, the line:

details = dict2obj([det[0] for num, det in zip(numbering, details) if num]) 

would error with TypeError: 'NoneType' object is not subscriptable because the second chain got removed in numbering in the previous line.

When the input contains chains that could not be numbered by ANARCI, previous code would first drop entries in the `numbering` list, resulting in a length mismatch between `numbering` and `details`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant