Skip to content
Snippets Groups Projects
Commit e07b63b0 authored by mohanty's avatar mohanty
Browse files

Merge branch 'spm/remote-evaluation-service' into 'master'

Refactor evaluation service code

See merge request !124
parents c9c5e411 af74325a
No related branches found
No related tags found
No related merge requests found
......@@ -112,11 +112,11 @@ class FlatlandRemoteEvaluationService:
self.record_frame_step = 0
if self.visualize:
try:
if os.path.exists(self.vizualization_folder_name):
print("[WARNING] Deleting already existing visualizations folder at : {}".format(
self.vizualization_folder_name
))
shutil.rmtree(self.vizualization_folder_name)
except Exception as e:
print(e)
os.mkdir(self.vizualization_folder_name)
def get_env_filepaths(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment