diff --git a/Assets/Scripts/ExperimentController.cs b/Assets/Scripts/ExperimentController.cs index 2ccd722..863f3fa 100644 --- a/Assets/Scripts/ExperimentController.cs +++ b/Assets/Scripts/ExperimentController.cs @@ -87,9 +87,9 @@ public class ExperimentController : MonoBehaviour { { trialIndex++; trialDotIndex = 0; - dataSet.SaveDataSet(); + if(participant.participantId != 9999) dataSet.SaveDataSet(); dataSet.Samples.Clear(); - if (trialIndex < participant.trials.Length) + if (trialIndex < participant.trials.Length && participant.participantId != 9999) { nextDot = FindDot(participant.trials[trialIndex][trialDotIndex]); Show(nextDot); @@ -103,7 +103,7 @@ public class ExperimentController : MonoBehaviour { } else { - dataSet.SaveDataSet(); + if (participant.participantId != 9999) dataSet.SaveDataSet(); } stopwatch.Start();