No output written if output_root
is specified in realization config and does not exist or is a file
#848
Labels
question
Further information is requested
Current behavior
If
output_root
is specified in a realization config and points to an existing file or a non-existent directory, NextGen does not write output.For history sake, this feature was introduce in #531.
Expected behavior
I think this is up for debate. There is an argument for
NextGen
attempting to create the output directory if it does not exist, but I can also see the other side. In either case, ifoutput_root
points to a file an exception should be raised. Likewise, if the expected behavior is thatNextGen
attempts to create the directory but cannot for whatever reason, an exception should be raised. It is desirable thatNextGen
performs these checks before entering the simulation loop.Steps to replicate behavior
Modified example realization config
realization config
Cases:
output_root
does not exist:output_root
is a file:The text was updated successfully, but these errors were encountered: