Skip to content

Commit

Permalink
Include chains in the res_id in pdb_selb.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedselim2017 committed Sep 21, 2024
1 parent 9cee6f9 commit 45c1d4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdbtools/pdb_selb.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def run(fhandle, filtering_mode, operator, operator_treshold):
if line.startswith(records):
line = _pad_line(line)

res_id = int(line[23:26])
res_id = line[21:26]

if prev_res_id == res_id or prev_res_id is None:
res_lines.append(line)
Expand Down

0 comments on commit 45c1d4a

Please sign in to comment.