The simulation.use_output_directory() function currently clears the filename_prefix variable whenever executed. The documentation says this should only happen when dname is not specified. I moved the clearing step into the if condition, so the filename_prefix is only cleared when dname is not specified.
The
simulation.use_output_directory()
function currently clears thefilename_prefix
variable whenever executed. The documentation says this should only happen whendname
is not specified. I moved the clearing step into the if condition, so thefilename_prefix
is only cleared whendname
is not specified.