f0297785ffc3b95ed0d11d304bcd82441fe88f6e,niftynet/application/regression_application.py,RegressionApplication,add_inferred_output,#RegressionApplication#Any#Any#,292
Before Change
inferred_param.csv_file = os.path.join(
self.action_param.save_seg_dir, "inferred.csv")
data_param["inferred"] = inferred_param
if "inferred" not in task_param:
task_param["inferred"] = "inferred"
return data_param, task_param
After Change
inferred_param.csv_file = os.path.join(
self.action_param.save_seg_dir, "inferred.csv")
data_param["inferred"] = inferred_param
if "inferred" not in task_param or len(task_param.inferred)==0:
task_param.inferred = ("inferred",)
return data_param, task_param
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: NifTK/NiftyNet
Commit Name: f0297785ffc3b95ed0d11d304bcd82441fe88f6e
Time: 2018-02-15
Author: eli.gibson@gmail.com
File Name: niftynet/application/regression_application.py
Class Name: RegressionApplication
Method Name: add_inferred_output
Project Name: AKSHAYUBHAT/DeepVideoAnalytics
Commit Name: 78e254a1d171aab6c4f0fcbf15b4cde813ac14e8
Time: 2017-11-06
Author: akshayubhat@gmail.com
File Name: dva/settings.py
Class Name:
Method Name:
Project Name: NifTK/NiftyNet
Commit Name: 92cb8af94b1e524688b385ce0830993369999a9e
Time: 2019-10-03
Author: carole.sudre@kcl.ac.uk
File Name: niftynet/io/image_sets_partitioner.py
Class Name: ImageSetsPartitioner
Method Name: initialise