Skip to content

Commit

Permalink
(#3021) Handle empty position QC messages
Browse files Browse the repository at this point in the history
  • Loading branch information
squaregoldfish committed Dec 2, 2024
1 parent 606476f commit a66d561
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion WebApp/src/uk/ac/exeter/QuinCe/data/Dataset/SensorValue.java
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,10 @@ public String getDisplayQCMessage(DatasetSensorValues allSensorValues)

for (SensorValue value : allSensorValues.getById(sourceValues)) {
if (!(isPosition() && value.isPosition())) {
messages.add(value.getDisplayQCMessage(allSensorValues));
String qcMessage = value.getDisplayQCMessage(allSensorValues);
if (null != qcMessage) {
messages.add(qcMessage);
}
}
}

Expand Down

0 comments on commit a66d561

Please sign in to comment.