Details
-
Type: Bug
-
Status: Closed (View Workflow)
-
Priority: Trivial
-
Resolution: Done
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:
-
Story Points:0.5
-
Epic Link:
-
Sprint:Summer 3: 6 Jul - 17 Jul, Summer 4: 14 Jul - 28 Jul
Description
See Cache testing module:
https://wiki.transvar.org/display/ITD/Cache
See Perferences > Cache
The button to Reset Cache Preferences does seem to be working, but the new Max Cache Size is not reflected in the window.
To reproduce this:
Clear the cache using the Clear All button.
Set the Max Cache Size to 15 MB
Go to A thaliana, and select Load Sequence.
A window will ask if you want to cache the sequence, say yes.
A window will ask if you want to increase the max cache size, say no.
Go to the Cache preferences, notice that there is no new entry, because there was not enough room to cache the A thaliana sequence.
Click Reset Cache Preferences.
Notice that the value in the text box for Max Cache Size does not change.
Go to the A thaliana genome again, and select Load Sequence.
If a window appears asking if you would like to cache it, say yes.
Notice there is NO window saying that you should increase the Max Cache Size.
Notice that now, the Max Cache Size displays its original value, 2048.
If you change the Max Cache Size, then Reset it, then hit refresh, the value is updated.
The value in the text box should be updated when the Reset button is pushed.
The code changes are at:
https://bitbucket.org/pkulka10/igb_prutha/src/IGBF-1413/
Please follow the steps mentioned in the previous comment to test it.