Update utils.py

Make convert_pdb_to_mmcif() function work for custom templates with chains consisting only of HETATMs (chain 'B' in my case). 
Otherwise, it dies and throws a KeyError

  File "ColabFold/colabfold/utils.py", line 208, in _save_dict
    label_asym_id = asym_id_auth_to_label[chain.get_id()]
KeyError: 'B'
main
Dima 7 months ago committed by YoshitakaMo
parent 78bb9dcf79
commit 6fdccf7666
1 changed files (10 KiB → 10 KiB)
  1. 5
      colabfold/utils.py
Loading…
Cancel
Save