From 6bbc3007309553b47fb6a38df54b0d1cb6e236a3 Mon Sep 17 00:00:00 2001 From: p_monsalvete Date: Mon, 20 Mar 2023 11:39:41 -0400 Subject: [PATCH] erased not needed max_location_distance_for_shared_walls in configuration --- hub/config/configuration.ini | 1 - hub/helpers/configuration_helper.py | 8 -------- 2 files changed, 9 deletions(-) diff --git a/hub/config/configuration.ini b/hub/config/configuration.ini index eb3331dc..4ae34882 100644 --- a/hub/config/configuration.ini +++ b/hub/config/configuration.ini @@ -1,6 +1,5 @@ # These values are intended as configurable assumptions [buildings] -max_location_distance_for_shared_walls = 5.0 min_coordinate = -1.7976931348623157e+308 max_coordinate = 1.7976931348623157e+308 comnet_lighting_latent = 0 diff --git a/hub/helpers/configuration_helper.py b/hub/helpers/configuration_helper.py index eec21eb7..936d46c7 100644 --- a/hub/helpers/configuration_helper.py +++ b/hub/helpers/configuration_helper.py @@ -17,14 +17,6 @@ class ConfigurationHelper: self._config = configparser.ConfigParser() self._config.read(config_file) - @property - def max_location_distance_for_shared_walls(self) -> float: - """ - Get configured maximal distance between attributes to consider that they may share walls in meters - :return: 5.0 - """ - return self._config.getfloat('buildings', 'max_location_distance_for_shared_walls') - @property def min_coordinate(self) -> float: """