Exemplo n.º 1
0
 public void Start()
 {
     Running = true;
     if (currentTrialList.Count == 0)
     {
         TuxLog.LogError("No Trials Defined! You probably didn't set up a design file.");
         return;
     }
     StartRunningTrial(currentTrialList[0]);
 }
Exemplo n.º 2
0
        List <string> GetBlockPermutationsStrings()
        {
            if (baseBlockTable.Rows.Count <= MaxBlockPermutationsAllowed && designFile.GetBlockOrderConfigurations.Count == 0)
            {
                return(baseBlockTable.BlockPermutationsStrings);
            }

            if (designFile.GetBlockOrderConfigurations.Count > 0)
            {
                return(GetBlockOrderConfigStrings());
            }

            TuxLog.LogError("There are too many block values to create a permutation table. " +
                            "Block orders must be defined manually using OrderConfig files. " +
                            "See documentation for more information");
            throw new BlockPermutationError("Too many block values for auto permutation");
        }
Exemplo n.º 3
0
 void MissingReference(string missingReference)
 {
     TuxLog.LogError($"{nameof(ExperimentDesignFile2)} does not have {missingReference} defined. " +
                     $"Please drag {missingReference} into the proper place in the design file", this);
     valid = false;
 }