Skip to content

Commit

Permalink
fixup! WIP get file_set from data_quality report
Browse files Browse the repository at this point in the history
  • Loading branch information
VirginiaDooley committed Feb 7, 2023
1 parent 3432855 commit 4db00af
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions polling_stations/apps/data_importers/base_importers.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,20 +178,6 @@ def report(self):
record[0].num_addresses = address_report.get_addresses_with_station_id()
record[0].station_data_file = station_report.get_file_set()
record[0].report = report.generate_string_report()

# 2. `data_quality.file.upload`
# get the key from the file_set by getting the file_set_id from the data_quality record
# get the file_set_id from the data_quality record
#

# record[0].address_file =
# record[0].station_file =
# change method in teardown

# in the view check to see if there is a data quality report for the council
# see if the stations file and address file are linked to the data quality report

# check the template, if there is a tick
record[0].save()

@property
Expand Down

0 comments on commit 4db00af

Please sign in to comment.