Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
atdb-ldv
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
ASTRON SDC
atdb-ldv
Commits
73d36086
Commit
73d36086
authored
11 months ago
by
Nico Vermaas
Browse files
Options
Downloads
Patches
Plain Diff
remove the automated hold on 'scrubbed' (request from SDCO)
parent
97b5e263
No related branches found
Branches containing commit
No related tags found
1 merge request
!350
SDC-1313 ancillary dataproducts to dcache (ATDB side)
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
atdb/taskdatabase/models.py
+3
-2
3 additions, 2 deletions
atdb/taskdatabase/models.py
atdb/taskdatabase/templates/taskdatabase/index.html
+1
-1
1 addition, 1 deletion
atdb/taskdatabase/templates/taskdatabase/index.html
with
4 additions
and
3 deletions
atdb/taskdatabase/models.py
+
3
−
2
View file @
73d36086
...
...
@@ -210,9 +210,10 @@ class Task(models.Model):
def
save
(
self
,
*
args
,
**
kwargs
):
# nv:1mar2023, temporary hack, set tasks 'on hold' as soon they get to 'scrubbed'
# (users forget to do that manually, causing unwanted ingests)
# nv:8apr2024, SDO asked for this hack to be removed again.
if
(
self
.
status
!=
State
.
SCRUBBED
.
value
)
&
(
self
.
new_status
==
State
.
SCRUBBED
.
value
):
self
.
resume
=
False
#
if (self.status != State.SCRUBBED.value) & (self.new_status == State.SCRUBBED.value):
#
self.resume = False
# nv:19jun2023, calculate the qualities for this task
if
(
self
.
status
!=
State
.
STORED
.
value
)
&
(
self
.
new_status
==
State
.
STORED
.
value
):
...
...
This diff is collapsed.
Click to expand it.
atdb/taskdatabase/templates/taskdatabase/index.html
+
1
−
1
View file @
73d36086
...
...
@@ -31,7 +31,7 @@
{% include 'taskdatabase/pagination.html' %}
</div>
</div>
<p
class=
"footer"
>
Version 1
1
Apr 2024
<p
class=
"footer"
>
Version 1
5
Apr 2024
</div>
{% include 'taskdatabase/refresh.html' %}
...
...
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