From 4ae4500c1d21695eb7fa4f468a47558d247b8fe3 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Wed, 6 Apr 2016 10:22:29 -0700 Subject: [PATCH] add more debugging ouput --- src/model.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/model.c b/src/model.c index 8cde280..0e29dae 100644 --- a/src/model.c +++ b/src/model.c @@ -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); -- 2.39.2