Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LOFAR
Manage
Activity
Members
Labels
Plan
Issues
Wiki
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review 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
RadioObservatory
LOFAR
Commits
f2a45f1a
Commit
f2a45f1a
authored
1 year ago
by
Jorrit Schaap
Browse files
Options
Downloads
Patches
Plain Diff
TMSS-2809
: typo
parent
d60eef1f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1176
TMSS-2809
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
SAS/TMSS/backend/services/scheduling/lib/dynamic_scheduling.py
+2
-2
2 additions, 2 deletions
...MSS/backend/services/scheduling/lib/dynamic_scheduling.py
with
2 additions
and
2 deletions
SAS/TMSS/backend/services/scheduling/lib/dynamic_scheduling.py
+
2
−
2
View file @
f2a45f1a
...
...
@@ -761,8 +761,8 @@ class Scheduler:
if
rescored_unit
:
lower_scoring_units
=
[
ssu
for
ssu
in
scored_scheduling_units
if
ssu
.
weighted_score
<
rescored_unit
.
weighted_score
]
for
blocking_placed_unit
in
lower_scoring_units
:
blocking_placed_unit
.
placed
=
False
blocking_placed_unit
.
save
()
blocking_placed_unit
.
scheduling_unit
.
placed
=
False
blocking_placed_unit
.
scheduling_unit
.
save
()
# we tried to make room for our candidate
# place it if no more blocking other units, else just assign the new starttime
...
...
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