Skip to content

Commit 28c6d1b

Browse files
committed
fix: update cache names to invalidate stale cached data
1 parent 976977b commit 28c6d1b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

malariagen_data/anoph/pca.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def pca(
8080
) -> Tuple[pca_params.df_pca, pca_params.evr]:
8181
# Change this name if you ever change the behaviour of this function, to
8282
# invalidate any previously cached data.
83-
name = "pca_v5"
83+
name = "pca_v6"
8484

8585
# Check that either sample_query xor sample_indices are provided.
8686
base_params._validate_sample_selection_params(

malariagen_data/anoph/snp_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1930,7 +1930,7 @@ def biallelic_diplotypes(
19301930
) -> Tuple[np.ndarray, np.ndarray]:
19311931
# Change this name if you ever change the behaviour of this function, to
19321932
# invalidate any previously cached data.
1933-
name = "biallelic_diplotypes"
1933+
name = "biallelic_diplotypes_v2"
19341934

19351935
# Check that either sample_query xor sample_indices are provided.
19361936
base_params._validate_sample_selection_params(

0 commit comments

Comments
 (0)