6b48e6ed99ce9c14b4f55993b84f10d90fd6fa82,bioformats/__init__.py,,,#,15

Before Change


WRITABLE_FORMATS = ("avi", "eps", "epsi", "ics", "ids", "jp2", "jpeg", "jpg", 
                    "mov", "ome", "ome.tiff", "png", "ps", "tif", "tiff")

if hasattr(sys, "frozen"):
    __root_path = os.path.split(os.path.abspath(sys.argv[0]))[0]
else:
    __root_path = os.path.abspath(os.path.split(__file__)[0])

After Change


WRITABLE_FORMATS = ("avi", "eps", "epsi", "ics", "ids", "jp2", "jpeg", "jpg", 
                    "mov", "ome", "ome.tiff", "png", "ps", "tif", "tiff")

if hasattr(sys, "frozen") and sys.platform != "darwin":
    __root_path = os.path.split(os.path.abspath(sys.argv[0]))[0]
else:
    __root_path = os.path.abspath(os.path.split(__file__)[0])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 11

Non-data size: 5

Instances


Project Name: CellProfiler/CellProfiler
Commit Name: 6b48e6ed99ce9c14b4f55993b84f10d90fd6fa82
Time: 2011-12-16
Author: thouis@gmail.com
File Name: bioformats/__init__.py
Class Name:
Method Name:


Project Name: open-mmlab/mmcv
Commit Name: 9c38b35fb6437d4723550250dbfd1b2e97f580ec
Time: 2018-10-10
Author: chenkaidev@gmail.com
File Name: mmcv/cnn/weight_init.py
Class Name:
Method Name: uniform_init


Project Name: rusty1s/pytorch_geometric
Commit Name: 936ed18bf53e7edf22be56422792d715012b20b9
Time: 2019-04-18
Author: matthias.fey@tu-dortmund.de
File Name: torch_geometric/data/data.py
Class Name: Data
Method Name: num_nodes


Project Name: brian-team/brian2
Commit Name: a9e4330aaf8720659a685201e89446ce7b42908a
Time: 2017-08-17
Author: charleetje@gmail.com
File Name: brian2/codegen/codeobject.py
Class Name:
Method Name: create_runner_codeobj


Project Name: Microsoft/nni
Commit Name: beeea328c5bfb0a68bad14dfee6bbf97a1162093
Time: 2020-08-26
Author: 49771382+zheng-ningxin@users.noreply.github.com
File Name: src/sdk/pynni/nni/compression/torch/utils/mask_conflict.py
Class Name: CatMaskPadding
Method Name: fix_mask


Project Name: open-mmlab/mmcv
Commit Name: 9c38b35fb6437d4723550250dbfd1b2e97f580ec
Time: 2018-10-10
Author: chenkaidev@gmail.com
File Name: mmcv/cnn/weight_init.py
Class Name:
Method Name: normal_init


Project Name: dmnfarrell/pandastable
Commit Name: 799c5d13b1aa0f6f54af4351b57deba18bf64ed8
Time: 2015-11-25
Author: farrell.damien@gmail.com
File Name: pandastable/headers.py
Class Name: ColumnHeader
Method Name: handle_left_click


Project Name: open-mmlab/mmcv
Commit Name: 9c38b35fb6437d4723550250dbfd1b2e97f580ec
Time: 2018-10-10
Author: chenkaidev@gmail.com
File Name: mmcv/cnn/weight_init.py
Class Name:
Method Name: xavier_init


Project Name: open-mmlab/mmcv
Commit Name: 9c38b35fb6437d4723550250dbfd1b2e97f580ec
Time: 2018-10-10
Author: chenkaidev@gmail.com
File Name: mmcv/cnn/weight_init.py
Class Name:
Method Name: kaiming_init


Project Name: open-mmlab/mmcv
Commit Name: 9c38b35fb6437d4723550250dbfd1b2e97f580ec
Time: 2018-10-10
Author: chenkaidev@gmail.com
File Name: mmcv/cnn/weight_init.py
Class Name:
Method Name: constant_init


Project Name: RaRe-Technologies/gensim
Commit Name: 478e87968f128083639c40cf43ee42f51482ac90
Time: 2015-08-11
Author: m.lyra@sussex.ac.uk
File Name: gensim/test/test_corpora.py
Class Name: CorpusTestCase
Method Name: test_indexing