14f7fd88d24cf31a466726fc89060a4b7778e2e6,niftynet/engine/image_window.py,,_read_window_sizes,#Any#Any#,225
Before Change
if uniq_window_set:
window_shape = uniq_window_set.pop()
try:
return tuple(map(int, window_shape))
except (TypeError, ValueError):
pass
try:
// try to make it a tuple
After Change
if uniq_window_set:
window_shape = uniq_window_set.pop()
try:
return tuple(int(win_size) for win_size in window_shape)
except (TypeError, ValueError):
pass
try:
// try to make it a tuple
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances Project Name: NifTK/NiftyNet
Commit Name: 14f7fd88d24cf31a466726fc89060a4b7778e2e6
Time: 2017-09-04
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/engine/image_window.py
Class Name:
Method Name: _read_window_sizes
Project Name: NifTK/NiftyNet
Commit Name: 898a9387984d8434245618eda47a6e3f052bbba0
Time: 2018-03-20
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/utilities/user_parameters_regex.py
Class Name:
Method Name: match_array
Project Name: NifTK/NiftyNet
Commit Name: 9b638935feccbb0fce928b5e9e38616c74960394
Time: 2017-08-30
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/engine/image_window.py
Class Name:
Method Name: _read_window_sizes