Skip to content

Commit

Permalink
refactor benchmark to generate_benchmark_stats
Browse files Browse the repository at this point in the history
  • Loading branch information
yaseminbridges committed Aug 22, 2024
1 parent 7f05096 commit c4420b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions src/pheval/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

from .cli_pheval import run
from .cli_pheval_utils import (
benchmark,
create_spiked_vcfs_command,
generate_benchmark_stats,
generate_stats_plot,
prepare_corpus_command,
scramble_phenopackets_command,
Expand Down Expand Up @@ -56,8 +56,7 @@ def pheval_utils():
pheval_utils.add_command(scramble_phenopackets_command)
pheval_utils.add_command(update_phenopackets_command)
pheval_utils.add_command(create_spiked_vcfs_command)
pheval_utils.add_command(benchmark)
pheval_utils.add_command(benchmark)
pheval_utils.add_command(generate_benchmark_stats)
pheval_utils.add_command(semsim_to_exomiserdb_command)
pheval_utils.add_command(generate_stats_plot)
pheval_utils.add_command(prepare_corpus_command)
Expand Down
2 changes: 1 addition & 1 deletion src/pheval/cli_pheval_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ def create_spiked_vcfs_command(
help="Score threshold.",
type=float,
)
def benchmark(
def generate_benchmark_stats(
run_data: Path,
score_order: str,
threshold: float,
Expand Down

0 comments on commit c4420b6

Please sign in to comment.