Skip to content

Commit

Permalink
Merge pull request #492 from healthysustainablecities/enhancements
Browse files Browse the repository at this point in the history
Enhancements
  • Loading branch information
carlhiggs authored Dec 17, 2024
2 parents 4fd07cb + 1e44802 commit 3962c4e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Binary file modified process/configuration/templates/_report_configuration.xlsx
Binary file not shown.
7 changes: 4 additions & 3 deletions process/subprocesses/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1499,20 +1499,21 @@ def get_policy_checklist_item(
if policy_review_setting is None:
return []
levels = policy_review_setting[item].split('\n')
levels = [
levels_clean = [
phrases[level[0].strip()].strip()
for level in [
x.split(': ')
for x in levels
if not (
x.startswith('Other / comments')
x.startswith('Other')
or x.startswith('(Please indicate')
)
]
if str(level[1]).strip()
not in ['No', 'missing', 'nan', 'None', 'N/A', '']
]
return levels
levels_clean = levels_clean + [x.replace('Other: ','').lower() for x in levels if x.startswith('Other: ')]
return levels_clean


def _pdf_insert_cover_page(pdf, pages, phrases, r):
Expand Down

0 comments on commit 3962c4e

Please sign in to comment.