Skip to content

Commit

Permalink
- issue #67: don't fail on missing reference result
Browse files Browse the repository at this point in the history
  • Loading branch information
fbergmann committed May 29, 2020
1 parent 34b0c0a commit 1557395
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3672,6 +3672,14 @@ private void updatePlotsForSelection(TreeItem treeItem)

ResultSet expected = model.getSuite().get(itemName).getExpectedResult();

if (expected == null)
{
showMessageNotAvailable(cmpDifferences,
"Data cannot be plotted because the reference result is missing.");
cmpDifferences.layout();
return;
}

if (expected.hasInfinityOrNaN())
{
showMessageNotAvailable(cmpDifferences,
Expand Down

0 comments on commit 1557395

Please sign in to comment.