420ef271bb109bf5318ba907c7aebcfd3ef7e51c,nilearn/datasets/neurovault.py,_DataScroller,_scroll_collection,#_DataScroller#Any#,1906
Before Change
break
except Exception:
fails_in_collection += 1
_logger.exception(
"_scroll_collection: bad image: {0}".format(image))
self._failed_download()
if fails_in_collection == self.max_fails_in_collection_:
_logger.error("Too many bad images in collection {0}: "
"{1} bad images.".format(
After Change
break
except Exception:
fails_in_collection += 1
_print_if(
"_scroll_collection: bad image: {0}".format(image),
_ERROR, self.verbose, with_traceback=True)
self._failed_download()
if fails_in_collection == self.max_fails_in_collection_:
_print_if("Too many bad images in collection {0}: "
"{1} bad images.".format(
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: nilearn/nilearn
Commit Name: 420ef271bb109bf5318ba907c7aebcfd3ef7e51c
Time: 2017-02-02
Author: jerome@dockes.org
File Name: nilearn/datasets/neurovault.py
Class Name: _DataScroller
Method Name: _scroll_collection
Project Name: nilearn/nilearn
Commit Name: 420ef271bb109bf5318ba907c7aebcfd3ef7e51c
Time: 2017-02-02
Author: jerome@dockes.org
File Name: nilearn/datasets/neurovault.py
Class Name: DownloadManager
Method Name: _add_words
Project Name: nilearn/nilearn
Commit Name: 420ef271bb109bf5318ba907c7aebcfd3ef7e51c
Time: 2017-02-02
Author: jerome@dockes.org
File Name: nilearn/datasets/neurovault.py
Class Name: _DataScroller
Method Name: _scroll_filtered