891a2d47c5ac3d2fff3fa86e15ad8a9344b8c157,scipy/__init__.py,,,#,68
Before Change
from numpy.lib.scimath import *
// Emit a warning if numpy is too old
majver, minver = [float(i) for i in _num.version.version.split(".")[:2]]
if majver < 1 or (majver == 1 and minver < 5):
import warnings
warnings.warn("Numpy 1.5.0 or above is recommended for this version of "
"scipy (detected version %s)" % _num.version.version,
After Change
from scipy.lib._version import NumpyVersion as _NumpyVersion
if _NumpyVersion(__numpy_version__) < "1.5.1":
import warnings
warnings.warn("Numpy 1.5.1 or above is recommended for this version of "
"scipy (detected version %s)" % __numpy_version__,
UserWarning)
del _NumpyVersion
from numpy.testing import Tester
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: scipy/scipy
Commit Name: 891a2d47c5ac3d2fff3fa86e15ad8a9344b8c157
Time: 2013-12-30
Author: ralf.gommers@googlemail.com
File Name: scipy/__init__.py
Class Name:
Method Name:
Project Name: pytorch/text
Commit Name: 06dc59afe4657c009430a4673f1504feb69d2736
Time: 2021-02-17
Author: 6156351+zhangguanheng66@users.noreply.github.com
File Name: torchtext/data/example.py
Class Name: Example
Method Name: fromJSON
Project Name: prody/ProDy
Commit Name: 676fe09bff76f812b3dfbe66ac81d992711fce80
Time: 2018-09-26
Author: jamesmkrieger@gmail.com
File Name: prody/proteins/starfile.py
Class Name:
Method Name: parseImagesFromSTAR