Skip to content

Commit

Permalink
Merge pull request #3 from ladybug-tools/master
Browse files Browse the repository at this point in the history
Syncing before merge.
  • Loading branch information
saeranv authored May 29, 2018
2 parents 1ae2af8 + 7a857ec commit e1c1686
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions UWG/UWG.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ def __init__(self, epwFileName, uwgParamFileName=None, epwDir=None, uwgParamDir=
# EPW precision
self.epw_precision = 1


# init UWG variables
self._init_param_dict = None

Expand Down
2 changes: 1 addition & 1 deletion tests/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def setup_uwg_integration(self, epw_file="SGP_Singapore.486980_IWEC.epw", uwg_pa
if log_file_name and log_level:
self.setup_log_file(log_file_name, log_level)

self.uwg = UWG.UWG(epw_file, uwg_param_file, epwDir=epw_dir, uwgParamDir=uwg_param_dir_, destinationDir=destination_dir)
self.uwg = UWG.UWG(epw_file, uwg_param_file, epwDir=epw_dir, uwgParamDir=uwg_param_dir_, destinationDir=destination_dir, epw_precision = 16)

# Increase precision for testing
self.uwg.epw_precision = 16
Expand Down

0 comments on commit e1c1686

Please sign in to comment.