Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change not to use tempfile to avoid PermissionError in WIndows #190

Merged
merged 1 commit into from Mar 8, 2023

Conversation

taroushirani
Copy link
Contributor

Hello,

recipes/_common/no2/utils/ust2lab makes use of tempfile.NamedTempFile, and in windows, we can't open the file which is created by tempfile.NamedTempFile doubly[1] and this results in PermissionError.

  1. https://docs.python.org/3/library/tempfile.html#tempfile.NamedTemporaryFile

This PR will fix this problem

@r9y9
Copy link
Collaborator

r9y9 commented Mar 8, 2023

Thanks for this PR! Looks good. CI is currently failing but let me fix it after merging this PR.

@r9y9 r9y9 merged commit 637378a into nnsvs:master Mar 8, 2023
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.

None yet

2 participants