01c3a882833dc5031df2f4440717870b35e4833a,utilities/subject.py,Subject,column,#Subject#Any#,90
Before Change
def column(self, index):
if index > len(Subject.fields) - 1:
raise ValueError(
"subject has {} columns, attempting to access index {}".format(
len(Subject.fields), index))
return self.csv_cell_dict[Subject.fields[index]]
@CacheFunctionOutput
def _read_original_affine(self):
After Change
self.csv_cell_dict[Subject.fields[index]] = value
def column(self, index):
assert index < len(Subject.fields)
return self.csv_cell_dict[Subject.fields[index]]
@CacheFunctionOutput
def _read_original_affine(self):

In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: NifTK/NiftyNet
Commit Name: 01c3a882833dc5031df2f4440717870b35e4833a
Time: 2017-05-29
Author: wenqi.li@ucl.ac.uk
File Name: utilities/subject.py
Class Name: Subject
Method Name: column
Project Name: NifTK/NiftyNet
Commit Name: d77955ba3cbf7c83b3c3d2e13a6709fcefe17a5d
Time: 2017-08-22
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/utilities/user_parameters_parser.py
Class Name:
Method Name: run
Project Name: microsoft/nni
Commit Name: e6ef08f367e0389e811d63eaa5afb16183a19e2b
Time: 2020-08-24
Author: 40699903+liuzhe-lz@users.noreply.github.com
File Name: src/sdk/pynni/nni/compression/tensorflow/compressor.py
Class Name:
Method Name: _locate_layers