Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Flatland
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sfwatergit
Flatland
Commits
af74325a
Commit
af74325a
authored
5 years ago
by
spmohanty
Browse files
Options
Downloads
Patches
Plain Diff
Refactor visdualization folder creation
parent
c9c5e411
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
flatland/evaluators/service.py
+4
-4
4 additions, 4 deletions
flatland/evaluators/service.py
with
4 additions
and
4 deletions
flatland/evaluators/service.py
+
4
−
4
View file @
af74325a
...
@@ -112,11 +112,11 @@ class FlatlandRemoteEvaluationService:
...
@@ -112,11 +112,11 @@ class FlatlandRemoteEvaluationService:
self
.
record_frame_step
=
0
self
.
record_frame_step
=
0
if
self
.
visualize
:
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
)
shutil
.
rmtree
(
self
.
vizualization_folder_name
)
except
Exception
as
e
:
print
(
e
)
os
.
mkdir
(
self
.
vizualization_folder_name
)
os
.
mkdir
(
self
.
vizualization_folder_name
)
def
get_env_filepaths
(
self
):
def
get_env_filepaths
(
self
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment