Skip to content

Commit

Permalink
STY: pre-commit linting with ruff
Browse files Browse the repository at this point in the history
  • Loading branch information
GavinHuttley committed Nov 8, 2024
1 parent 87b87ce commit 6f249d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/diverse_seq/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

import click
import rich.progress as rich_progress
from cogent3 import make_unaligned_seqs
from cogent3.app import data_store as c3_data_store
from scitrack import CachingLogger

Expand Down
6 changes: 4 additions & 2 deletions src/diverse_seq/cluster.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,6 @@ def make_cluster_tree(
return tree



class DvsParCtreeMixin:
def _mash_dist(self, seq_arrays: Sequence[SeqArray]) -> numpy.ndarray:
"""Calculates pairwise mash distances between sequences in parallel.
Expand Down Expand Up @@ -624,7 +623,10 @@ def main(self, seq_names: list[str]) -> PhyloNode:
seq_arrays = seq_arrays[: self._limit] if self._limit else seq_arrays
seq_arrays = [
SeqArray(
member.unique_id, member.read(), self._moltype, member.data_store.source
member.unique_id,
member.read(),
self._moltype,
member.data_store.source,
)
for member in seq_arrays
]
Expand Down

0 comments on commit 6f249d4

Please sign in to comment.