Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
jass
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor 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
Statistical-Genetics
jass
Commits
cb1e05e5
Commit
cb1e05e5
authored
3 years ago
by
Bryan BRANCOTTE
Browse files
Options
Downloads
Patches
Plain Diff
clear all status as images are also removed
parent
f9a8b796
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
jass/models/project.py
+1
-5
1 addition, 5 deletions
jass/models/project.py
with
1 addition
and
5 deletions
jass/models/project.py
+
1
−
5
View file @
cb1e05e5
...
@@ -256,11 +256,7 @@ class Project(BaseModel, abc.ABC):
...
@@ -256,11 +256,7 @@ class Project(BaseModel, abc.ABC):
os
.
remove
(
project_hdf_path
)
os
.
remove
(
project_hdf_path
)
# as a consequence, its creation will have to be redone, so set progress to 0 and remove is status.
# as a consequence, its creation will have to be redone, so set progress to 0 and remove is status.
self
.
progress
=
0
self
.
progress
=
0
try
:
self
.
status
.
clear
()
del
self
.
status
[
'
worktable
'
]
except
KeyError
:
# worktable not in status
pass
self
.
save
()
self
.
save
()
if
self
.
delayed_gen_csv_file
:
if
self
.
delayed_gen_csv_file
:
...
...
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