8d4d199c35f5163ed21ae705a16ce3c8548d60c6,Orange/data/io.py,BasketReader,prescan_file,#BasketReader#Any#,191
Before Change
n_elements = 0
n_rows = 0
for line in file:
items = set(mo.group(1).strip()
for mo in self.re_name.finditer(line))
names.update(items)
n_elements += len(items)
n_rows += 1
return names, n_elements, n_rows
After Change
file.seek(0)
reader = csv.reader(file)
for line in reader:
names.update(mo.split("=")[0] for mo in line)
n_elements += len(line)
return names - classes, classes, n_elements, reader.line_num, header
def construct_domain(self, names, classes):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: biolab/orange3
Commit Name: 8d4d199c35f5163ed21ae705a16ce3c8548d60c6
Time: 2012-11-28
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/data/io.py
Class Name: BasketReader
Method Name: prescan_file
Project Name: vatlab/SoS
Commit Name: 2ad24c0af410a6021584b45c76ef96973a5a4475
Time: 2017-03-14
Author: ben.bog@gmail.com
File Name: sos/PBS/sos_task.py
Class Name: PBS_TaskEngine
Method Name: kill_tasks
Project Name: vatlab/SoS
Commit Name: 2ad24c0af410a6021584b45c76ef96973a5a4475
Time: 2017-03-14
Author: ben.bog@gmail.com
File Name: sos/PBS/sos_task.py
Class Name: PBS_TaskEngine
Method Name: query_tasks