Skip to content

Commit

Permalink
Change cols to post-increment.
Browse files Browse the repository at this point in the history
  • Loading branch information
esitarski committed Jul 25, 2024
1 parent 02907ec commit 386e023
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions StageRaceGC/MakeExampleExcel.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,14 @@ def MakeExampleExcel():
bibs = []
for i in range(riders):
row += 1
col = 0
bibs.append((i//team_size+1)*10 + (i%team_size))
fit_sheet.write( row, 0, bibs[i] )
fit_sheet.write( row, 1, common_first_names[i%len(common_first_names)] )
fit_sheet.write( row, 2, common_last_names[i%len(common_last_names)] )
fit_sheet.write( row, 3, get_uci_id() )
fit_sheet.write( row, 4, get_license() )
fit_sheet.write( row, 5, teams[i//team_size] )
fit_sheet.write( row, (col:=col+1)-1, bibs[i] )
fit_sheet.write( row, (col:=col+1)-1, common_first_names[i%len(common_first_names)] )
fit_sheet.write( row, (col:=col+1)-1, common_last_names[i%len(common_last_names)] )
fit_sheet.write( row, (col:=col+1)-1, get_uci_id() )
fit_sheet.write( row, (col:=col+1)-1, get_license() )
fit_sheet.write( row, (col:=col+1)-1, teams[i//team_size] )

stageCount = 5
for stage in range(stageCount):
Expand Down

0 comments on commit 386e023

Please sign in to comment.