Skip to content

Commit

Permalink
Merge pull request #131 from knikolla/fix/bool
Browse files Browse the repository at this point in the history
Correctly convert nerc-rates value to boolean
  • Loading branch information
QuanMPhm authored Jan 14, 2025
2 parents c3e53ae + ea1d78c commit 5c7290d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions process_report/process_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@

PI_S3_FILEPATH = "PIs/PI.csv"


ALIAS_S3_FILEPATH = "PIs/alias.csv"


Expand Down Expand Up @@ -242,8 +241,11 @@ def main():
invoice_month,
data=validate_billable_pi_proc.data,
old_pi_filepath=old_pi_file,
limit_new_pi_credit_to_partners=rates_info.get_value_at(
"Limit New PI Credit to MGHPCC Partners", invoice_month
limit_new_pi_credit_to_partners=(
rates_info.get_value_at(
"Limit New PI Credit to MGHPCC Partners", invoice_month
)
== "True",
),
)
new_pi_credit_proc.process()
Expand Down

0 comments on commit 5c7290d

Please sign in to comment.