sha256
stringlengths
64
64
language
stringclasses
28 values
size
int32
1
491k
lines
int32
1
23.2k
content
stringlengths
1
200k
2bb1d19f77619d559d106d6f48ee52d72ae2e86378a44ff5bb773f349a1abd7a
Python
138
11
# -*- coding: utf-8 -*- def test_compute_asymmetry_index(): # toDO pass def test_compute_odd_power_map(): # toDO pass
72b467b3999aab9a6a3a4b97cac651ab765c010da3ecff261d18bbe62f9f71f1
Python
138
8
#!/usr/bin/env python3 # -*- coding: utf-8 -*- __all__ = [ "flim_processing", "flim_set_processing", "flim_visualization", ]
a61d4de26af9fc3a280702bee94b706b77fc0fdeadd93d24f1d010ebf3a3af66
Python
138
4
from .chemprop import MPN from .data import MoleculeDatapoint, MoleculeDataset __all__ = ["MPN", "MoleculeDatapoint", "MoleculeDataset"]
d2a8291dde07544498fb41b18c030ffb876a3d2d676b280383ee6e2bbf9c93c4
Python
139
2
from diffxpy.testing import lrt, wald, wald_repeated, t_test, rank_test, two_sample, pairwise, \ versus_rest, partition, continuous_1d
00621379a6594e71201efc224b7e7afbe332e3a924627b15d33d8749b6757a2f
Python
140
4
from brainscore_vision import metric_registry from .metric import AccuracyDistance metric_registry['accuracy_distance'] = AccuracyDistance
d1c227f575080b137cd2c60d05d0c551e9316ea829ef7305dfdbf901a2a84e9f
Python
140
5
# __init__.py #from .main import main print('import before') from . import main_procedure, filterling, plot_spots print('import done')
37d49a8c140d71ec3aeb84506ddc67f90e1f10d9cf2aebeed7b702a09084554c
Python
141
2
"""Method for causal disentanglement of inter-cellular and intra-cellular gene regulation in spatial transcriptomics""" __version__ = "0.0.1"
cdd0b0f84cf72d4c26f16fd594bfedfd28cfcd84427b6e91c46ed8846680ad6d
Python
141
5
"""Local web viewer for MEA-NAP run bundles.""" from meanap.viewer.server import ViewerService, serve __all__ = ["ViewerService", "serve"]
1d74d2d32f2d7f94078b76ea2a6dd704359c3fa900cbf2da1ce3b8dd8006cc67
Python
142
7
# Copyright (C) CVAT.ai Corporation # # SPDX-License-Identifier: MIT from .backend import Datumaro2DBackend __all__ = ["Datumaro2DBackend"]
27b7c08d5e0c84f91b79470ee799057f25338bd767ba3924d5d8d0bfe4220081
Python
142
3
from brainscore_core.supported_data_standards.brainio.s3 import load_folder_from_s3, load_weight_file download_weights = load_folder_from_s3
5992087cbe3e688ded2337b40135824838bc5b8d3337173cca274b18ebc37066
Python
142
4
from .base import AbstractAssociator from .gamma import GammaAssociator from .pyocto import PyOctoAssociator from .real import REALAssociator
874f245d1ae5be2e25cac57ef1fe07c4b7b6fb9e0eb3fff003f62454e2418879
Python
142
5
from .logger import setup_logger from .seeds import setup_seed from .config import Config __all__ = ["setup_logger", "setup_seed", "Config"]
c87f5ee20e58027acebda4bacdc67c5fc20bb4968237754cf7ba3f1618e96f4c
Python
142
4
"""Pose-JEPA pretraining infrastructure for kinescope. Data loaders, clip datasets, visualization utilities, and the pretraining script. """
33ca7033d31ce217ae0e207940ab81feaf1db753f30df25633a1f1ce9249f1cb
Python
143
6
from typing import Literal __all__ = ['SIGNAL_TYPE'] SIGNAL_TYPE = Literal['df_f', 'spks', 'cascade_spks'] """Calcium imaging signal type"""
77f8d629f74f6ad200bba8ed3343b71e829e29ede7612647f8a0d2903131c1da
Python
143
14
#! /usr/bin/env python # aponteeduardo@gmail.com # copyright (C) 2017 '''' ''' __import__('pkg_resources').declare_namespace(__name__)
68ce3e2a29a76202057be7b972d2d3f1eea4f4f6a0beebca15a1da6a00d933b1
Python
144
3
# Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license # Copyright (c) Meta Platforms, Inc. and affiliates. All Rights Reserved
6dee1356aa441c51ba436394b3ccd6b9aa10e367f5e5476e65f4e41201ac02df
Python
144
4
HOST_TEMPLATE = 'https://celldetection.org/torch/models/{name}' HOSTED_MODELS = dict( ginoro='ginoro_CpnResNeXt101UNet-fbe875f1a3e5ce2c', )
b7f1de694c256b0e2a1df3d145494b4b7e6bf1fb5412edf73f4a7007e5cd2881
Python
144
6
# This file is part of connectome-manipulator. # # SPDX-License-Identifier: Apache-2.0 # Copyright (c) 2024 Blue Brain Project/EPFL """init"""
3199d32506c36a2dbac973fca80e125c702b7785fb1efee6a7bd901656d5d1fa
Python
145
6
from __future__ import annotations from chemgraph.academy.dashboard.server import main if __name__ == '__main__': raise SystemExit(main())
37f629a945e7e715f82e9bbc129a724060b2377bf9bf52f007cdb5aaae36a1bd
Python
145
5
from .fno import TFNO, TFNO1d, TFNO2d, TFNO3d from .fno import FNO, FNO1d, FNO2d, FNO3d from .fno import SFNO from .base_model import get_model
4774c22a49aa98eb95a8dc2d25b77994f3eef153705b545acb63c4d2e2784fe9
Python
145
4
from brainscore_vision import benchmark_registry from .benchmark import DicarloKar2019OST benchmark_registry['Kar2019-ost'] = DicarloKar2019OST
5227a20a434742bbeaa5ffddd229cdf1aeff6e8208ec534c153f20cb550ce6fe
Python
145
3
import warnings warnings.filterwarnings("ignore", message="RuntimeWarning") warnings.filterwarnings("ignore", message="numpy.ufunc size changed")
bde78f0984817e8d6de40861df0ad508dbde8b3727897658863c92eda8642212
Python
145
6
""" Imputations for time-series data. """ from .locf import locf from .moving_window import moving_window __all__ = ["locf", "moving_window"]
8f1801b8acd204f8732d22e1816b4b16212b4e9bd490633b65e8ebe6790984d6
Python
146
4
""" This submodule contains MPI operations. For more information about MPI visit: https://mpi4py.readthedocs.io/en/stable/ """ from .mpi import *
aa47d3cdee4196018c3e3683482cf695fdc09c13dc0263edd755599e19c26792
Python
146
4
from brainscore_vision import benchmark_registry from .benchmark import Hebart2023Match benchmark_registry['Hebart2023-match'] = Hebart2023Match
190f1494e1e21ad94759b2b41eff2ce55bdc61136e60c0b943371425e6e72b58
Python
147
4
from brainscore_vision import benchmark_registry from .benchmark import Cowley2026V4PLS benchmark_registry['Cowley2026.V4-pls'] = Cowley2026V4PLS
ee54354d671f38b3253a0e125ec146cb45958ec0a8a73a1451485633695a4b94
Python
147
11
""" nelpy utils """ from . import decorators __all__ = ["decorators"] __version__ = "0.0.2" # should I maintain a separate version for this?
f1f59ff9913e7f122dc0ae66640e6cba1fd62f375fb55f0a6da431cd7139e6d9
Python
147
4
from brainscore_vision import metric_registry from .metric import BakerAccuracyDelta metric_registry['baker_accuracy_delta'] = BakerAccuracyDelta
56e3349c91831063dcf39d24911779c2b56a3897eae6046e6bafe4773d5d8994
Python
148
3
__all__ = ["CziFile", "remote_reads_available"] from .CziFile import CziFile, remote_reads_available from ._version import __version__ # noqa F401
8235039ab9a341c4d9844227345364a9b5cbbda2a78d424534984f9f36fc1074
Python
148
4
# TODO # From supplement doc: # "exclude subsets of data based on criteria such as missing data, # outlier state values, incorrect behavior, etc."
f2f7637e083b35117d07bf5239122f063ab8a0bc75723a99a80e12bb7f2a0ca8
Python
148
2
from ._contact_communication import contact_communication, cluster_communication from ._cell_shape_modeling import cell_shape_modeling, cellshape_GT
4434993fd7f7d4bf575c2417bb6387742a5331d6145c231bebe34ecbff9a7c28
Python
149
8
# -*- coding: utf-8 -*- def test_find_intersection(): # Todo: # finder = IntersectionFinder(...) # finder.find_intersection() pass
52f149bccf940b3c33e6f24d0163916763b14379793f9144285bc3bd6062547f
Python
149
8
#! /usr/bin/env python import jellyfish import sys mf = jellyfish.ReadMerFile(sys.argv[1]) for mer, count in mf: print("%s %d" % (mer, count))
f5845348fafc2d48092221ad9bddb1e6c098f138abed1bd86213a95c59eadef4
Python
149
4
from ._model import DestVISpatial, CustomTrainingPlan from ._module import HSTDeconv __all__ = ["DestVISpatial", "CustomTrainingPlan", "HSTDeconv"]
da8baf5401c1c44d267539f980de28a315cfd3f85eee76c501a220477443f3d3
Python
150
3
from .normalizer_base import Normalizer from .percentile_normalizer import PercentileNormalizer from .windowing_normalizer import WindowingNormalizer
43c7fd8714e321166b61a80b611cadd26c9b0cdfc01bcdfe18283573315e896f
Python
151
4
# Copyright (C) 2021-2022 Intel Corporation # # SPDX-License-Identifier: MIT from .core import ImageManifestManager, VideoManifestManager, is_manifest
6678eebca67fc1307249d11aa19ea7d33869fb648f846426e558117620a1fecc
Python
151
10
"""ChemGraph Command Line Interface. Entry point:: chemgraph = "chemgraph.cli:main" """ from chemgraph.cli.main import main __all__ = ["main"]
9a52795292bde78e3a7776fece1c3b65ec67705f73a8e2a03626a448dae5d468
Python
151
5
# prsedm/extensions/__init__.py from .score_dm import gen_dm from .SQL import get_snp_db, get_dm_sql __all__ = ["gen_dm", "get_snp_db", "get_dm_sql"]
2e12c2a559e83798cc85308c30714ff4b8659a6c3eee588fee473b28e39a01bf
Python
153
6
import doctest import retnext.modules def load_tests(loader, tests, ignore): tests.addTests(doctest.DocTestSuite(retnext.modules)) return tests
f6465544565fbd54de64daf4e80142ad308ab8b50de95aaac5bb20a077fa072a
Python
153
9
"""Compatibility launcher for the browser-based interface.""" from .browser_app import main __all__ = ["main"] if __name__ == "__main__": main()
0ff243456101f4ba47367b1923fcb6e4357e094de34c4bcae031942125d66e75
Python
154
6
__version__ = '1.2.7' from . SpaGCN import * from . util import * from . calculate_moran_I import * from . calculate_adj import * from . ez_mode import *
3f247fe0ae5269fb09ac1afaa96ae48caafa1812f56fb16d6726f25c20c45706
Python
154
9
r"""Visualization package.""" from .graph import visualize_graph from .influence import influence __all__ = [ 'visualize_graph', 'influence', ]
4d13d770705c84ea4d09b39001b5ed5dfc04e289b1c04a76e9af63a872fdec36
Python
154
7
# -*- coding: utf-8 -*- from .evaluate import Evaluate from .predict import Predict from .train import Train __all__ = ['Evaluate', 'Predict', 'Train']
946b3d3e77d19426609e28d4cbdab05653a867f57d63a5c14ba52ebe4269eb75
Python
154
6
from . import plots as pl from . import train as tr from . import utils as tl from .pca import dPCA, scPCA __all__ = ["scPCA", "dPCA", "tl", "tr", "pl"]
a87c906aecd069b5656b7e2350707e3f300809f793ce48ef6635abc6cf9345f5
Python
154
7
__version__='0.1.1' from .constants import * from .transform import * from .gncc import * from .grid_search import grid_search from .preprocess import *
6a7f56afd737693cf0eba352daba339a39b013bacdc5579475397f5f54e1129b
Python
155
4
from .dpca import dpca_guide, dpca_model from .scpca import scpca_guide, scpca_model __all__ = ["scpca_model", "scpca_guide", "dpca_model", "dpca_guide"]
9c175bbd7cf5ccc5e97ced74ad26469965ca09c8ba5e4484f297d5a69b8da3b2
Python
155
1
from .data_preprocessing import formulate_HRCHYCytoCommunity_input_from_anndata_singlecell,compute_knn,formulate_HRCHYCytoCommunity_input_from_anndata_spot
30ffed746bff74247de5e466ed3ef5372970a335462f3bda84746ebc70db1bec
Python
156
6
from .base_reducer import BaseReducer class DoNothingReducer(BaseReducer): def forward(self, loss_dict, embeddings, labels): return loss_dict
6f55a02d9921efebfc939c0184599af06c9e30b7468d95e72d8ff0e9cd7af5dd
Python
156
5
from .perlin_stimulus import PerlinStimulus from .util import generate_frames from .easy import zebra_noise Perl = PerlinStimulus # Backward compatibility
8880af7d432e9ec067812511ba4f1f2cc33ef9f2a48d3081b8e99ad32e96b817
Python
156
7
# Copyright (C) CVAT.ai Corporation # # SPDX-License-Identifier: MIT from django.dispatch import Signal internal_ai_agent_function_call_signal = Signal()
b9435093e0ba8da538dcd5aca2f476b3e90d0c3f64ca268ad1ad5147b4f921b7
Python
156
7
""" Utilities for handling PLS results generated using the Matlab PLS toolbox """ __all__ = ["import_matlab_result"] from .io import import_matlab_result
c54b04bd6b506d5032c37f88ee94b62e0a8c7ccf52124bd73f5934bd8416faa3
Python
156
9
"""Tests for use with the `pytest` library. To run all tests from command line: `pip install pytest` then: `pytest` from the nems-lite base directory. """
d0fbc609b198fa4b23fb7b2c3fb1477e9f9f76e220565302f76f3f11ce93cf20
Python
156
5
# Copyright (C) CVAT.ai Corporation # # SPDX-License-Identifier: MIT """Adapters for external representations, imported separately from the data model."""
90782d8707d4ca5c0ea39773378e6161f1516dc47eba94cc79e7756941025d60
Python
157
8
import pytest import brainscore_vision @pytest.mark.private_access def test_existence(): assert brainscore_vision.load_dataset('Kar2019') is not None
f834613931d8fb1c6e3dbb3e9cf98397f96754e72a1acb9e15820e0b1454afc0
Python
158
3
# Copyright (c) OpenMMLab. All rights reserved. from .metrics import metrics, eval_metrics, pre_eval_to_metrics from .eval_hooks import EvalHook, DistEvalHook
6b6e1043ef3536776c0e068526443bdce5ed35a51c1f2dfbf6910d9228ebe9a8
Python
159
8
from setuptools import setup, find_packages setup( name='bce', version='0.1', packages=find_packages(where='src'), package_dir={'': 'src'}, )
89ec726d3f5ea0ddbd98ced49876f78c450c18bbf38c6605e66909a05451cc55
Python
159
8
import pytest from brainscore_vision import load_dataset @pytest.mark.private_access def test_existence(): assert load_dataset('David2004') is not None
94ed7f7729087ab312d9add15ec5b2b114f813a88b2f315762be1680af943a4f
Python
159
8
import pytest from brainscore_vision import load_dataset @pytest.mark.private_access def test_existence(): assert load_dataset('Cichy2019') is not None
c147a60c75fce2d1617c16821cc24bf6c365bb0293d4ce4812d67cd72ee6c3e6
Python
159
6
import doctest import retnext.transforms def load_tests(loader, tests, ignore): tests.addTests(doctest.DocTestSuite(retnext.transforms)) return tests
cfbad51fb48bf72f56c61f3738d306e81cd3f8665ef2e418a5c96463fe86902f
Python
159
4
from .loss_functions import LOSS_FUNCTIONS from .neural_net import NeuralNet from .sinkhorn import Sinkhorn, marginals_and_transport_plan from .utils import *
df5c3b2552c2ff28fe546c404378e053d08a8d022c16a7e7d9978b4fcd1961f2
Python
159
9
# Copyright (C) CVAT.ai Corporation # # SPDX-License-Identifier: MIT from __future__ import annotations class CloudStorageMissingError(Exception): pass
ea0faa56247d2c0ecde96a06238bed74a890a959b6e385a4a4b4d0bc360cf0c5
Python
159
9
"""Volumetric parcellations. For more information see :ref:`parcellations`. """ from pathlib import Path path = Path(__file__).parent directory = str(path)
721b45e8ac0a061dc1bfdbd13fcc50cf46d8c57834fde0931528e5ab09e2fbdb
Python
160
5
import numpy as np X_RANGE = np.linspace(-0.5, 0.5, 101, dtype=np.float32) Y_RANGE = np.linspace(-1.0, 1.0, 101, dtype=np.float32) THETA_RANGE = range(0, 360)
e43fa8f03a00b65294bd5ace9269ebe04aea870449c015df388b8102a6bb7376
Python
160
5
class Defaults: expected_dims = ('presentation', 'neuroid') stimulus_coord = 'stimulus_id' neuroid_dim = 'neuroid' neuroid_coord = 'neuroid_id'
1cffa7c87d13298ab74dbd8f40cd1905721803430b4d5e5368d50275bca37f52
Python
161
8
# Copyright (C) CVAT.ai Corporation # # SPDX-License-Identifier: MIT from django.dispatch import Signal request_succeeded = Signal() request_failed = Signal()
4027d552de9f8ba0f866fd1df7edd862b337baa2ed8e43d86c44402ff4dfaa92
Python
161
10
#!/usr/bin/env python """ Simple script to add a prefix to every line in a file. """ import sys for line in sys.stdin: print(sys.argv[1] + line, end=" ")
2478ed3fe916dcf0bd416be5efe296de5ae035ca6af071fc2a44adc1e8d354ff
Python
162
8
import h5py import pathlib import matplotlib matplotlib.use('Qt5Agg') import matplotlib.pyplot as plt if __name__ == '__main__': result_path = pathlib.Path()
a3b5be7321727a5575fbf05079e643d8725211fdd14256a9aa8f0c3db4af3491
Python
162
8
import pytest import brainscore_vision @pytest.mark.private_access def test_existence(): assert brainscore_vision.load_dataset('Kuzovkin2018') is not None
518ad3873f7e83c3e5997afb2d9bad29fb7ab1e15a155a7f66b0f464657668fe
Python
163
7
from typing import Callable, Tuple, Type, Union import torch LayerType = Union[str, Callable, Type[torch.nn.Module]] PadType = Union[str, int, Tuple[int, int]]
7ac8186fa105aac79b67fb60dd902bf0f306854de7fd3966614282b6cab6f00c
Python
163
4
"""Objects and methods to evaluate accuracy of causal models.""" from .evaluator import evaluate, evaluate_bootstrap __all__ = ["evaluate", "evaluate_bootstrap"]
e509decaf845fb2212368fdc870736e3d9d9bb9542e66b7f62b2aaa3a930aae6
Python
163
6
from .Submodules import * from .AberrantExpression import * from .AberrantSplicing import * from .MonoallelicExpression import * from .RNAVariantCalling import *
2b94ed16745fbb5df70a9f7d3582fadb7b42cc3a30586d61aed14febcfd51d19
Python
164
10
# Copyright (C) CVAT.ai Corporation # # SPDX-License-Identifier: MIT from enum import Enum class SourceDataType(Enum): images = "images" video = "video"
8f129aa935be8a809529974717cae949d0898e42f2faf584c55ca8d43d5b0e0f
Python
164
5
# Copyright (c) OpenMMLab. All rights reserved. from .encoding import Encoding from .wrappers import Upsample, resize __all__ = ['Upsample', 'resize', 'Encoding']
17667d49af5dc614d045797fc2bf0df9899a79daedf513a396b11bf01000f42a
Python
165
6
# Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license """Optimizers for Ultralytics model training.""" from .muon import MuSGD __all__ = ["MuSGD"]
6b041adfa9600cbb4b5e3cbdb0754ceb78090bfe643eda9a5bda0d0167ae4628
Python
165
8
import pytest import brainscore_vision @pytest.mark.private_access def test_existence(): assert brainscore_vision.load_dataset('Rajalingham2020') is not None
f4dc8047529d53af98d1ddaa0affd4a50ae82f2d1df38ae50526eae13665fce0
Python
165
11
r1 = 3.2e-3 # l/mmol/ms T01 = 4500 # ms R01 = 1.0 / T01 def compute_c(T1): return (1.0 / T1 - R01) / r1 def compute_T1(c): return 1.0 / (R01 + c * r1)
c07680d98239aaef5956eed1c2cbd1421b80baed7f6a371adedc76be4ab0c109
Python
166
7
from bism.targets.affinities import affinities from bism.targets.local_shape_descriptors import lsd _valid_targets = { 'lsd': lsd, 'affinities': affinities }
c6eaf95c704381069c736df34ed5dff97bbff41845fee2cad99f64625748dc2d
Python
166
5
# coding: utf-8 # file generated by setuptools_scm # don't change, don't track in version control version = '1.1.dev260054000' version_tuple = (1, 1, 'dev260054000')
c8c75fba1728de89a8517b249b0d8a987d6cff6b1cfd77991390d8c68a9c6062
Python
166
4
""" Current whole-genome alignment often result in large unaligned regions. This result in large HDRs/notals, even though the actual sequence is quite comparable. """
b5bbe4078ca56d089f1a7c2cca5993516bbf6c92c3c157a498dde252ae02095e
Python
167
7
from app import MainApp from service.router import users, topics MainApp.app.include_router(users.router) MainApp.app.include_router(topics.router) app = MainApp.app
f5eceef2203b0de96f957a674229d37d258c60e586766d9a483d782ec1de4700
Python
167
10
from __future__ import absolute_import from .classification import accuracy from .ranking import cmc, mean_ap __all__ = [ 'accuracy', 'cmc', 'mean_ap' ]
4e4d1369d7e6316c6a1c1eae6eac67650a9b8420857bf4b6a5e51cac2de92591
Python
168
6
import pytest import brainscore_vision def test_has_identifier(): model = brainscore_vision.load_model('hmax_v3_adj') assert model.identifier == 'hmax_v3_adj'
6c24ba24c09ee932b71e724936a25c7175fe4ea4b7dbe2457b4fc3a49b2a7837
Python
168
9
# import self-written scripts to get random positions and manage exp import exp_utils LOCATION='mockup' if __name__ == '__main__': exp_utils.run_exp(LOCATION)
9747a033785531e73556de489f03b14d8514f3ce68fdcbe0efe9df2cfc1d36ab
Python
168
6
from importlib.metadata import version, PackageNotFoundError try: __version__ = version("encore-toolkit") except PackageNotFoundError: __version__ = "unknown"
138e0bf298c1b200b75afe7f1c90723a3ea62a7a7c59c85fd036b14f72278496
Python
169
6
from .threshold_reducer import ThresholdReducer class AvgNonZeroReducer(ThresholdReducer): def __init__(self, **kwargs): super().__init__(low=0, **kwargs)
32402403be2db7d89f11d50d0339b599359c4fdc8c9f512e9219ad5f9a598672
Python
169
7
from ._cellgraph import * from ._assgraph import * from ._dataset import * from ._model import * from ._classifier import * from ._scoring import * from ._utils import *
47662f2b72a6d6536a34f4503d4a2b8f1b115ede4896ab619b9dc67b81bc02f0
Python
169
8
from .cci import * from .hotspot import * from .utility import * from . import methods from . import data from . import plot from . import hmrf from . import benchmarks
e37f67d8cb7a97b9e3ccda05999bb6b880ad8f316a21593292f1cf5feea86860
Python
169
9
# import self-written scripts to get random positions and manage exp import exp_utils LOCATION='scanner' if __name__ == '__main__': exp_utils.run_exp(LOCATION)
fd5f991a1754ac52cb00988514303c42dccc7e9368239ee190417b5e09c4c6fe
Python
169
12
#!/usr/bin/env python3 # -*- coding: utf-8 -*- __all__ = [ "shared", "visualization", "parameters", "files_io", "image", "flim", "utils", ]
0de906d0d292234d8680bd7ff4d65d7b9fd5ff91cfa545dd38c192d690de80bb
Python
170
11
# -*- coding: utf-8 -*- """ """ import math import matplotlib.pyplot as plt import networkx as nx import numpy as np import pandas as pd import pygsp import scipy as sc
2f601a6122f270f80a5b18e320f8b2ee64100d28a92d0b67f6621d311844495b
Python
170
6
import pytest import brainscore_vision def test_has_identifier(): model = brainscore_vision.load_model('hmax_v3_adj2') assert model.identifier == 'hmax_v3_adj2'
32e3f55d0e0433751bb15cb1c4b0c9e8205d7dc68d38a1b8c932d32f38eba98b
Python
170
6
# Copyright (C) CVAT.ai Corporation # # SPDX-License-Identifier: MIT # Force execution of fixture definitions from .fixtures import * # pylint: disable=wildcard-import
7d6296c3337493f72a0f42696f754ab9a052add5702d9d3a69a57372d105d451
Python
170
13
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup requirements = [ "pandas", "imageio", ] setup( install_requires=requirements, )
89c4993d2622fa0bafe64ad3b16ccb802f1b5e1f01f428aa592f0700830cb337
Python
170
8
from setuptools import setup, find_packages setup( name='stroketriage', version='0.1.0', packages=find_packages(where='src'), package_dir={'': 'src'}, )
9e699974a7702f3cb9a5e56847bc91d17aae894b54a4fd0085e64c25aba43344
Python
170
6
#!/usr/bin/env python3 # -*- coding: utf-8 -*- def test_help_option(script_runner): ret = script_runner.run(['scil_data_download', '--help']) assert ret.success
77eba82e20f0eb5145643dfb9cc123724959771d93fc5ad1e4b4c808b839dcd5
Python
171
4
from .physiodicom import PhysioDicom from .ecg import HeartRate from .phaseresp import PhaseRespWave from .bidsphysio import (write_json, make_bids_stub, save_bids_physio)
79f000cc269f9c82e83168bb95c647bbe384776c0b97bd7c0b0a722c33e658d5
Python
171
12
# -*- coding: utf-8 -*- """ """ import pygsp import numpy as np import networkx as nx import pandas as pd import matplotlib.pyplot as plt import math import scipy as sc
0e5601ccaabfbcc6eeef6bb15aef955562b01652f822b7cbe664d7f124856927
Python
172
7
import importlib def get_instance(mod_name, class_name): mod = importlib.import_module(mod_name) prototype = getattr(mod, class_name) return prototype
d6dd4668090667d90935c95721a3463608cb0d6851e9de8049fd3cbd04698c01
Python
172
4
from functools import update_wrapper from .densedepth_head import DenseDepthHead, DepthBaseDecodeHead from .densedepth_head24 import DenseDepthHead24, DepthBaseDecodeHead
0cdb7db3038ae7c0514138ea076c1a8650be3456f58f4b1e67ec3cbb30c23606
Python
173
6
# Copyright (C) CVAT.ai Corporation # # SPDX-License-Identifier: MIT # Force execution of fixture definitions from sdk.fixtures import * # pylint: disable=wildcard-import