Chaz Littlejohn
ed1259fe30
It's not actually a big deal if there's no bring-in, like if the bring-in completes instead, so changed to debug.
2011-03-22 04:17:46 +00:00
Chaz Littlejohn
41e0042235
Added tracking for FTP 2-7 Single Draw
2011-03-22 04:16:23 +00:00
Chaz Littlejohn
64f46181fa
Modified hhc & fpdb_import so gtk & pygtk are imported only if import is run from the
...
gui
2011-03-22 03:22:38 +00:00
Chaz Littlejohn
5f63bc1cca
Merge branch 'sorrow' into chazdazzle
2011-03-22 02:21:15 +00:00
Chaz Littlejohn
bd94b34bf9
testing...
2011-03-19 21:38:48 +00:00
Chaz
0f9709390e
Replaced -i infile with -f file in Options.py and replaced options.infile with options.filename in SplitHandHistory.py, Anonymise.py, and ImapFetcher.py
2010-10-13 02:23:41 -04:00
Chaz
b0cf6d3cb0
removed -f filename from Options.py and replaced its use in SplitHandHistory.py with -i infile
2010-10-13 02:18:36 -04:00
Chaz
fa3f878c3a
* Migrated commandline options to Options.py
...
* Added a EOF exception
* Fixed a few error handling issues
2010-10-13 01:51:57 -04:00
Chaz
f97c1da3b9
Migrated SplitHandHistory.py commandline options to Options.py
2010-10-13 01:48:35 -04:00
Chaz
b08081e419
Added a FpdbEndOfFile error for use in SplitHandHistory.py
2010-10-13 01:47:28 -04:00
Chaz
6ce42df734
Fixed a re matching problem for sites (OnGame, Carbon) which include char after the newline in re_SplitHands
2010-10-12 22:47:22 -04:00
Chaz
d517606a59
Added SplitHandHistory module which can be used to split up hand histories (archive & non-archive) into smaller files of n hands each (useful in limitied memory situations). Module contains a SplitHandHistory class and a command line utility.
2010-10-12 21:00:08 -04:00
Chaz
6202d02dbc
Module containing a class that identifies the site a particular hand history, or directory of hand histories came from. Includes a main method which id's the regression files.
2010-10-12 01:08:32 -04:00
Chaz
388bec04dd
Removed Partouche from <hhcs> in the config files
2010-10-11 22:37:59 -04:00
Chaz
9c225a5b72
* Updated storeHandsPlayers() to insert via executemany() if 'saveActions' is False and via looped execute() to call get_last_insert_id() if 'saveActions' is True
2010-09-28 23:34:20 -04:00
Chaz
76b2dec2b6
* updated _addRaise() so that it does in fact accept the action variable
2010-09-28 17:33:15 -04:00
Chaz
ae6a035834
* fixed a small issue in assembleHandsActions()
2010-09-28 17:23:44 -04:00
Chaz
0e9fb62b0d
* added a call to the import_parameter 'saveActions' in Hand.py, saving it's value in the variable Hand.saveActions
...
* added logic to Hand.import() so that it only calls db.storeHandsActions if saveActions is true
* added logic to DetailedStats.getstats() so that it only calls assembleHandsActions() if saveActions is true
2010-09-28 17:17:15 -04:00
Chaz
030a15f041
* Filled assembleHandsActions()
2010-09-28 17:11:09 -04:00
Chaz
a76e34598d
* Modified storeHandsPlayers() so it returns a dictionary of handId & playerId to handPlayerIds
...
* Filled storeHandsActions() with the required information
* Updated Hand.insert so that it calls storeHandsActions() and added the variable dbid_hpid to receive the new dictionary
2010-09-28 17:09:24 -04:00
Chaz
1b0db117ce
* updated 'createHandsActionsTable' and 'store_hands_actions' in the SQL dictionary
2010-09-28 17:01:31 -04:00
Chaz
c1b2a0040c
* Added HandsActions & Actions indexes & foreign keys to Database.py
...
* Added 'createActionsTable' to the SQL dictionary
* Updated create_tables so 'createActionsTable' would be called
* Updated dumpdatabase(), adding in u'Actions'
* Added action name & code info for filling the Actions table in FillDefaultData()
2010-09-28 16:59:37 -04:00
Chaz
94d4bf6ed5
* added ACTION dictionary for looking up actionId
...
* edited addAnte(), addBlind(), addCall(), addBet(), addBlind() (Draw), addDiscard() (Draw),
addComplete() (Stud), and addBringIn() (Stud) to standardize element order and datatype
* added a field to _addRaise() which allows addComplete() (Stud) to pass the 'compleates' action type
2010-09-28 16:50:33 -04:00