Skip to content

Commit

Permalink
Merge pull request #184 from SURGroup/Development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
dgiovanis authored Aug 9, 2022
2 parents a94c8db + 836e83c commit b8bc070
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ requirements:
- pip
run:
- python
- beartype 0.9.1

about:
home: https://github.com/SURGroup/UQpy
Expand Down
8 changes: 5 additions & 3 deletions src/UQpy/run_model/model_execution/ThirdPartyModel.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def create_model_execution_directory(self, model_dir, model_files):

os.chdir(self.model_dir)

# self.logger.info("\nUQpy: The following directory has been created for model evaluations: \n" + self.model_dir)
self.logger.info("\nUQpy: The following directory has been created for model evaluations: \n" + self.model_dir)
# Copy files from the model list to model run directory
for file_name in model_files:
full_file_name = os.path.join(self.parent_dir, file_name)
Expand All @@ -144,8 +144,10 @@ def create_model_execution_directory(self, model_dir, model_files):
else:
new_dir_name = os.path.join(self.model_dir, os.path.basename(full_file_name))
shutil.copytree(full_file_name, new_dir_name)
# self.logger.info("\nUQpy: The model files have been copied to the following directory for evaluation: \n"
# + self.model_dir)
self.logger.info("\nUQpy: The model files have been copied to the following directory for evaluation: \n"
+ self.model_dir)
parent_dir = os.path.dirname(self.model_dir)
os.chdir(parent_dir)

def create_model_files_list(self, model_dir):
model_files = []
Expand Down

0 comments on commit b8bc070

Please sign in to comment.