Major changes: - Dashboard: WebSocket-based chat with session management - Dashboard: New chat components (ChatPane, ChatInput, ModeToggle) - Dashboard: Enhanced UI with parallel coordinates chart - MCP Server: New atomizer-tools server for Claude integration - Extractors: Enhanced Zernike OPD extractor - Reports: Improved report generator New studies (configs and scripts only): - M1 Mirror: Cost reduction campaign studies - Simple Beam, Simple Bracket, UAV Arm studies Note: Large iteration data (2_iterations/, best_design_archive/) excluded via .gitignore - kept on local Gitea only. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
17 lines
544 B
Python
17 lines
544 B
Python
"""Reset drone gimbal arm optimization study by deleting database."""
|
|
import optuna
|
|
from pathlib import Path
|
|
|
|
study_dir = Path(__file__).parent
|
|
storage = f"sqlite:///{study_dir / '2_results' / 'study.db'}"
|
|
study_name = "drone_gimbal_arm_optimization"
|
|
|
|
try:
|
|
# Delete the study
|
|
optuna.delete_study(study_name=study_name, storage=storage)
|
|
print(f"[OK] Deleted study: {study_name}")
|
|
except KeyError:
|
|
print(f"[WARNING] Study '{study_name}' not found (database may not exist)")
|
|
except Exception as e:
|
|
print(f"[ERROR] Error: {e}")
|