cortex.database.Database.get_cache

Database.get_cache(subject: str) → str[source]

Get (creating if necessary) the cache directory for a subject.

By default, this is a “cache” subdirectory inside the subject’s filestore entry. This can be overridden by setting the cache option under [basic] in the pycortex config file (see cortex/defaults.cfg), in which case the cache directory becomes {cache}/{subject}/cache.