6a9b9a282e8698f7a8c5d66c0e42851bd0c53d2b,qucumber/utils/data.py,,load_data,#,22
Before Change
if bases_path is not None:
bases_data = np.loadtxt(bases_path, dtype=str)
bases = []
for i in range(len(bases_data)):
tmp = ""
for j in range(len(bases_data[i])):
if bases_data[i][j] != " ":
tmp += bases_data[i][j]
bases.append(tmp)
data.append(bases)
return data
After Change
data.append(np.loadtxt(tr_bases_path, dtype=str))
if bases_path is not None:
data.append(np.loadtxt(bases_path, dtype=str))
return data
def load_data_DM(
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 11
Instances
Project Name: PIQuIL/QuCumber
Commit Name: 6a9b9a282e8698f7a8c5d66c0e42851bd0c53d2b
Time: 2019-12-23
Author: emerali@users.noreply.github.com
File Name: qucumber/utils/data.py
Class Name:
Method Name: load_data
Project Name: PIQuIL/QuCumber
Commit Name: 6a9b9a282e8698f7a8c5d66c0e42851bd0c53d2b
Time: 2019-12-23
Author: emerali@users.noreply.github.com
File Name: qucumber/utils/data.py
Class Name:
Method Name: load_data
Project Name: PIQuIL/QuCumber
Commit Name: 6a9b9a282e8698f7a8c5d66c0e42851bd0c53d2b
Time: 2019-12-23
Author: emerali@users.noreply.github.com
File Name: qucumber/utils/data.py
Class Name:
Method Name: load_data_DM
Project Name: geekcomputers/Python
Commit Name: 139259ac8ac83160502cbb896371ce4fa4027361
Time: 2019-10-10
Author: ml.smiley3@gmail.com
File Name: primelib/primelib.py
Class Name:
Method Name: sieveEr