From a2a0ab1cdec3567dcad46c2000337707777aa0ca Mon Sep 17 00:00:00 2001 From: Vratko Polak Date: Wed, 13 Jun 2018 13:04:01 +0200 Subject: CSIT-1110: Prepare for migrating the new detection + Do not declare BitCountingClassifier.classify() as class method. + Make BitCountingGroupList subclass of list. + Inherit from abstract classes whenever possible. + Drop unneeded imports. + Add module docstrings and class docstrings anywhere. + Add TODOs hinting at possible improvements. Change-Id: Iccfff5c0e7be0607d6cfa74314083fcfe5a4d7d9 Signed-off-by: Vratko Polak --- .../tools/presentation/new/jumpavg/BitCountingMetadataFactory.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'resources/tools/presentation/new/jumpavg/BitCountingMetadataFactory.py') diff --git a/resources/tools/presentation/new/jumpavg/BitCountingMetadataFactory.py b/resources/tools/presentation/new/jumpavg/BitCountingMetadataFactory.py index 5a7b393b55..567c3d4fe6 100644 --- a/resources/tools/presentation/new/jumpavg/BitCountingMetadataFactory.py +++ b/resources/tools/presentation/new/jumpavg/BitCountingMetadataFactory.py @@ -11,6 +11,8 @@ # See the License for the specific language governing permissions and # limitations under the License. +"""Module holding BitCountingMetadataFactory class.""" + import math from AvgStdevMetadata import AvgStdevMetadata @@ -19,7 +21,10 @@ from BitCountingMetadata import BitCountingMetadata class BitCountingMetadataFactory(object): - """Class for factory which creates bit counting metadata from data.""" + """Class for factory which creates bit counting metadata from data. + + TODO: Summarize the methods? + """ @staticmethod def find_max_value(values): -- cgit 1.2.3-korg