diff --git a/src/alphafold3/common/folding_input.py b/src/alphafold3/common/folding_input.py index 6acdda8f..902e0f8c 100644 --- a/src/alphafold3/common/folding_input.py +++ b/src/alphafold3/common/folding_input.py @@ -410,9 +410,7 @@ def to_dict( { 'mmcif': template.mmcif, 'queryIndices': list(template.query_to_template_map.keys()), - 'templateIndices': ( - list(template.query_to_template_map.values()) or None - ), + 'templateIndices': list(template.query_to_template_map.values()), } for template in self._templates ]