Skip to content

Commit

Permalink
Adds missing file copy in ClusterExecution.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dimtsap committed Mar 21, 2023
1 parent 9e5f072 commit d8f2de0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/UQpy/run_model/model_execution/ClusterExecution.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@

# Loop over the number of samples and create input files in a folder in current directory
for i in range(len(samples)):
work_dir = os.path.join(model.model_dir, "run_" + str(i))
model._copy_files(work_dir=work_dir)
new_text = model._find_and_replace_var_names_with_values(samples[i])
folder_to_write = 'run_' + str(i+n_existing_simulations) + '/InputFiles'
# Write the new text to the input file
Expand Down

0 comments on commit d8f2de0

Please sign in to comment.