-
Notifications
You must be signed in to change notification settings - Fork 10
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
Confusing error if old dmp files are around #235
Comments
Yes, PR would be welcome. This case was not considered when the existing error message was written! |
Hmm, changing the error is fairly easy, but ignoring files without breaking the current behaviour is I guess essentially impossible. If we could assume just a single simulation per folder, that would make things easier. |
I quite often want to have something like I wouldn't be against having |
Is it possible to check for a |
That's a good idea! Think it should work, and we can fall back to an error if |
Running with a lower number of processes results in this error:
I am only loading one simulation, so this error does not seem to be correct.
Preferably I would have old data just ignored, as it is with
collect
:https://github.com/boutproject/boutdata/blob/master/boutdata/collect.py#L279
https://github.com/boutproject/boutdata/blob/master/boutdata/collect.py#L310
Would you be happy for a PR?
The text was updated successfully, but these errors were encountered: