-
Notifications
You must be signed in to change notification settings - Fork 6
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
Output is not written, if the folder does not exist #7
Comments
-> use boost::filesystem for that to avoid the pain of taking care of every system detail. |
Thx, that you like to contribute assigned 💖 |
hrhr, sorry no time ;) |
Since f6c9f76 the code does actually complain and stop if the folder does not exist. Should we instead auto-create the folder and continue working? (would be a nicer experience for the user) |
In my opinion we should print some very clear error message like I mentioned in #72.
A user should be able to create some output folder. |
Ok, so just a clear error message, no auto-creation. In that case, I would also like to remove/change the default value for the output folder. Currently, the default folder is "output", but if it is not auto-created, then there is no real reason for it, right? (and we have config files now, so the use can specify it). Alternatively, we could set the default output-folder to |
In this case, the clear error message would still be useful, if the user specified some invalid path. So I will definitely change the message. |
Currently the programm produces a lot of output files, thus, just using the I would suggest to force the user to specify an output directory. |
I completely agree. nice that everything is done now :) |
Although this is described in the documentation, this could be handled better.
We should try to create these folders, in case they do not exist.
(Mostly relevant for writing vtk-files, so this is related to #1)
The text was updated successfully, but these errors were encountered: