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
9788c0a7
Commit
9788c0a7
authored
3 years ago
by
Jorrit Schaap
Browse files
Options
Downloads
Patches
Plain Diff
TMSS-671
: fixed scheduled_on_sky_start_time -> scheduled_start_time
parent
31a73b43
No related branches found
No related tags found
1 merge request
!715
TMSS-671 & TMSS-1135 & TMSS-1332
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
MAC/APL/MainCU/src/MACScheduler/MACScheduler.cc
+2
-2
2 additions, 2 deletions
MAC/APL/MainCU/src/MACScheduler/MACScheduler.cc
with
2 additions
and
2 deletions
MAC/APL/MainCU/src/MACScheduler/MACScheduler.cc
+
2
−
2
View file @
9788c0a7
...
@@ -797,7 +797,7 @@ void MACScheduler::_updatePlannedList()
...
@@ -797,7 +797,7 @@ void MACScheduler::_updatePlannedList()
if
(
!
upcomingSubTasks
.
empty
())
{
if
(
!
upcomingSubTasks
.
empty
())
{
LOG_DEBUG
(
formatString
(
"TMSSCheck:First planned observation (%s) is at %s"
,
LOG_DEBUG
(
formatString
(
"TMSSCheck:First planned observation (%s) is at %s"
,
upcomingSubTasks
[
0
][
"url"
].
asCString
(),
upcomingSubTasks
[
0
][
"scheduled_
on_sky_
start_time"
].
asCString
()));
upcomingSubTasks
[
0
][
"url"
].
asCString
(),
upcomingSubTasks
[
0
][
"scheduled_start_time"
].
asCString
()));
}
}
// make a copy of the current prepared observations (= observations shown in the navigator in the 'future'
// make a copy of the current prepared observations (= observations shown in the navigator in the 'future'
...
@@ -913,7 +913,7 @@ void MACScheduler::_updatePlannedList()
...
@@ -913,7 +913,7 @@ void MACScheduler::_updatePlannedList()
// construct name and timings info for observation
// construct name and timings info for observation
string
obsName
(
observationName
(
subtask_id
));
string
obsName
(
observationName
(
subtask_id
));
ptime
start_time
=
time_from_string
(
subtask
[
"scheduled_
on_sky_
start_time"
].
asString
().
replace
(
10
,
1
,
" "
));
ptime
start_time
=
time_from_string
(
subtask
[
"scheduled_start_time"
].
asString
().
replace
(
10
,
1
,
" "
));
ptime
modTime
=
time_from_string
(
subtask
[
"updated_at"
].
asString
().
replace
(
10
,
1
,
" "
));
ptime
modTime
=
time_from_string
(
subtask
[
"updated_at"
].
asString
().
replace
(
10
,
1
,
" "
));
// remove obs from backup of the planned-list (it is in the list again)
// remove obs from backup of the planned-list (it is in the list again)
...
...
This diff is collapsed.
Click to expand it.
Jorrit Schaap
@schaap
mentioned in commit
52f6b9fe
·
3 years ago
mentioned in commit
52f6b9fe
mentioned in commit 52f6b9fe5b32782b47f1611d5a2b51dd58e6e7eb
Toggle commit list
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