Skip to content

Commit

Permalink
Merge pull request #365 from sot/change_guide_warn
Browse files Browse the repository at this point in the history
Recharacterize too few guide warning as yellow warn
  • Loading branch information
jeanconn authored Jan 13, 2021
2 parents 26eadd3 + d0973ee commit 5df731b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion starcheck/src/lib/Ska/Starcheck/Obsid.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1368,7 +1368,7 @@ sub check_star_catalog {
push @warn,"Too Few Acquisition Stars\n" if (@{$self->{acq}} < $min_acq);
# Red warn if fewer than the minimum number of guide stars
my $n_gui = @{$self->{gui}};
push @warn,"Only $n_gui Guide Stars ($min_guide required)\n" if ($n_gui < $min_guide);
push @yellow_warn,"Only $n_gui Guide Stars ($min_guide required)\n" if ($n_gui < $min_guide);
push @warn,"Too Many GUIDE + FID\n" if (@{$self->{gui}} + @{$self->{fid}} + @{$self->{mon}} > 8);
push @warn,"Too Many Acquisition Stars\n" if (@{$self->{acq}} > 8);
push @warn,"Too many MON\n" if ((@{$self->{mon}} > 1 && $is_science) ||
Expand Down

0 comments on commit 5df731b

Please sign in to comment.