a9d88683e7e4275374191f5af212e24f849e5132,docs/conf.py,,modpath,#Any#,155
Before Change
while modname not in sys.modules:
modname, classname = modname.rsplit(".", 1)
if classname:
cls = getattr(sys.modules[modname], classname)
modname = cls.__module__
module = sys.modules[modname]
project_dir = Path(scanpy.__file__).parent.parent
return Path(module.__file__).relative_to(project_dir)
After Change
Get the full module path for some object’s qualname
obj, module = get_obj_module(fullname)
fragment = "//L{}-L{}".format(*get_lines(obj)) if obj else ""
project_dir = Path(scanpy.__file__).parent.parent
path = Path(module.__file__).relative_to(project_dir)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances Project Name: theislab/scanpy
Commit Name: a9d88683e7e4275374191f5af212e24f849e5132
Time: 2017-08-29
Author: flying-sheep@web.de
File Name: docs/conf.py
Class Name:
Method Name: modpath
Project Name: matthewwithanm/django-imagekit
Commit Name: 95e484d07372cb01f83f7d5024256e947ce956ec
Time: 2017-02-08
Author: vkstoykov@gmail.com
File Name: imagekit/conf.py
Class Name: ImageKitConf
Method Name: configure_cache_backend
Project Name: elfi-dev/elfi
Commit Name: 6f4b9ca4ffa9fcf0a437fc2ff56860ad13b61077
Time: 2016-12-07
Author: jarno.lintusaari@aalto.fi
File Name: elfi/distributions.py
Class Name: RandomVariable
Method Name: _prepare_operation