Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pycalibration
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Analyze
Contributor 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
calibration
pycalibration
Commits
bb70cbee
Commit
bb70cbee
authored
5 months ago
by
Thomas Michelat
Browse files
Options
Downloads
Patches
Plain Diff
FIX: manual launch don't skip the last run of the proposal
parent
0b54d3b3
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1075
FIX: manual launch don't skip the last run of the proposal
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
webservice/manual_launch.py
+1
-1
1 addition, 1 deletion
webservice/manual_launch.py
with
1 addition
and
1 deletion
webservice/manual_launch.py
+
1
−
1
View file @
bb70cbee
...
@@ -173,7 +173,7 @@ def main(
...
@@ -173,7 +173,7 @@ def main(
all_runs
=
get_runs_by_proposal_all
(
proposal_no
)
all_runs
=
get_runs_by_proposal_all
(
proposal_no
)
run_no_id_map
=
{
run
[
"
run_number
"
]:
run
[
"
id
"
]
for
run
in
all_runs
}
run_no_id_map
=
{
run
[
"
run_number
"
]:
run
[
"
id
"
]
for
run
in
all_runs
}
max_run_no
=
max
(
run_no_id_map
.
keys
())
max_run_no
=
max
(
run_no_id_map
.
keys
())
+
1
requested_ranges
=
[
range
(
*
s
.
indices
(
max_run_no
))
for
s
in
slices
]
requested_ranges
=
[
range
(
*
s
.
indices
(
max_run_no
))
for
s
in
slices
]
requested_run_nos
=
{
run_no
for
r
in
requested_ranges
for
run_no
in
r
}
requested_run_nos
=
{
run_no
for
r
in
requested_ranges
for
run_no
in
r
}
...
...
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