Persistent State: setup.json
AutocleanEEG saves a few preferences between runs (for example, your active task and source) in a per-user JSON file called setup.json. This makes common workflows faster while remaining easy to reset.
Location
Stored under your user profile in a standard OS location:- macOS:
~/Library/Application Support/autoclean/setup.json - Windows:
%APPDATA%\autoclean\setup.json(typicallyC:\Users\<you>\AppData\Roaming\autoclean\setup.json) - Linux:
$XDG_CONFIG_HOME/autoclean/setup.jsonor~/.config/autoclean/setup.json
Contents
Here’s a representative example of the file contents:version: internal format version of this filesetup_date: when the state file was first createdconfig_directory: your Autoclean Workspace directory (wheretasks/andoutput/live)active_task: the Task used when you don’t pass one on the CLIactive_source: default file or directory used when you don’t pass one on the CLI
How It’s Used
- Loaded on startup to apply your saved defaults.
- Updated by CLI commands (e.g.,
task set,source set). - Missing values fall back to prompts or sensible defaults.
Reset & Maintenance
- To reset saved defaults, remove or rename
setup.json(AutocleanEEG recreates it):
- Prefer using the CLI to change values rather than editing the file directly:
Troubleshooting
- Not seeing expected defaults? Check
autocleaneeg-pipeline task showandsource show. - Confirm the
setup.jsonpath for your OS and ensure it’s valid JSON. - If values look stale or the file is corrupted, delete it and re-run
task set/source set.