Fix creation of nested directories for runlog/results
Currently, defining nested directories in model.props
to store runlogs/results leads to an error if one of the parent directories has not be created manually before the simulation.
Example:
> model.props
...
# folder in which csv results are saved
104 results.folder = results/scenario1/usecase42
...
leads to an error if results/scenario1
has not been created manually, while usecase42
will be created by ModelIO
.
Fix:
Using boost::filesystem::create_directories(destination_results);
instead at model_io.cpp:110
.