summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
e3d9c56)
from minwii.logfilereader import LogFileReader
from pprint import pprint
from minwii.musicxml import musicXml2Song
from minwii.logfilereader import LogFileReader
from pprint import pprint
from minwii.musicxml import musicXml2Song
+from minwii.globals import PLAYING_MODES
from statlib import stats
from datetime import timedelta
from statlib import stats
from datetime import timedelta
+PLAYING_MODES = dict(PLAYING_MODES)
+
DEFAULT_STATS = (#'geometricmean',
#'harmonicmean',
#'mean',
DEFAULT_STATS = (#'geometricmean',
#'harmonicmean',
#'mean',
try :
self.mode = mode = self.getMode()
try :
self.mode = mode = self.getMode()
- results.append(('Mode de jeu', mode))
+ results.append(('Mode de jeu', PLAYING_MODES.get(mode, mode)))
for name in self.POSSIBLE_ANALYSES[mode] :
meth = getattr(self, name)
results.append((meth.__doc__, meth()))
for name in self.POSSIBLE_ANALYSES[mode] :
meth = getattr(self, name)
results.append((meth.__doc__, meth()))