36befa43a8
- made it so that Hand.__init__ calls the hhc readX methods in the right order for that kind of Hand (Stud or Holdem/Omaha) - hhc.readX methods then callback Hand.addX methods Why? WHY! I hear you ask. Actually I can see there's very little gain, sorry about that; but it sort of makes sense. Now you just make the right kind of Hand, give it the text and the right kind of HHC filter, and it makes itself. - apart from that, biggest actual thing done is probably in adding player cards for stud hands -- revamped and made it really clear (I think) whats happening (see FullTilt.readStudPlayerCards) When I run FullTiltToFpdf.py it goes through all the hands. - Still have some print statements, have been changing them to logging.debug or logging.info as I come across them. You may find "tail -f logging.out" useful Actually I'm not at all convinced about the use of logging except that you can redirect it to stderr quite easily and then set the threshold for what gets logged quite easily, so that might be a plus. - Oh and the subclassing of Hand is getting clearer. |
||
---|---|---|
.. | ||
BetfairToFpdb.py | ||
CarbonToFpdb.py | ||
Cards01.png | ||
CliFpdb.py | ||
Configuration.py | ||
Database.py | ||
EverleafToFpdb.py | ||
fpdb_db.py | ||
fpdb_import.py | ||
fpdb_parse_logic.py | ||
fpdb_save_to_db.py | ||
fpdb_simple.py | ||
fpdb.py | ||
FpdbRegex.py | ||
FpdbSQLQueries.py | ||
FulltiltToFpdb.py | ||
GuiAutoImport.py | ||
GuiBulkImport.py | ||
GuiGraphViewer.py | ||
GuiPlayerStats.py | ||
GuiTableViewer.py | ||
Hand.py | ||
HandHistory.py | ||
HandHistoryConverter.py | ||
HUD_config.xml.example | ||
HUD_main.py | ||
HUD_run_me.py | ||
Hud.py | ||
Mucked.py | ||
OnGameToFpdb.py | ||
RegressionTest.py | ||
SQL.py | ||
Stats.py | ||
Tables.py | ||
upd_indexes.sql |