stats.py (1331:a0b8619e0e72) stats.py (1596:d11171f51a63)
1#!/usr/bin/env python
2from __future__ import division
3import re, sys, math
4
5
6def usage():
7 print '''\
8Usage: %s [-E] [-F] [-d <db> ] [-g <get> ] [-h <host>] [-p]

--- 5 unchanged lines hidden (view full) ---

14 bins [regex] List bins (only matching regex)
15 formula <formula> Evaluated formula specified
16 formulas [regex] List formulas (only matching regex)
17 runs none List all runs in database
18 samples none List samples present in database
19 stability <pairnum> <stats> Calculated statistical info about stats
20 stat <regex> Show stat data (only matching regex)
21 stats [regex] List all stats (only matching regex)
1#!/usr/bin/env python
2from __future__ import division
3import re, sys, math
4
5
6def usage():
7 print '''\
8Usage: %s [-E] [-F] [-d <db> ] [-g <get> ] [-h <host>] [-p]

--- 5 unchanged lines hidden (view full) ---

14 bins [regex] List bins (only matching regex)
15 formula <formula> Evaluated formula specified
16 formulas [regex] List formulas (only matching regex)
17 runs none List all runs in database
18 samples none List samples present in database
19 stability <pairnum> <stats> Calculated statistical info about stats
20 stat <regex> Show stat data (only matching regex)
21 stats [regex] List all stats (only matching regex)
22
23 database <command> Where command is drop, init, or clean
24
22''' % sys.argv[0]
23 sys.exit(1)
24
25def getopts(list, flags):
26 import getopt
27 try:
28 opts, args = getopt.getopt(list, flags)
29 except getopt.GetoptError:

--- 756 unchanged lines hidden ---
25''' % sys.argv[0]
26 sys.exit(1)
27
28def getopts(list, flags):
29 import getopt
30 try:
31 opts, args = getopt.getopt(list, flags)
32 except getopt.GetoptError:

--- 756 unchanged lines hidden ---