git17 - added fields to db+imp+tv: Won $ when seen flop and Won $ at Showdown. Seem to work fine, will verify properly later. REIMPORT is necessary after this update.
cleaned table design a bit more removed actionCount from print_hand - this is useless. need to update regression-test/*.expected.txt accordingly
This commit is contained in:
@@ -93,6 +93,12 @@ print "otherRaisedTurn:",fields[2]
|
||||
print "otherRaisedTurnFold:",fields[3]
|
||||
print "otherRaisedRiver:",fields[4]
|
||||
print "otherRaisedRiverFold:",fields[5]
|
||||
print ""
|
||||
|
||||
cursor.execute ("SELECT wonWhenSeenFlop, wonAtSD FROM HudDataHoldemOmaha WHERE id=%s", (hudDataId,))
|
||||
fields=cursor.fetchone()
|
||||
print "wonWhenSeenFlop:",fields[0]
|
||||
print "wonAtSD:",fields[1]
|
||||
|
||||
|
||||
cursor.close()
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
This file is outdated!
|
||||
|
||||
Connected to MySQL on localhost. Print Hand Utility
|
||||
options.site: Full Tilt Poker site_id: 1
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
This file is outdated!
|
||||
|
||||
Connected to MySQL on localhost. Print Hand Utility
|
||||
options.site: Full Tilt Poker site_id: 1
|
||||
From Table hands
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
This file is outdated!
|
||||
|
||||
Connected to MySQL on localhost. Print Hand Utility
|
||||
options.site: Full Tilt Poker site_id: 1
|
||||
From Table hands
|
||||
|
||||
@@ -159,7 +159,7 @@ for i in range (len(hands_players)):
|
||||
hands_actions=cursor.fetchall()
|
||||
for j in range (len(hands_actions)):
|
||||
line=hands_actions[j][2:]
|
||||
printstr="player_name:"+player_names[i]+" actionCount:"+str(j)
|
||||
printstr="player_name:"+player_names[i]
|
||||
printstr+=" street:"+ful.street_int2String(category, line[0])+" streetActionNo:"+str(line[1])+" action:"+line[2]
|
||||
printstr+=" amount:"+str(line[3])
|
||||
print printstr
|
||||
|
||||
Reference in New Issue
Block a user