MDANSE icon indicating copy to clipboard operation
MDANSE copied to clipboard

[ENHANCEMENT] Update MDANSE so that it checks the validity of the cache

Open ChiCheng45 opened this issue 9 months ago • 1 comments

Is your feature request related to a problem? Please describe. In many cases the user may have old or corrupted cache. When the user json files are loaded up we should check that the data inside them is correct. For example, that the default atom data has not been changed and the default units are correct.

Probably the best thing to do is to warn the user and attempt a fix to their files.

ChiCheng45 avatar May 22 '25 14:05 ChiCheng45

The other thing that might be useful is sticking a version flag into the JSON so we can check and update appropriately?

oerc0122 avatar May 22 '25 14:05 oerc0122