Refactor HVideoTool's configuration and project management: updated project handling in core/project.py, streamlined restoration settings in config.py, and improved documentation in CLAUDE.md. Removed unused parameters and enhanced type hints for better clarity.
This commit is contained in:
@@ -160,9 +160,9 @@ hvideotool/
|
||||
команду установки" (`_copy_install_command` → the recommended cu121/cu118 command, picked by
|
||||
`recommend_channel` from the driver's CUDA) and "Проверить заново" (re-runs `_probe_device`).
|
||||
`core/torch_info.py` is pure (no Qt); subprocess uses `CREATE_NO_WINDOW` on Windows.
|
||||
- **Projects (`core/project.py`).** `MainWindow._project` is the open `Project`;
|
||||
`_folder` is kept as a synonym for `project.frames_dir` so the rest of the code
|
||||
(navigation, cache, tags) didn't need rewiring. Entry points: "Создать проект…"
|
||||
- **Projects (`core/project.py`).** `MainWindow._project` is the open `Project`; its
|
||||
frames come from `project.frames_dir` (navigation/cache/tags work off `_files`). Entry
|
||||
points: "Создать проект…"
|
||||
(`_create_project`), "Открыть проект…" (`_open_project_dialog`), "Импортировать папку
|
||||
как проект…" (`_import_folder_as_project` — copies images into a new project's
|
||||
`frames/`, carries over an old `.hvideotool_detections.json` sidecar if present), and
|
||||
|
||||
Reference in New Issue
Block a user