2abc162ebb1899a746df01b40b0066e012f4cf58,framework/h5py_interface_creator.py,hdf5Database,addGroupInit,#hdf5Database#Any#Any#,265

Before Change


    grp.attrs["rootname"  ] = True
    grp.attrs["endGroup"  ] = False
    grp.attrs[b"groupName"] = groupNameInit
    self.allGroupPaths.append(b"/" + groupNameInit)
    self.allGroupEnds.append(False)
    self.h5FileW["allGroupPaths"].resize((len(self.allGroupPaths),))
    self.h5FileW["allGroupEnds"].resize( (len(self.allGroupEnds),) )

After Change


          while True:
            testGroup = groupNameInit +"_"+prefixLetter+asciiAlphabet[alphabetCounter]
            if testGroup not in self.allGroupPaths:
              groupNameInit = utils.toString(testGroup)
              break
            alphabetCounter+=1
            if alphabetCounter >= len(asciiAlphabet):
              prefix = asciiAlphabet[movingCounter]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: idaholab/raven
Commit Name: 2abc162ebb1899a746df01b40b0066e012f4cf58
Time: 2019-03-01
Author: andrea.alfonsi@inl.gov
File Name: framework/h5py_interface_creator.py
Class Name: hdf5Database
Method Name: addGroupInit


Project Name: deeptools/HiCExplorer
Commit Name: 0927c7ce67513dc6d64401da045a11fa0812ff71
Time: 2017-07-07
Author: wolffj@informatik.uni-freiburg.de
File Name: hicexplorer/readBed.py
Class Name: ReadBed
Method Name: get_no_comment_line


Project Name: deeptools/HiCExplorer
Commit Name: 0927c7ce67513dc6d64401da045a11fa0812ff71
Time: 2017-07-07
Author: wolffj@informatik.uni-freiburg.de
File Name: hicexplorer/readBed.py
Class Name: ReadBed
Method Name: __init__