Visitar URL original
Fix PySide6 stylesheet usage by C-Achard · Pull Request #3371 · DeepLabCut/DeepLabCut · GitHub
Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
3b8c44a
fix path resolution on network drives. Replace Path(..).resolve() wi…
deruyter92 May 29, 2026
fddcbaa
Add safe_resolve helper for path resolution
deruyter92 May 29, 2026
65f8dfb
fix redundant resolution of resolved path in memory_replay.py
deruyter92 May 29, 2026
6bbe26d
fix open -> os.stat
deruyter92 May 29, 2026
3f93a76
replace os.stat -> open for files, listdir for dirs.
deruyter92 May 29, 2026
87cd6aa
fix TestReadConfigProjectPath
deruyter92 May 29, 2026
8be1c26
Update deeplabcut/utils/auxiliaryfunctions.py
deruyter92 May 29, 2026
5ec1023
Merge remote-tracking branch 'upstream/main' into jaap/safe_resolve_p…
deruyter92 Jun 26, 2026
f422dcc
Merge branch 'main' into jaap/safe_resolve_paths
C-Achard Jun 29, 2026
9d2732b
Adjust config path tests for Path objects
C-Achard Jun 29, 2026
bb23a34
address remaining `.resolve()` cases: prefer `.absolute()`, or otherw…
deruyter92 Jul 6, 2026
831cb1d
update `safe_resolve`: add logging, use os.stat (more efficient)
deruyter92 Jul 6, 2026
77bf7f0
update test safe_resolve: allow fallback and test open/closing instead
deruyter92 Jul 6, 2026
ca63582
Merge remote-tracking branch 'upstream/main' into jaap/safe_resolve_p…
deruyter92 Jul 6, 2026
205b550
fix remaining Path.resolve()
deruyter92 Jul 7, 2026
8c6c722
Add GUI asset helper utilities
C-Achard Jun 15, 2026
32c12e7
Use gui_assets for icons and pixmaps
C-Achard Jun 15, 2026
a7f2643
Use get_style_qss and update qdarkstyle deps
C-Achard Jun 15, 2026
2a59325
Update uv.lock
C-Achard Jun 15, 2026
4dec33a
Fallback to PySide2 qdarkstyle stylesheet
C-Achard Jun 15, 2026
5275139
Remove unused imports and tidy spacing
C-Achard Jul 16, 2026
e6aab6a
Remove outdated comments
C-Achard Jul 17, 2026
b5c2c91
Merge remote-tracking branch 'upstream/main' into cy/fix-pyside6-theme
deruyter92 Jul 17, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix open -> os.stat
  • Loading branch information
deruyter92 committed May 29, 2026
commit 6bbe26d553e0f5ea78c8b0125f164c43c19fc011
2 changes: 1 addition & 1 deletion deeplabcut/utils/auxiliaryfunctions.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def safe_resolve(path: Path) -> Path:
"""
resolved = path.resolve()
try:
open(resolved).close()
os.stat(str(resolved))
return resolved
except OSError:
return path.absolute()
Expand Down
Loading