copick cache clear
core
Remove the portal cache to force a refresh.
Usage
Description
Deletes the on-disk CryoET Data Portal query cache for the project so the next process
re-queries the portal and rewrites the cache. Does not contact the portal itself. By
default only the cache file matching the current configuration is removed; pass --all
to clear every portal cache file in the cache directory (useful when the project's
pickable objects changed and the old cache no longer matches).
Options
| Option | Type | Default | Description |
|---|---|---|---|
-c, --config |
path | — | Path to the configuration file. |
--all |
boolean flag | False |
Remove every portal cache file in the cache directory, not just the current fingerprint (use after changing the project's pickable objects). |
--yes, -y |
boolean flag | False |
Do not prompt for confirmation. |
--debug / --no-debug |
boolean flag | False |
Enable debug logging. |
Examples
# Invalidate the cache for a portal-backed project
copick cache clear -c cdp_config.json
# Clear all portal cache files without confirmation
copick cache clear -c cdp_config.json --all --yes
See also
copick cache info— show the portal cache location and freshness