fixed map pre-processing

This commit is contained in:
seangreaves
2023-01-08 11:19:53 +00:00
parent 4ef07ab2f8
commit e36613c931

View File

@@ -168,6 +168,10 @@ class Network:
self.companies.extend(companies)
def run_map_preprocessing(self):
for company in self.company_ids:
if company['n'] == self.n:
address_history = processing.build_address_history(company['company_id'])
self.address_history.extend(address_history)
self.get_company_from_id()
self.add_company_names()
self.get_coords()