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

file naming of temporary kwave input and output .h5 -files leads to error in multiprocessed scripts #215

Open
cbender98 opened this issue Apr 27, 2023 · 0 comments · May be fixed by #234
Open

Comments

@cbender98
Copy link
Collaborator

cbender98 commented Apr 27, 2023

so far we did not specify the naming of the file created by kwave.

kwave creates files where the namings are just based on the current time (hours:minutes:seconds).

for multprocessing scripts this can cause errors since different processes (which are creating the same file within one second) are refering to the same file path and thus overwriting it / deleting it.

one can overcome this problem by specifying the file names in a unique manner (using process ids)

@jnoelke jnoelke linked a pull request Aug 4, 2023 that will close this issue
@jnoelke jnoelke linked a pull request Aug 4, 2023 that will close this issue
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 a pull request may close this issue.

1 participant