Skip to content

Update Cellpose.java - Fix treatment of backslahes in file paths#48

Merged
carlosuc3m merged 2 commits intomainfrom
stefanhahmann-patch-1
Apr 6, 2026
Merged

Update Cellpose.java - Fix treatment of backslahes in file paths#48
carlosuc3m merged 2 commits intomainfrom
stefanhahmann-patch-1

Conversation

@stefanhahmann
Copy link
Copy Markdown
Collaborator

This change lets Python treat the backslashes of filepaths literally.

In Windows environments, a path such as 'C:\Users' is not uncommon. However, Python interprets '\U' as a start to Unicode escape sequence, which is unintended and leads to an error, since the Unicode escape sequence is never ended.

This change lets Python treat the backslashes of filepaths literally.

In Windows environments, a path such as 'C:\Users\' is not uncommon. However, Python interprets '\U' as a start to Unicode escape sequence, which is unintended and leads to an error, since the Unicode escape sequence is never ended.
@carlosuc3m carlosuc3m merged commit bfa2a2e into main Apr 6, 2026
@carlosuc3m carlosuc3m deleted the stefanhahmann-patch-1 branch April 6, 2026 16:24
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.

2 participants