Skip to content

Commit

Permalink
Fix for new output folder option
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthur Glowacki committed Nov 18, 2024
1 parent ab68941 commit 264e7c2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/io/file/hl_file_io.h
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,10 @@ DLL_EXPORT bool init_analysis_job_detectors(data_struct::Analysis_Job<T_real>* a

override_params->dataset_directory = analysis_job->dataset_directory;
override_params->detector_num = detector_num;
if(analysis_job->output_dir.length() == 0)
{
analysis_job->output_dir = analysis_job->dataset_directory;
}

if (false == io::file::load_override_params(analysis_job->output_dir, detector_num, override_params))
{
Expand Down

0 comments on commit 264e7c2

Please sign in to comment.