d53b95cf575bae90bc581ee2d50748ca97354b5b,scanpy/_utils.py,NeighborsView,__init__,#NeighborsView#Any#Any#,580
Before Change
if conns_key in adata.obsp:
self._connectivities = adata.obsp[conns_key]
elif conns_key in self._neighbors_dict :
self._connectivities = self._neighbors_dict[conns_key]
if dists_key in adata.obsp:
After Change
self._distances = None
if key is None or key == "neighbors":
if "neighbors" not in adata.uns:
raise KeyError("No "neighbors" in .uns")
self._neighbors_dict = adata.uns["neighbors"]
conns_key = "connectivities"
dists_key = "distances"
else:
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances Project Name: theislab/scanpy
Commit Name: d53b95cf575bae90bc581ee2d50748ca97354b5b
Time: 2020-03-20
Author: koncopd@gmail.com
File Name: scanpy/_utils.py
Class Name: NeighborsView
Method Name: __init__
Project Name: facebookresearch/ParlAI
Commit Name: 7415a04e39e0ba687f4cd468dede3e24315e5984
Time: 2020-11-08
Author: roller@fb.com
File Name: parlai/core/teachers.py
Class Name: StreamDialogData
Method Name: __init__
Project Name: open-mmlab/mmcv
Commit Name: 45111e193daebbaa8137a9ac80ad8dc911a6b96c
Time: 2020-04-30
Author: chenkaidev@gmail.com
File Name: mmcv/utils/registry.py
Class Name:
Method Name: build_from_cfg