Skip to content

Commit d9d1063

Browse files
committed
x
Signed-off-by: SumanthRH <sumanthrh@anyscale.com>
1 parent bd8f560 commit d9d1063

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

skythought/evals/cli.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -547,9 +547,10 @@ def score(
547547

548548
run_dir = Path(run_dir)
549549

550-
ids: List[str] = comma_separated_to_list(ids)
551-
# make them unique
552-
ids = list(set(ids))
550+
if ids:
551+
ids: List[str] = comma_separated_to_list(ids)
552+
# make them unique
553+
ids = list(set(ids))
553554

554555
if task not in TASK_NAMES_TO_YAML:
555556
raise ValueError(

0 commit comments

Comments
 (0)