Unverified Commit d7d95e94 authored by Niccolò Zanichelli's avatar Niccolò Zanichelli Committed by GitHub
Browse files

Fixes errors when processing .pdb files

Fixes #187.
parent a44bbebb
...@@ -54,9 +54,8 @@ def parse_file( ...@@ -54,9 +54,8 @@ def parse_file(
chain_dict["seq"] = residue_constants.aatype_to_str_sequence( chain_dict["seq"] = residue_constants.aatype_to_str_sequence(
protein_object.aatype, protein_object.aatype,
) )
local_data["resolution"] = 0. chain_dict["resolution"] = 0.
cluster_size = chain_cluster_size_dict.get(file_id.upper(), -1)
if(chain_cluster_size_dict is not None): if(chain_cluster_size_dict is not None):
cluster_size = chain_cluster_size_dict.get( cluster_size = chain_cluster_size_dict.get(
full_name.upper(), -1 full_name.upper(), -1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment