Skip to content

Commit

Permalink
changed year end to 2023
Browse files Browse the repository at this point in the history
  • Loading branch information
zhangchicool committed Oct 19, 2023
1 parent e4b94e5 commit 9cf20fa
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 20 deletions.
2 changes: 1 addition & 1 deletion src/bayes.c
@@ -1,7 +1,7 @@
/*
* MrBayes 3
*
* (c) 2002-2013
* (c) 2002-2023
*
* John P. Huelsenbeck
* Dept. Integrative Biology
Expand Down
2 changes: 1 addition & 1 deletion src/command.c
@@ -1,7 +1,7 @@
/*
* MrBayes 3
*
* (c) 2002-2013
* (c) 2002-2023
*
* John P. Huelsenbeck
* Dept. Integrative Biology
Expand Down
2 changes: 1 addition & 1 deletion src/likelihood.c
@@ -1,7 +1,7 @@
/*
* MrBayes 3
*
* (c) 2002-2013
* (c) 2002-2023
*
* John P. Huelsenbeck
* Dept. Integrative Biology
Expand Down
2 changes: 1 addition & 1 deletion src/mbbeagle.c
@@ -1,7 +1,7 @@
/*
* MrBayes 3
*
* (c) 2002-2013
* (c) 2002-2023
*
* This file originally contributed by:
*
Expand Down
2 changes: 1 addition & 1 deletion src/mcmc.c
@@ -1,7 +1,7 @@
/*
* MrBayes 3
*
* (c) 2002-2013
* (c) 2002-2023
*
* John P. Huelsenbeck
* Dept. Integrative Biology
Expand Down
23 changes: 11 additions & 12 deletions src/model.c
@@ -1,7 +1,7 @@
/*
* MrBayes 3
*
* (c) 2002-2013
* (c) 2002-2023
*
* John P. Huelsenbeck
* Dept. Integrative Biology
Expand Down Expand Up @@ -10806,12 +10806,11 @@ int DoStartvalsParm (char *parmName, char *tkn)
}
if (theTree->isClock == YES && modelParams[theTree->relParts[0]].treeAgePr.prior == fixed)
{
if (!strcmp(modelParams[theTree->relParts[0]].clockPr,"Uniform") ||
!strcmp(modelParams[theTree->relParts[0]].clockPr,"Birthdeath") ||
!strcmp(modelParams[theTree->relParts[0]].clockPr,"Fossilization"))
;
// We cannot check the consistency of root age and clock rate here because they can be set in any order. Defer this
// check to the CheckModel fxn, called just before starting the chain.
// if (!strcmp(modelParams[theTree->relParts[0]].clockPr,"Uniform") ||
// !strcmp(modelParams[theTree->relParts[0]].clockPr,"Birthdeath") ||
// !strcmp(modelParams[theTree->relParts[0]].clockPr,"Fossilization"));
// We cannot check the consistency of root age and clock rate here because they can be set in any order.
// Defer this check to the CheckModel fxn, called just before starting the chain.
}
/* the test will find suitable clock rate and ages of nodes in theTree */
if (theTree->isClock == YES && IsClockSatisfied (theTree,0.001) == NO)
Expand Down Expand Up @@ -19788,15 +19787,15 @@ int SetModelParams (void)
p->printParam = YES;

if (FillRelPartsString (p, &partString) == YES)
{
{
SafeSprintf(&tempStr, &tempStrSize, "pi(0)%s\tpi(1)%s\trootpi(0)%s\trootpi(1)%s", partString, partString, partString, partString);
SafeStrcat (&p->paramHeader, tempStr);
if (p->paramId == DIRPI_MIX)
{
SafeSprintf(&tempStr, &tempStrSize, "\tstatefrmod%s", partString);
SafeStrcat (&p->paramHeader, tempStr);
}
}
}
else
{
SafeStrcat (&p->paramHeader, "pi(0)\tpi(1)\trootpi(0)\trootpi(1)");
Expand Down Expand Up @@ -20323,7 +20322,7 @@ int SetModelParams (void)
}
else for (i = 0; i < p->nValues; i++)
{
sprintf (tempStr, "\tnet_speciation_%d", i+1);
SafeSprintf(&tempStr, &tempStrSize, "\tnet_speciation_%d", i+1);
SafeStrcat (&p->paramHeader, tempStr);
SafeStrcat (&p->paramHeader, partString);
}
Expand Down Expand Up @@ -20365,7 +20364,7 @@ int SetModelParams (void)
}
else for (i = 0; i < p->nValues; i++)
{
sprintf (tempStr, "\trelative_extinction_%d", i+1);
SafeSprintf(&tempStr, &tempStrSize, "\trelative_extinction_%d", i+1);
SafeStrcat (&p->paramHeader, tempStr);
SafeStrcat (&p->paramHeader, partString);
}
Expand Down Expand Up @@ -20404,7 +20403,7 @@ int SetModelParams (void)
}
else for (i = 0; i < p->nValues; i++)
{
sprintf (tempStr, "\trelative_fossilization_%d", i+1);
SafeSprintf(&tempStr, &tempStrSize, "\trelative_fossilization_%d", i+1);
SafeStrcat (&p->paramHeader, tempStr);
SafeStrcat (&p->paramHeader, partString);
}
Expand Down
2 changes: 1 addition & 1 deletion src/proposal.c
@@ -1,7 +1,7 @@
/*
* MrBayes 3
*
* (c) 2002-2013
* (c) 2002-2023
*
* John P. Huelsenbeck
* Dept. Integrative Biology
Expand Down
2 changes: 1 addition & 1 deletion src/sumpt.c
@@ -1,7 +1,7 @@
/*
* MrBayes 3
*
* (c) 2002-2013
* (c) 2002-2023
*
* John P. Huelsenbeck
* Dept. Integrative Biology
Expand Down
2 changes: 1 addition & 1 deletion src/utils.c
@@ -1,7 +1,7 @@
/*
* MrBayes 3
*
* (c) 2002-2013
* (c) 2002-2023
*
* John P. Huelsenbeck
* Dept. Integrative Biology
Expand Down

0 comments on commit 9cf20fa

Please sign in to comment.