Skip to content

Commit

Permalink
(#2788) Do not cascade QC to positions if there are no positions
Browse files Browse the repository at this point in the history
  • Loading branch information
squaregoldfish committed Oct 27, 2023
1 parent e89f22a commit 41537a7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions WebApp/src/uk/ac/exeter/QuinCe/jobs/files/AutoQCJob.java
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,10 @@ protected void execute(JobThread thread) throws JobFailedException {
diagnosticsQC.run(instrument, sensorValues, runTypePeriods);

// Cascade position QC to SensorValues
PositionQCCascadeRoutine positionQCCascade = new PositionQCCascadeRoutine();
positionQCCascade.run(instrument, sensorValues, runTypePeriods);
if (!instrument.fixedPosition()) {
PositionQCCascadeRoutine positionQCCascade = new PositionQCCascadeRoutine();
positionQCCascade.run(instrument, sensorValues, runTypePeriods);
}

// Send all sensor values to be stored. The storeSensorValues method only
// writes those values whose 'dirty' flag is set.
Expand Down

0 comments on commit 41537a7

Please sign in to comment.