mirror of
https://github.com/TheusHen/EEGFrontier.git
synced 2026-04-12 23:05:49 +00:00
- Implemented mne_tools.py for converting sample records to MNE Raw format. - Created models.py to define data structures for sample, event, and error packets. - Developed pyqt_focus.py for a PyQt-based focus monitoring GUI with real-time EEG data visualization. - Added eflex_bridge.py to manage the EEG engine instance. - Introduced simulator.py to simulate EEG data packets for testing purposes. - Established a web dashboard in pendulum_web.py for live EEG data display and diagnostics. - Configured project dependencies in pyproject.toml and equirements.txt. - Added batch and PowerShell scripts for running and stopping the Reflex application. - Created xconfig.py for Reflex application configuration.
16 lines
409 B
PowerShell
16 lines
409 B
PowerShell
$ErrorActionPreference = "Stop"
|
|
|
|
# Force Reflex to use npm instead of bun in this environment.
|
|
$env:REFLEX_USE_NPM = "1"
|
|
|
|
# Ensure a valid npm path appears before the broken System32 shim.
|
|
$nodeBin = "C:\Program Files\nodejs"
|
|
if (Test-Path $nodeBin) {
|
|
$env:PATH = "$nodeBin;$env:PATH"
|
|
}
|
|
|
|
Write-Host "Starting Reflex with npm..."
|
|
Write-Host "REFLEX_USE_NPM=$env:REFLEX_USE_NPM"
|
|
|
|
& .\.venv\Scripts\reflex run
|