2897fcf87291c5aa3d955e3c5e8cc7957313299b,cellprofiler/icons/__init__.py,,,#,5
Before Change
import sys
import weakref
if hasattr(sys, "frozen"):
path = os.path.split(os.path.abspath(sys.argv[0]))[0]
path = os.path.join(path, "artwork")
else:
path = os.path.join(os.path.dirname(os.path.dirname(__path__[0])), "artwork")
image_cache = weakref.WeakValueDictionary()
def get_builtin_image(name):
After Change
import pkg_resources
images = os.path.join("data", "images")
resources = pkg_resources.resource_filename("cellprofiler", images)
image_cache = weakref.WeakValueDictionary()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: CellProfiler/CellProfiler
Commit Name: 2897fcf87291c5aa3d955e3c5e8cc7957313299b
Time: 2017-07-07
Author: allen.goodman@icloud.com
File Name: cellprofiler/icons/__init__.py
Class Name:
Method Name:
Project Name: neurosynth/neurosynth
Commit Name: 4867e69181cc65a39b317819825606e0ef9350b5
Time: 2015-01-08
Author: tyarkoni@gmail.com
File Name: neurosynth/analysis/cluster.py
Class Name: Clusterer
Method Name: _create_cluster_images
Project Name: tensorflow/transform
Commit Name: 930e8bdb5a05d21f6b09623c5b4dade19d1efa76
Time: 2021-01-25
Author: varshaan@google.com
File Name: tensorflow_transform/beam/impl.py
Class Name:
Method Name: _infer_metadata_from_saved_model_v2