Skip to content

Commit

Permalink
fix try:
Browse files Browse the repository at this point in the history
  • Loading branch information
markus583 committed Jun 16, 2024
1 parent a4f9e20 commit c995b70
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wtpsplit/evaluation/stat_tests/permutation_test_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@

if len(data_list) == 0:
data_list = [[]]
try:
if isinstance(data_list[0], int):
data_list = [data_list]
if isinstance(data_list[0], int):
data_list = [data_list]


raw_data[lang][dataset][model + "-" + model_type] = data_list

Expand Down

0 comments on commit c995b70

Please sign in to comment.