a8abe031d0a00c9434cf8bb0848c234bec9dbaf4,dipy/io/peaks.py,,save_peaks,#Any#Any#Any#,151
Before Change
_safe_save(f, group, pam.B, "odf")
else:
f.close()
raise ValueError("Cannot save object without peak_dirs/values/indices")
f.close()
After Change
version = func_create_array(f.root, "version",
[b"0.0.1"], "PAM5 version number")
try:
affine = pam.affine
except AttributeError:
pass
_safe_save(f, group, affine, "affine")
_safe_save(f, group, pam.peak_dirs, "peak_dirs")
_safe_save(f, group, pam.peak_values, "peak_values")
_safe_save(f, group, pam.peak_indices, "peak_indices")
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances
Project Name: nipy/dipy
Commit Name: a8abe031d0a00c9434cf8bb0848c234bec9dbaf4
Time: 2017-05-10
Author: garyfallidis@gmail.com
File Name: dipy/io/peaks.py
Class Name:
Method Name: save_peaks
Project Name: pymc-devs/pymc3
Commit Name: aa2da1407bd78f10a08305253bb787c6366ffb96
Time: 2017-03-18
Author: maxim.v.kochurov@gmail.com
File Name: pymc3/variational/svgd.py
Class Name:
Method Name: svgd
Project Name: testerSunshine/12306
Commit Name: 89ae08d130131ce06a7f4ab905b3750087783bd9
Time: 2019-01-16
Author: 931128603@qq.com
File Name: config/ticketConf.py
Class Name:
Method Name: _get_yaml
Project Name: ray-project/ray
Commit Name: ebf060d484cbe5c785f2d2e5a883b0649e850e1d
Time: 2020-05-20
Author: mehrdadn@users.noreply.github.com
File Name: python/ray/monitor.py
Class Name: Monitor
Method Name: __del__