Skip to content

Commit

Permalink
cherry-picking into 3.2_rel branch: PR #528
Browse files Browse the repository at this point in the history
adding '.csv' to the file name so user can reuse the designs created as a history file for a new design.
  • Loading branch information
ksbeattie committed Jul 2, 2019
1 parent 8769d73 commit caf4b98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion foqus_lib/framework/sdoe/sdoe.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ def run(config_file, nd, test=False):
elapsed_time = time.time() - t0

# save the output
fname = os.path.join(outdir, 'candidates_d{}_n{}_{}'.format(nd, nr, '+'.join(include)))
fname = os.path.join(outdir, 'candidates_d{}_n{}_{}.csv'.format(nd, nr, '+'.join(include)))
write(fname, cand_rand)
print(('d={}, n={}: best_val={}, elapsed_time={}s'.format(nd, nr, best_val, elapsed_time)))

Expand Down

0 comments on commit caf4b98

Please sign in to comment.