From fc51576ef4d859005167aa29fcf15f8f63916463 Mon Sep 17 00:00:00 2001 From: Killian Date: Mon, 4 Nov 2024 20:27:26 -0500 Subject: [PATCH] fix all permutations --- src/WarrenCowleyParameters/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/WarrenCowleyParameters/__init__.py b/src/WarrenCowleyParameters/__init__.py index 47b5d35..27e14f4 100644 --- a/src/WarrenCowleyParameters/__init__.py +++ b/src/WarrenCowleyParameters/__init__.py @@ -206,7 +206,7 @@ def _get_labels_and_values(self, unique_types, wc_for_shells, shell_index): idx = range(len(unique_types)) # for i, j in itertools.combinations_with_replacement(idx, 2): - for i, j in itertools.combinations(idx, 2): + for i, j in itertools.permutations(idx, 2): namei = self.get_type_name(unique_types[i]) namej = self.get_type_name(unique_types[j]) labels.append(f"{namei}-{namej}")