Skip to content

Commit

Permalink
Remove used parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
fplazaonate committed Apr 3, 2024
1 parent ddd886c commit 672921b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion meteor/counter.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ def launch_mapping(self) -> None:
self.mapping_type,
self.trim,
self.alignment_number,
self.counting_type,
self.identity_threshold,
)
mapping_process.execute()
Expand Down
2 changes: 0 additions & 2 deletions meteor/mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ class Mapper(Session):
mapping_type: str
trim: int
alignment_number: int
counting_type: str
identity_threshold: float

def __post_init__(self) -> None:
Expand Down Expand Up @@ -117,7 +116,6 @@ def execute(self) -> None:
if self.trim > Mapper.NO_TRIM:
parameters += f"--trim-to {self.trim} "
if self.alignment_number > 1:
# and self.counting_type != "best"
parameters += f"-k {self.alignment_number} "
# Check the bowtie2 version
bowtie_exec = run(["bowtie2", "--version"], capture_output=True)
Expand Down
1 change: 0 additions & 1 deletion meteor/tests/test_mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ def mapping_builder(datadir: Path, tmp_path: Path) -> Mapper:
"end-to-end",
80,
10000,
"smart_shared_reads",
0.95,
)

Expand Down

0 comments on commit 672921b

Please sign in to comment.