Skip to content

Commit 36adecd

Browse files
committed
chore: remove obsolete comments from scripts
1 parent 58f6bb4 commit 36adecd

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

krakenparser/counts/convert2csv.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def convert_to_csv(input_file: str, output_file: str) -> None:
3131

3232
@app.callback(invoke_without_command=True)
3333
def main(
34-
ctx: typer.Context, # Контекст для нативного хелпа
34+
ctx: typer.Context,
3535
input_file: Optional[str] = typer.Option(
3636
None,
3737
"-i",

krakenparser/mpa/mpa_table.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def combine_mpa(in_files: list[Path], o_file: Path) -> None:
5757
split_vals = classification.split("|")
5858
curr_parent = ""
5959
for i in range(len(split_vals)):
60-
test_val = "|".join(split_vals[:i]) # при i=0 → ""
60+
test_val = "|".join(split_vals[:i])
6161
if test_val in values:
6262
curr_parent = test_val
6363

@@ -102,7 +102,7 @@ def combine_mpa(in_files: list[Path], o_file: Path) -> None:
102102

103103
@app.callback(invoke_without_command=True)
104104
def main(
105-
ctx: typer.Context, # Контекст для работы с хелпом
105+
ctx: typer.Context,
106106
in_files: Optional[list[Path]] = typer.Option(
107107
None,
108108
"-i",

krakenparser/stats/relabund.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def calculate_rel_abund(
7575

7676
@app.callback(invoke_without_command=True)
7777
def main(
78-
ctx: typer.Context, # Контекст для вызова хелпа
78+
ctx: typer.Context,
7979
input_file: Optional[Path] = typer.Option(
8080
None,
8181
"-i",

0 commit comments

Comments
 (0)