summaryrefslogtreecommitdiff
path: root/issues
diff options
context:
space:
mode:
authorzsloan2022-02-11 18:01:47 -0600
committerGitHub2022-02-11 18:01:47 -0600
commit233ca277ab112e32683b4e5e7b53c5593f6596c5 (patch)
tree04ba357f76109824c558f4f7d510492e5025b816 /issues
parent8019cff7e0b756f970e2b0063aeb6c6d9f1a0ede (diff)
downloadgn-gemtext-233ca277ab112e32683b4e5e7b53c5593f6596c5.tar.gz
Create sample-data-caching-problem
Diffstat (limited to 'issues')
-rw-r--r--issues/sample-data-caching-problem7
1 files changed, 7 insertions, 0 deletions
diff --git a/issues/sample-data-caching-problem b/issues/sample-data-caching-problem
new file mode 100644
index 0000000..8faf19b
--- /dev/null
+++ b/issues/sample-data-caching-problem
@@ -0,0 +1,7 @@
+When we cache sample data (mainly for features like correlations), it doesn't take into account changes in the sample list (which is derived from the .geno file).
+
+While this isn't frequently a problem, it was recently encountered with the BXD-Longevity group (which has had a number of recent changes to its .geno file, including changing the order of cases/samples, which basically rendered the cached sample data completely wrong)
+
+The fix to this is probably just to include the last updated time-stamp for the .geno file when caching. I'll probably do this in the next few days (maybe later today).
+
+The relevant caching code is here - https://github.com/genenetwork/genenetwork2/blob/2c22e593c59a9b4f9129a2e669443709d9c5154a/wqflask/base/data_set.py#L1288-L1317