Skip to content

Merge Dev branch with cross-platform fixes#40

Merged
guanpingxiao merged 2 commits into
PCART-tools:mainfrom
guanpingxiao:Dev
Apr 10, 2026
Merged

Merge Dev branch with cross-platform fixes#40
guanpingxiao merged 2 commits into
PCART-tools:mainfrom
guanpingxiao:Dev

Conversation

@guanpingxiao
Copy link
Copy Markdown
Collaborator

@guanpingxiao guanpingxiao commented Apr 10, 2026

Summary

Merge two commits from Dev branch to main:

  1. 015611b - Fix cross-platform path handling in map.py and preprocess.py
  2. 3bf1c34 - Fix UTF-8 encoding in getAst to handle non-ASCII source files on Windows

Changes

  • Fix path separator handling for Windows/Linux compatibility
  • Fix UTF-8 encoding issues when processing non-ASCII source files

Normalize path separators before splitting to fix Windows path compatibility.
Used os.path.basename() instead of string split for cross-platform support.
@guanpingxiao guanpingxiao merged commit 882646d into PCART-tools:main Apr 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant