Visitar URL original
Fix network-drive path corruption in `read_config()` and related call sites by deruyter92 · Pull Request #3349 · DeepLabCut/DeepLabCut · GitHub
Skip to content
Closed
Changes from 1 commit
Commits
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
Update deeplabcut/utils/auxiliaryfunctions.py
  • Loading branch information
deruyter92 authored May 29, 2026
commit 8be1c265e6a2bc6336d2beab0a6adf76bf572ffd
1 change: 1 addition & 0 deletions deeplabcut/utils/auxiliaryfunctions.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@ def safe_resolve(path: Path) -> Path:
resolved = path.resolve()
try:
if resolved.is_dir():
# test if os.listdir works after str-conversion
os.listdir(str(resolved))
Comment thread
deruyter92 marked this conversation as resolved.
Resolved
else:
open(str(resolved)).close()
Expand Down
Loading