diff --git a/README.md b/README.md index 39cf30b..fda4024 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Advanced Facade Controller (AFC) -![Actions Status](https://github.com/LBNL-ETA/AFC/workflows/Syntax/badge.svg) -![Actions Status](https://github.com/LBNL-ETA/AFC/workflows/UnitTests/badge.svg) +[![Syntax](https://github.com/LBNL-ETA/AFC/actions/workflows/syntax-test.yml/badge.svg)](https://github.com/LBNL-ETA/AFC/actions/workflows/syntax-test.yml) +[![UnitTests](https://github.com/LBNL-ETA/AFC/actions/workflows/unit-test.yml/badge.svg)](https://github.com/LBNL-ETA/AFC/actions/workflows/unit-test.yml) #### Predictive Control Solution for Advanced Facades and Integrated Energy Systems ---------------------------------------------------------------------------------------- diff --git a/afc/optModel.py b/afc/optModel.py index 6a7cdfa..179a515 100644 --- a/afc/optModel.py +++ b/afc/optModel.py @@ -8,7 +8,7 @@ """ # pylint: disable=bare-except, too-many-locals, invalid-name, too-many-statements -# pylint: disable=pointless-string-statement +# pylint: disable=pointless-string-statement, possibly-used-before-assignment import os import sys diff --git a/afc/radiance/forecast.py b/afc/radiance/forecast.py index 489f9f0..e4ba9e5 100644 --- a/afc/radiance/forecast.py +++ b/afc/radiance/forecast.py @@ -365,6 +365,7 @@ def process_wpi(self, wpi_grid): wpi = wpi_all else: print(f'ERROR: wpi_loc "{self.wpi_loc}" not available.') + wpi = None return wpi, wpi_all, wpi_center, wpi_23