-
Notifications
You must be signed in to change notification settings - Fork 18
Closed
Labels
Description
The dat_test and AlyxPanel_test files contain tests that must dynamically change the current paths. The paths are changed by saving to a paths.mat file that a call to dat.paths will retrieve via loadVar.
The problem is that loadVar saves a cache of these files with the name and modified date compound key. The modified datetime has second precision so on fast computers the paths.mat file is modified and loadVar called in under a second, leading to the cached file being retrieved.
Solution may be to add clearCBToolsCache to the teardown routines.