Skip to content

Commit

Permalink
Group restoration when inst. Globaligner from dict (#52)
Browse files Browse the repository at this point in the history
* Group restoration when inst. Globaligner from dict

* Missing comma in install_requires list
  • Loading branch information
lukas-val authored Mar 4, 2021
1 parent 7c09e9a commit c5f1848
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions clinker/align.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,10 @@ def from_dict(cls, d):
ga._alignment_indices[aln.target.uid][aln.query.uid] = aln.uid
ga._cluster_names[aln.uid] = (aln.query.uid, aln.target.uid)

for group in d["groups"]:
gr = Group.from_dict(group)
ga.groups.append(gr)

return ga

def __str__(self):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def get_version():
"biopython>=1.75",
"numpy>=1.13.3",
"scipy>=1.3.3",
"disjoint-set>=0.7.1"
"disjoint-set>=0.7.1",
"gffutils",
],
python_requires=">=3.6",
Expand Down

0 comments on commit c5f1848

Please sign in to comment.