Skip to content

Commit

Permalink
Update pipelines to use conda
Browse files Browse the repository at this point in the history
  • Loading branch information
AA-Turner committed Jun 7, 2020
1 parent 9b93ff4 commit c41575a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/create_dashbord_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ def get_processed_workbooks_values():

self.logger.info("Calling store trend data")
# TODO get trend data and use in report
self.logger.info(self.parsed_data.keys())
self.logger.info((self.parsed_data.get("Compliance") or {}).keys())
self.logger.info(((self.parsed_data.get("Compliance") or {}).get("Appointments") or {}).keys())
appt_props = self.read_appointments_report(self.parsed_data["Compliance"]["Appointments"])
report_location = appt_props["location_name"]

Expand Down Expand Up @@ -137,6 +140,10 @@ def read_appointments_report(appointments_sheet: pd.DataFrame) -> dict:
return dict(location_name=location_name, has_children=has_children)

def _parse_reports(self, compliance_sheets: dict = None, training_sheets: dict = None) -> dict:
self.logger.info("Parsed data keys:")
self.logger.info(self.parsed_data.keys())
self.logger.info((self.parsed_data.get("Compliance") or {}).keys())
self.logger.info((self.parsed_data.get("Training") or {}).keys())
compliance_sheets = compliance_sheets or self.parsed_data["Compliance"]
training_sheets = training_sheets or self.parsed_data["Training"]

Expand Down

0 comments on commit c41575a

Please sign in to comment.