Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
CSIT-1110: Prepare for migrating the new detection
[csit.git]
/
resources
/
tools
/
presentation
/
new
/
jumpavg
/
BitCountingGroup.py
diff --git
a/resources/tools/presentation/new/jumpavg/BitCountingGroup.py
b/resources/tools/presentation/new/jumpavg/BitCountingGroup.py
index
144f5a8
..
2071c06
100644
(file)
--- a/
resources/tools/presentation/new/jumpavg/BitCountingGroup.py
+++ b/
resources/tools/presentation/new/jumpavg/BitCountingGroup.py
@@
-11,10
+11,17
@@
# See the License for the specific language governing permissions and
# limitations under the License.
# See the License for the specific language governing permissions and
# limitations under the License.
+"""Module holding BitCountingGroup class."""
+
from RunGroup import RunGroup
class BitCountingGroup(RunGroup):
from RunGroup import RunGroup
class BitCountingGroup(RunGroup):
+ """RunGroup with BitCountingMetadata.
+
+ Support with_run_added() method to simplify extending the group.
+ As bit content has to be re-counted, metadata factory is stored.
+ """
def __init__(self, metadata_factory, values=[]):
"""Create the group from metadata factory and values.
def __init__(self, metadata_factory, values=[]):
"""Create the group from metadata factory and values.