From 9ae9ec554f230ee6e137a06cef21ebb123a1e802 Mon Sep 17 00:00:00 2001 From: skar0 Date: Thu, 12 Oct 2023 19:47:23 +0100 Subject: [PATCH] Adapted regex pattern to accommodate all_but_one as a position --- utils/store.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/store.py b/utils/store.py index ce0a067..82d3988 100644 --- a/utils/store.py +++ b/utils/store.py @@ -16,7 +16,7 @@ DIRECTION_PATTERN = ( r'^(kmeans|pca|das|das2d|das3d|logistic_regression|mean_diff|random_direction)_' - r'(?:(simple_adverb|simple_book|simple_product|simple_train|simple_res|treebank_train)_(ADJ|ADV|ALL|FEEL|NOUN|VRB)_)' + r'(?:(simple_adverb|simple_book|simple_product|simple_train|simple_res|treebank_train)_(ADJ|ADV|ALL|FEEL|NOUN|VRB|all_but_one)_)' r'layer(\d*)' r'\.npy$' )