Skip to content

Commit

Permalink
Merge pull request #30 from BioJNO/patch-1
Browse files Browse the repository at this point in the history
Cope with colon in domain identifier
  • Loading branch information
DRL authored Sep 29, 2022
2 parents 62e81ac + d1fce18 commit 8334b37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kinfin.py
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ def build_ProteinCollection(self, inputObj):
if domain_source == "GO":
domain_id = domain_id_count
else:
domain_id, domain_count = domain_id_count.split(":")
domain_id, domain_count = domain_id_count.rsplit(":", 2)
domain_counts_by_domain_id[domain_id] = int(domain_count)
domain_counter = Counter(domain_counts_by_domain_id)
domain_counter_by_domain_source[domain_source] = domain_counter
Expand Down

0 comments on commit 8334b37

Please sign in to comment.