]> git.donarmstrong.com Git - mrbayes.git/commitdiff
add more debugging ouput
authorDon Armstrong <don@donarmstrong.com>
Wed, 6 Apr 2016 17:22:29 +0000 (10:22 -0700)
committerDon Armstrong <don@donarmstrong.com>
Wed, 6 Apr 2016 17:22:29 +0000 (10:22 -0700)
src/model.c

index 8cde2801f814307a7c88c0d89e287efec322664a..0e29dae7b32dbbb10325e8d635ee639febae64c2 100644 (file)
@@ -19897,6 +19897,7 @@ int SetUpAnalysis (RandLong *seed)
         return (ERROR);
         }
 
+    MrBayesPrint ("%s   Local taxa set\n", spacer);
     /* calculate number of global chains */
     numGlobalChains = chainParams.numRuns * chainParams.numChains;
 
@@ -19908,10 +19909,12 @@ int SetUpAnalysis (RandLong *seed)
     if (CheckExpandedModels() == ERROR)
         return (ERROR);
 
+    MrBayesPrint ("%s   ExpandedModels checked\n", spacer);
     /* Set up model info */
     if (SetModelInfo() == ERROR) 
         return (ERROR);
     
+    MrBayesPrint ("%s   SetModelInfo\n", spacer);
     /* Calculate number of (uncompressed) characters for each division */
     if (GetNumDivisionChars() == ERROR)
         return (ERROR);
@@ -19920,6 +19923,7 @@ int SetUpAnalysis (RandLong *seed)
     if (CompressData() == ERROR)
         return (ERROR);
 
+    MrBayesPrint ("%s   Compressed Data\n", spacer);
     /* Add dummy characters, if needed. */
     if (AddDummyChars() == ERROR)
         return (ERROR);
@@ -19928,14 +19932,17 @@ int SetUpAnalysis (RandLong *seed)
     if (SetModelParams () == ERROR)
         return (ERROR);
     
+    MrBayesPrint ("%s   Model Params Set\n", spacer);
     /* Allocate normal params */
     if (AllocateNormalParams () == ERROR)
         return (ERROR);
     
+    MrBayesPrint ("%s   Normal Params allocated\n", spacer);
     /* Allocate tree params */
     if (AllocateTreeParams () == ERROR)
         return (ERROR);
     
+    MrBayesPrint ("%s   Tree Params allocated\n", spacer);
     /* Set default number of trees for sumt to appropriate number */
     sumtParams.numTrees = numTrees;
 
@@ -19943,6 +19950,7 @@ int SetUpAnalysis (RandLong *seed)
     if (FillNormalParams (seed, 0, numGlobalChains) == ERROR) 
         return (ERROR);
 
+    MrBayesPrint ("%s   Normal parameters filled\n", spacer);
     /* Process standard characters (calculates bsIndex, tiIndex, and more). */
     if (ProcessStdChars(seed) == ERROR)
         return (ERROR);
@@ -19951,6 +19959,7 @@ int SetUpAnalysis (RandLong *seed)
     if (FillTreeParams (seed, 0, numGlobalChains) == ERROR)
         return (ERROR);
     
+    MrBayesPrint ("%s   Tree params filled\n", spacer);
     /* Set the applicable moves that could be used by the chain. */
     if (SetMoves () == ERROR)
         return (ERROR);