Skip to content

Commit

Permalink
Merge pull request #188 from NZ99/patch-2
Browse files Browse the repository at this point in the history
Fixes errors when processing .pdb files
  • Loading branch information
gahdritz committed Aug 2, 2022
2 parents a44bbeb + d7d95e9 commit 2648f26
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions scripts/generate_chain_data_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,8 @@ def parse_file(
chain_dict["seq"] = residue_constants.aatype_to_str_sequence(
protein_object.aatype,
)
local_data["resolution"] = 0.

cluster_size = chain_cluster_size_dict.get(file_id.upper(), -1)
chain_dict["resolution"] = 0.

if(chain_cluster_size_dict is not None):
cluster_size = chain_cluster_size_dict.get(
full_name.upper(), -1
Expand Down

0 comments on commit 2648f26

Please sign in to comment.