Skip to content

Commit

Permalink
fix: only one row per application in Talpa CSV export (#2289)
Browse files Browse the repository at this point in the history
  • Loading branch information
rikuke authored Sep 25, 2023
1 parent 0f248c2 commit 557e823
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,11 @@ def get_row_items(self):
for application in self.get_applications():
# for applications with multiple ahjo rows, output the same number of rows.
# If no Ahjo rows (calculation incomplete), always output just one row.
if self.prune_data_for_talpa:
# For Talpa, only one row per application is needed
application.application_row_idx = 1
yield application
continue
for application_row_idx, unused in enumerate(
application.ahjo_rows or [None]
):
Expand Down

0 comments on commit 557e823

Please sign in to comment.