1c08e6a70c5114d1b2a771d2ef88d6e1f03c82b2,nilearn/image/image.py,,math_img,#Any#,670
Before Change
data_dict["np"] = np
try:
result = eval(formula, data_dict)
except Exception as e:
raise ValueError("Input formula couldn"t be processed: {0}"
.format(e))
return new_img_like(niimg, result, niimg.get_affine())
After Change
for image in imgs.values():
niimgs.append(check_niimg(image))
_check_same_fov(*niimgs, raise_error=True)
except Exception as exc:
exc.args = (("Input images cannot be compared, you provided "{0}","
.format(imgs.values()),) + exc.args)
raise
// Computing input data as a dictionary of numpy arrays. Keep a reference
// niimg for building the result as a new niimg.
niimg = None
In pattern: SUPERPATTERN
Frequency: 6
Non-data size: 5
Instances Project Name: nilearn/nilearn
Commit Name: 1c08e6a70c5114d1b2a771d2ef88d6e1f03c82b2
Time: 2016-02-11
Author: alexandre.abadie@inria.fr
File Name: nilearn/image/image.py
Class Name:
Method Name: math_img
Project Name: DexterInd/GoPiGo3
Commit Name: 2ef93419b84d33c4c87d15db3ba28268d49f3ae1
Time: 2017-08-04
Author: cleoqc1124@gmail.com
File Name: Software/Python/easygopigo3.py
Class Name: UltraSonicSensor
Method Name: __init__
Project Name: tensorflow/datasets
Commit Name: 4aa64c0964bda0442ea791c98551a4da59153151
Time: 2018-12-20
Author: pierrot@google.com
File Name: tensorflow_datasets/core/registered.py
Class Name:
Method Name: builder
Project Name: DexterInd/GoPiGo3
Commit Name: 2ef93419b84d33c4c87d15db3ba28268d49f3ae1
Time: 2017-08-04
Author: cleoqc1124@gmail.com
File Name: Software/Python/easygopigo3.py
Class Name: Led
Method Name: __init__
Project Name: streamlit/streamlit
Commit Name: 969cbff0ee308f153b41c5df137b4215907857e3
Time: 2020-02-11
Author: rhone.j@gmail.com
File Name: lib/streamlit/hashing.py
Class Name: CodeHasher
Method Name: _to_bytes
Project Name: DexterInd/GoPiGo3
Commit Name: 2ef93419b84d33c4c87d15db3ba28268d49f3ae1
Time: 2017-08-04
Author: cleoqc1124@gmail.com
File Name: Software/Python/easygopigo3.py
Class Name: LineFollower
Method Name: __init__