Skip to content

Commit

Permalink
Fix guide summ bug introduced in #389
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanconn committed Jan 5, 2023
1 parent dec5dbb commit 5be93b4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions starcheck/src/starcheck.pl
Original file line number Diff line number Diff line change
Expand Up @@ -440,8 +440,7 @@
$obs{$oflsid}->add_guide_summ($oflsid, \%guidesumm);
}
else {
my $obsid = $obs{$oflsid}->{obsid};
my $cat = Ska::Starcheck::Obsid::find_command($obs{$obsid}, "MP_STARCAT");
my $cat = Ska::Starcheck::Obsid::find_command($obs{$oflsid}, "MP_STARCAT");
if (defined $cat){
push @{$obs{$oflsid}->{warn}}, sprintf("No Guide Star Summary for obsid $obsid ($oflsid). \n");
}
Expand Down

0 comments on commit 5be93b4

Please sign in to comment.