Skip to content

Commit

Permalink
Per #1380, only list the oper_event.technique name in the log message…
Browse files Browse the repository at this point in the history
… if it's non-empty.
  • Loading branch information
JohnHalleyGotway committed Jun 18, 2020
1 parent 147d8ef commit 5278a25
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions met/src/tools/tc_utils/tc_gen/tc_gen.cc
Expand Up @@ -479,8 +479,10 @@ void process_track_files(const StringArray &files,

// Analysis ATCF ID's
if(is_anly) {
atcf_ids << conf_info.BestEventInfo.Technique << " or "
<< conf_info.OperEventInfo.Technique << " analysis";
atcf_ids << conf_info.BestEventInfo.Technique;
if(conf_info.OperEventInfo.Technique.nonempty()) {
atcf_ids << " or " << conf_info.OperEventInfo.Technique << " analysis";
}
}
// Forecast ATCF ID's
else {
Expand Down

0 comments on commit 5278a25

Please sign in to comment.