-
Notifications
You must be signed in to change notification settings - Fork 82
/
BEASTVersion.java
113 lines (96 loc) · 4.48 KB
/
BEASTVersion.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
package beast.pkgmgmt;
/**
* This class provides a mechanism for returning the version number of the
* dr software. It relies on the administrator of the dr source using the
* module tagging system in CVS. The method getVersion() will return
* the version of dr under the following condition: <BR>
* 1. the dr source has been checked out *by tag* before being packaged for
* distribution.
* <p/>
*
* @author Alexei Drummond
* @author Andrew Rambaut
*/
public class BEASTVersion extends Version {
/**
* Version string: assumed to be in format x.x.x
*/
private static final String VERSION = "2.7.6";
private static final String DATE_STRING = "2002-2023";
private static final boolean IS_PRERELEASE = true;
private static final String PROGRAM_NAME = "BEAST";
private static final String BEAST2_WEBPAGE = "http://beast2.org/";
private static final String BEAST2_SOURCE = "http://github.com/CompEvol/beast2";
@Override
public String getVersion() {
return VERSION;
}
@Override
public String getVersionString() {
return "v" + VERSION + (IS_PRERELEASE ? " Prerelease" : "");
}
@Override
public String getDateString() {
return DATE_STRING;
}
@Override
public String[] getCredits() {
return new String[]{
"Designed and developed by",
"Remco Bouckaert, Alexei J. Drummond, Andrew Rambaut & Marc A. Suchard",
"",
"Centre for Computational Evolution",
"University of Auckland",
"r.bouckaert@auckland.ac.nz",
"alexei@cs.auckland.ac.nz",
"",
"Institute of Evolutionary Biology",
"University of Edinburgh",
"a.rambaut@ed.ac.uk",
"",
"David Geffen School of Medicine",
"University of California, Los Angeles",
"msuchard@ucla.edu",
"",
"Downloads, Help & Resources:",
BEAST2_WEBPAGE,
"",
"Source code distributed under the GNU Lesser General Public License:",
BEAST2_SOURCE,
"",
"BEAST developers:",
"Alex Alekseyenko, Trevor Bedford, Erik Bloomquist, Joseph Heled, ",
"Sebastian Hoehna, Denise Kuehnert, Philippe Lemey, Wai Lok Sibon Li, ",
"Gerton Lunter, Sidney Markowitz, Vladimir Minin, Michael Defoin Platel, ",
"Oliver Pybus, Tim Vaughan, Chieh-Hsi Wu, Walter Xie",
"",
"Thanks to:",
"Roald Forsberg, Beth Shapiro and Korbinian Strimmer"};
}
@Override
public String getHTMLCredits() {
return
"<p>Designed and developed by<br>" +
"Remco Bouckaert, Alexei J. Drummond, Andrew Rambaut and Marc A. Suchard</p>" +
"<p>Centre for Computational Evolution, University of Auckland<br>" +
"<a href=\"mailto:r.bouckaert@auckland.ac.nz\">r.bouckaert@auckland.ac.nz</a><br>" +
"<a href=\"mailto:alexei@cs.auckland.ac.nz\">alexei@cs.auckland.ac.nz</a></p>" +
"<p>Institute of Evolutionary Biology, University of Edinburgh<br>" +
"<a href=\"mailto:a.rambaut@ed.ac.uk\">a.rambaut@ed.ac.uk</a></p>" +
"<p>David Geffen School of Medicine, University of California, Los Angeles<br>" +
"<a href=\"mailto:msuchard@ucla.edu\">msuchard@ucla.edu</a></p>" +
"<p><a href=\"" + BEAST2_WEBPAGE + "\">" + BEAST2_WEBPAGE + "</a></p>" +
"<p>Source code distributed under the GNU LGPL:<br>" +
"<a href=\"" + BEAST2_SOURCE + "\">" + BEAST2_SOURCE + "</a></p>" +
"<p>BEAST developers:<br>" +
"Alex Alekseyenko, Erik Bloomquist, Joseph Heled, Sebastian Hoehna, Philippe Lemey,<br>" +
"Wai Lok Sibon Li, Gerton Lunter, Sidney Markowitz, Vladimir Minin,<br>" +
"Michael Defoin Platel, Oliver Pybus, Tim Vaughan, Chieh-Hsi Wu, Walter Xie,<br>" +
"Denise Kuehnert</p>" +
"<p>Thanks to Roald Forsberg, Beth Shapiro and Korbinian Strimmer</p>";
}
public String getProgramName() {
return PROGRAM_NAME;
}
public static BEASTVersion INSTANCE = new BEASTVersion();
}