ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/mavric/test
Revision: 1.1.1.1 (vendor branch)
Committed: Mon Sep 17 20:43:21 2001 UTC (14 years, 7 months ago) by rick
Branch: MAIN
CVS Tags: HEAD, HEAD
Changes since 1.1: +0 -0 lines
Log Message:
First import

Line File contents
1 #!/usr/bin/env python
2
3 # Mavric -- a simple phylogeny editor
4
5 # Copyright (C) 2000 Rick Ree
6 # Email : rree@oeb.harvard.edu
7 #
8 # This program is free software; you can redistribute it and/or
9 # modify it under the terms of the GNU General Public License
10 # as published by the Free Software Foundation; either version 2
11 # of the License, or (at your option) any later version.
12 #
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
17 #
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21
22 import sys
23
24 if __name__ == '__main__':
25
26 args = sys.argv
27
28 filename = None
29 try:
30 filename = args[1]
31 if filename == '-':
32 args.remove('-')
33 except IndexError:
34 pass
35
36 from Mavric import gui
37
38 v = gui.SimpleViewer()
39
40 if filename:
41 v.set_tree_from_file(filename)
42
43 v.mainloop()