Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sgalkina committed Oct 26, 2023
1 parent cc3ebf5 commit c66646d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion vamb/reclustering.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,9 @@ def contig_name(ell):
if min_contig_len is not None:
contig_len = {h.split(".", 1)[1]: len(seq) for h, seq in fasta_iter(fasta_path)}
data = data[
data["contig"].map(lambda c: contig_len[c.split(".", 1)[1]] >= min_contig_len)
data["contig"].map(
lambda c: contig_len[c.split(".", 1)[1]] >= min_contig_len
)
]
data = data.drop_duplicates(["gene", "contig"])

Expand Down

0 comments on commit c66646d

Please sign in to comment.