sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
0684f6c0c1b4f4590bdf5834073102b152a9e9f7df110da88baac0d8c46f1d95 | Python | 61 | 4 | import torch
x = torch.load("protein_dictionary_prose.pt")
|
3129adff95e0f38b87ab34cddfc27082c7892bcaec267ff5d40f160fdf55b44a | Python | 61 | 4 | from .cli import main
if __name__ == "__main__":
main()
|
58fdf25f27cd964c28c0698dd197b2d1051331348d7f21fd3b373e23c4f3d0e9 | Python | 61 | 1 | from ray.train._internal.session import * # noqa: F401,F403
|
6c53cdea3373ce4806cd3b197fde82497f96481d8d999a1348b83db2240beb93 | Python | 61 | 2 | from .transforms_wav import *
from .transforms_stft import *
|
7ce763c46e18e32a8507870edae0e472819512a2c3141bc613e9809d9c574a44 | Python | 61 | 1 | from .pipeline_dance_diffusion import DanceDiffusionPipeline
|
8aa07ddd4f1a5352eb34dda2f5a278192f25ae8e70a8ce848e6eb8054910f4ce | Python | 62 | 1 | from .fmm3d import hfmm3d,lfmm3d,h3ddir,l3ddir,comperr,Output
|
0099a20fbfd36c515c884897c951d79ffe4350926bd5476e43e50809ed9a1b9a | Python | 63 | 3 | from typing import TypeVar
InputSplit = TypeVar("InputSplit")
|
4f5b2c8f16587d7a18126767b7cb407e92e13c312eb6954baffe3af68b280e55 | Python | 63 | 1 | from ldctinv.pretrained.load_pretrained import load_pretrained
|
9352dbdc28def7f14415d4bb772b43b7e79bbf06284ef96ecd510c4c9b45ffca | Python | 63 | 2 | from .datahub import DataHub
from .dictionary import Dictionary |
d9f3caa2d71d3b46b2ad7da7a640a3a6afa05decf7f84350a027b5fe35c70f17 | Python | 63 | 1 | from .equiformer_v2.equiformer_v2_oc20 import EquiformerV2_OC20 |
b54b352926e2823cbaaad077ecdd29f75e677b38614572bade849b7b6b5bdfc0 | Python | 64 | 4 | # ruff: noqa: F401
from . import eval_utils
from . import utils |
3216f623bf6e1b863264a4368a3893536997b81fd577b8314e2b03148af2c3d8 | Python | 66 | 4 | try:
import unittest2 as unittest
except:
import unittest
|
66a5f5569b422849e308ea2022e3b42f76d3516ae70586d158873a539e3f2dd2 | Python | 69 | 3 | r"""Bulk omics I/O helpers (placeholder namespace)."""
__all__ = []
|
9fb8b81c3a4a228a69f457890796bfcd94c8105d3819476500d5b5bb7ef1ed14 | Python | 69 | 1 | __all__ = ["BUM", "cluster", "neuropowermodels", "peakdistribution"]
|
0f325cd841ec22def509820461d8e2640c0e44334df28fe19ca0cfb00b8a3688 | Python | 70 | 2 |
from .articulation import PreferenceArticulator, load_demonstrations
|
61fa05b93add2387440793a967054c9b207b6cb6575df9ce6e04b0ec65d611ba | Python | 70 | 3 | from .decoder import *
from .gcn import *
from .imrpoved_gcn import *
|
8451a7320ed36b997c7e86804975e988872ebf47ce9c7b8bfb72ab65fbe650d6 | Python | 70 | 3 | from .merge_det_results import merge_preds
__all__ = ['merge_preds']
|
ae8fcffcb2596d6c17ba84f37bacc59876bea5cbb9420189995d7d40958c69e6 | Python | 70 | 3 | from .decoder import *
from .tasks import *
from .objectives import *
|
d22b2584bb543f871e19393b6e76353c697e2e43e0b23ef51c16326d4c572d56 | Python | 70 | 3 | from setuptools import setup
setup(setup_requires=["pbr"], pbr=True)
|
fecf24de8e5c433f5c2481c55261ce425962aa7fa085cbe8aa729c85623c8438 | Python | 70 | 4 | r"""
Graph convolution network
"""
from .combnet import CombUnweighted |
7ce0748edba90eed25945e599c9dda2dd6b0941905e9fd32b4fedebcb87d3b3e | Python | 71 | 5 |
from lisa.cli.cli import main
if __name__=="__main__":
main() |
6717be8f27d87155fea13c387f09bbc38a42b48a1c869ca484757ee16c9eb588 | Python | 72 | 2 | # Copyright (c) 2021 Qualcomm Technologies, Inc.
# All Rights Reserved.
|
d236213bacd039bab9f3aa69da3ca5b54d24c37933109acf8d2d3a691b0380a4 | Python | 72 | 4 | from ci.raydepsets.cli import cli
if __name__ == "__main__":
cli()
|
f05755f23b224d052a1934b49b6bb85d093ba8fd0db8b89407849dfa41669253 | Python | 72 | 4 | from .heart import HeartDataset
dataset_dict = {'heart': HeartDataset} |
63659d698fa979332f5f428165817bfe9c31aa059d4df65758cbd45bde40e4b6 | Python | 73 | 4 | from ci.ray_ci.tester import main
if __name__ == "__main__":
main()
|
52c8dba39f3c45ed408e6556444e56b99eba76c68d848c9a56d8fa858df44350 | Python | 74 | 4 | from ci.ray_ci.builder import main
if __name__ == "__main__":
main()
|
8f51cd69aae712ae0cea904be41ca1b3ead30008cd810e1476778b67f7db8bd8 | Python | 74 | 4 | from . import predictPeak
from . import allocation
__version__ = '1.2.0'
|
b611a85ae2d385d9c784c51a6331f4454a5ce8747dfa9af8661b72da4bd4f72c | Python | 74 | 6 | from .tabular import TabularDataset
__all__ = [
"TabularDataset",
]
|
d24d2b982a4ccddea0e232f0a00ab7e6116853793be53517f7c9bb903cfdf7a7 | Python | 75 | 3 | from .batch_pixel_data import BatchPixelData
__all__ = ['BatchPixelData']
|
944fbe4d86c39663b05b324bf69b824d5ac5fdd7462a07eda8942bf286ec17d9 | Python | 77 | 3 | """
This package implements the data storage and manipulation framework.
"""
|
9f7ec081e1a64f68e73b4ed57a6879863a55eb4ddcf9b8c7a8d13dfe70d754c9 | Python | 77 | 4 | from .dffpn import DFFPN
from .ufpn import UFPN
__all__ = ['DFFPN', 'UFPN']
|
f214ccd3aa89efb45a42b2b98688d86b3546cc985b0e946fb473fe4c6818ec9a | Python | 78 | 3 | from hic3defdr.analysis.constructor import HiC3DeFDR
__all__ = ['HiC3DeFDR']
|
f74b31efde2a628c0e8a0c049b69314624d3810cbf1f57fda18c0927bdb454e4 | Python | 78 | 3 | from .TxData import TxData
from .TxGNN import TxGNN
from .TxEval import TxEval |
836f050a5b20bb8e6a29f6be2629e920dcceae15ed8bc449c3aea0d24284b9dd | Python | 80 | 3 | #from samri.examples import functional_connectivity
#functional_connectivity()
|
8998885b3bbdd554112f94cab177df113c0774329cff626a15f3e231edd79a27 | Python | 80 | 3 | from .auxiliaries import *
from .metrics import *
from .training_utils import *
|
399345e824ad6646c87c99f0b9d67cb831d1642ccef320076f8bcbb6eb2e2f2f | Python | 81 | 3 | from .config import Config
from .core import from_dict
from .exceptions import *
|
06fe66f5dfdce45437eafd2d1eb5c89b2a163c562dd4fc1bda24f0e7f62f58ec | Python | 82 | 2 | AGGREGATOR_AGENT_METRIC_PREFIX = "aggregator_agent"
CONSUMER_TAG_KEY = "consumer"
|
2f652a0c589adddb84ca94c050c2f48bdd5467fa819eaad2a8eee37ddc6205ed | Python | 82 | 5 | import rlexp.exp.continual
import rlexp.exp.core
from .core import run_training
|
6279638f28e0127d297f59a2472b9d9c53f0819a67769889745aaa5ebfc442d3 | Python | 82 | 4 |
def unique(list1):
unique_list = (list(set(list1)))
return unique_list
|
8888058ada7b8de1a782b84866514052418aab8ce41542f2d477b44dd699e18a | Python | 82 | 2 | from .gene_graph import gene_graph
from .adjacency_matrix import adjacency_matrix
|
fd4197510592ea7c68e055576bd96d1c97adefb735815affa37ba24b81b1fdf5 | Python | 82 | 2 | from .mel import Mel
from .pipeline_audio_diffusion import AudioDiffusionPipeline
|
1f98d503a8fa0b814387005bef1f13f0b26fb74ef931375b12b3eb600f4dcbad | Python | 84 | 5 | import warnings
warnings.filterwarnings('ignore')
from . import tl
from . import pl |
4bab654171ee1b1afee12715b08b274b6ded3808602556ab54bad74eceba9afa | Python | 84 | 1 | from .NER_processing import nlp, disease_service, chemical_service, genetic_service
|
90c2d5b39ce97168877defe8d81244cd8f67f85c3cef2bfe6abb877d3b97fcea | Python | 84 | 1 | from ._plotting import plot_differentially_flowing_signals, plot_intercellular_flows |
916d08bc4d0c5a306cab0b3eafff1bdc625ae8b76c402c6e05d3f08dad961fbd | Python | 84 | 3 | from .up_sample import UpConvBlock, Upsample
__all__ = ['Upsample', 'UpConvBlock']
|
917b4a079294456bea8384a8e21a317f871c1cc1b05ef65afa638f2533718a61 | Python | 84 | 2 | from .detectors import * # noqa: F401,F403
from .necks import * # noqa: F401,F403
|
ed8a4d348ddaf8190fa6cb8d07701ebe25e4950b43d13fffeb406d7502b6c351 | Python | 84 | 3 | from .basic_image_dataset import BasicImageDataset
__all__ = ['BasicImageDataset']
|
b614453bca6046c040b4cbbaf0cd3f75e68144000efd8d8fa62f3f4cbd408d07 | Python | 85 | 7 | # -*- coding: utf-8 -*-
"""
Created on Mon Jun 3 12:47:13 2024
@author: jpv88
"""
|
2d1c102f39fd3fb662d8fb06e175532a99e8297c52d5f68491a8c20279885753 | Python | 86 | 4 | from palmnet.cli import main
if __name__ == "__main__":
raise SystemExit(main())
|
26a4d3318c77e8dca7f88f1184ef35a39f4bf5fe65068dedeab550546d2e7501 | Python | 88 | 2 | import os
ROOT_DIR = os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir)) |
67910cb1988ed029040f8cba8d4b692635c12e76d366a682ce61a2bfbb929ea2 | Python | 88 | 3 | from .base import *
from .impulse import impulse, impulse_tests
from .simulate import *
|
931c6184c3ab0f9c284f41cc03938d1aed940ed41954409ed835afc2b261c732 | Python | 88 | 2 | from .charmm import EndstateCorrectionCHARMM
from .amber import EndstateCorrectionAMBER
|
cbbc8f67faab12ee8653cbae5e531a75a64bcb7235b5f1c5945e76a28f04317a | Python | 88 | 4 | #!/usr/bin/env python
from .create_gt import create
from .comparison import Comparison
|
b298ca0905bb8cce140d4c3868a1547cf8a0a87d29f6cf3fbd0689b82e5c8f67 | Python | 89 | 3 | r"""
This package contains a collection of low level tools used throughout *mozaik*.
"""
|
d0d75b52eb246fa724cc8e1a221aea69d43a05427270abe2c1d5298216f0f7f2 | Python | 89 | 4 | from imports import *
class Base(BaseTester):
modulepath = 'ngs_mapper.graph_times'
|
2ab32426c18f70c7ffbff97019be4efd1df8abed58ae2eaf1daae05d28fb18e3 | Python | 90 | 5 | #!/usr/bin/env ipython
from caiman.tests.comparison import create_gt
create_gt.create()
|
2ba4bd3c5afb7cc1c16aa57c18725b12494d691e2581e3ad589343b0aca6d64c | Python | 91 | 4 | from .wgcna import *
from .utils import *
from .geneExp import *
from .comparison import *
|
9bdcbcea70aa57ef942c4dee8c3f361accaa59a6cdb8dcfa1860db2606c6f357 | Python | 91 | 5 | from django.apps import AppConfig
class AnnotateConfig(AppConfig):
name = 'annotate'
|
bf473b0c78b32a0f237de96615878c320f6f0da7cabf3a1e9da91ce123e98fce | Python | 91 | 2 | from .alif import alif_forward, alif_recurrent
from .lif import lif_forward, lif_recurrent
|
199f6c7df986665d312b6ca35d917266ba15a5d730996aef1aee90c27117638c | Python | 93 | 5 | # Ultralytics YOLO 🚀, GPL-3.0 license
from . import v8
__all__ = 'v8', # tuple or list
|
3fdf5262a34b863b527e9f1d615e6fe90a2ddd802ff2323c2085c1ddbc7e3187 | Python | 93 | 2 | from .ase_dataset import AseReadDataset
from .ase_dataset_attribute import AseReadDatasetAttr |
b0fefcb56bccdd9fc443ed69bdf54745aec74b1062130422afbe7c227e2ca620 | Python | 93 | 3 | from .edit_data_preprocessor import EditDataPreprocessor
__all__ = ['EditDataPreprocessor']
|
f929b0872a45537460794d95b2dc50f18bd65dedff56c95ed5950d473656b35d | Python | 93 | 3 | from .train import MolTrain
from .predict import MolPredict
from .predictor import UniMolRepr |
682499620334c9063d2587709a7e489993292550431616dce15278a19b1413fc | Python | 94 | 5 | """A file dependency for testing working_dir behavior with Ray Tune."""
def foo():
pass
|
efb7172c3c824bde1944dc090a58b1d9590fc8b63bba1e391b57e97b91e7ec19 | Python | 94 | 2 | from .random_forest import RandomForest, rf_classify
from .adjudicate_sv import adjudicate_SV
|
19d92b96cdcd58dc0300865680d97932c69bf3a9c28ab90479ca3ff07057976d | Python | 95 | 4 | TEST_MODULE_ENVIRONMENT_KEY = "RAY_DASHBOARD_MODULE_TEST"
if __name__ == "__main__":
pass
|
543a3266cf9688ca2d4aea93cb2b5650165accca3ab93940d9cd3bb92806512d | Python | 95 | 1 | from ._utils import get_top_gem_genes,get_top_pyliger_genes,get_top_nmf_genes,get_top_nsf_genes |
f9b93342368a13f9edd7fb0df42a7380737fc13f9fe6799118c1c57267ced0c8 | Python | 95 | 4 | import ray
NIL_NODE_ID = ray.NodeID.nil().hex()
RETRY_GET_ALL_ACTOR_INFO_INTERVAL_SECONDS = 1
|
2d8799f2b9e8b0679a7721735bd671cdf937fec0e4b8b7100650b5e959d4a253 | Python | 96 | 2 | # define the bids root only once in the config
bids_root = '/data/raw/hirsch/RestHoldMove_anon/' |
ebc9578acb6e9001ac4cbd81c6f90aa0de5bc6f44a55d7f1adf2222f48f10dc2 | Python | 96 | 4 | """Join subcellular Visium HD bins into cells"""
__version__ = "0.3.3"
from .bin2cell import *
|
0a63a6645ebe8f90aa93384eaf94b55b7051f811e9ebf208d592cd01cc433d68 | Python | 97 | 9 | # test_main.py
import data_assimilation as da
def test_hello(capfd):
x=2
assert x==2
|
8b6d502d3ac0b77dea14cbb4d0175318aebc34713fb2b311f05a7c8ecb420a7d | Python | 97 | 2 | from .state import State, DenseState
from .variational import Variational, Functional, CombineVs
|
9ec1084238bdc20830fee088f473fe0cf26b68435f5893ea5105daa12dcf31c9 | Python | 97 | 3 | from .dataset_wrappers import DatasetWithGTImageWrapper
__all__ = ['DatasetWithGTImageWrapper']
|
32d5534374a0d008b1e81107d9dccac53d71a018d2a57c72a83fbd691566aecb | Python | 98 | 4 | # Sample Test passing with nose and pytest
def test_pass():
assert True, "dummy sample test"
|
00372594c22ef3cc5ed036186f28e90b3a7f79d96abb0b44b6767cbb78f4ec32 | Python | 99 | 5 | from .tags import TAGS
from .descriptions import DESCRIPTIONS
__all__ = ["TAGS", "DESCRIPTIONS"]
|
a0309db1d08029ddf3918d874d22162d029fbe7d128b9cb3af8e45b1ea8445f5 | Python | 99 | 2 | # Version of deepinterpolation package. Should match the version in setup.py
__version__ = "0.2.0"
|
0346afcc0d0a932b8d541920bcb42484f7cacde1ccad4c6475aa719dc8f50a20 | Python | 100 | 3 | from .external import lack
logger_manager = lack.LoggerManager("Spaco", "Spaco-temp-timer-logger")
|
4e035f6dfe9f33a22363a8dd523f81754519ce8d36d0f29de5ce89a919dd6562 | Python | 100 | 3 | from ray._private.thirdparty.pynvml.pynvml import *
# nvdia-ml-py version
__version__ = "13.580.65"
|
74874f6b08103ee99a2003ee75862461cb1fd6563c081151b6995e3b91c8e4df | Python | 100 | 1 | """The controller module handles all user interaction with the package (console, jupyter, etc.)."""
|
d10666dcda16414ea8ffd7daf180714560a88d8562f33d8545fedb67f5855104 | Python | 100 | 4 | threshold = "100"
SEQ_LEN="800"
QUARTER_SEQ_LEN = int(SEQ_LEN) // 4
HALF_SEQ_LEN = int(SEQ_LEN) // 2 |
cacf894f99c602de3e9878df2dbdcc16005ef0d78b01f996d8688d1945664f9e | Python | 101 | 5 | """
Provides Operators working on single tensors.
"""
from .tensor import np_one_hot, torch_one_hot
|
0f8c6d2109a11a5ed5bcd1f085a3fe04a7d53b0c1f370cea4bd6a6c8c6f2d419 | Python | 102 | 9 | r"""
SLAT (Spatial-Linked Alignment Tool)
"""
from . import viz
from . import model
name = "scSLAT" |
ca1e3c437deb62e46eafa2f05a69c4c0776bffcea66cfde58bf2cb484eb33463 | Python | 102 | 3 | from ray.data._internal.block_batching.block_batching import batch_blocks
__all__ = ["batch_blocks"]
|
fd715fc8959c9c2ec35309edcbd94a1a5fa44e4b18e8297e2a8569e3cd2b93f2 | Python | 103 | 3 | from .visualization_hook import EnhanceDetVisualizationHook
__all__ = ['EnhanceDetVisualizationHook']
|
aa160cefd305e694702990a2cc250cb6d389469e0a95cd236f780bdb0d035c35 | Python | 104 | 6 | def run():
raise Exception("Script failed with exception !")
if __name__ == "__main__":
run()
|
068714f23a5cddf77ba8b94ffc75ba1402c8fd69f6cb9172d6f03a1d9640ef99 | Python | 105 | 5 | """Python port of the MetaboLiteLearner repository."""
__all__ = ["__version__"]
__version__ = "0.1.0"
|
80def8f35dae55523997bd929eebd0910236939deab63fffb2e8ea5669edc58d | Python | 105 | 3 | # -*- coding: utf-8 -*-
__version__ = '2.1.1'
__version_info__ = tuple(map(int, __version__.split(".")))
|
1d110b709bd6bf3f51a71174af4333371a557d5207ef03828ee00d0987fbc46d | Python | 106 | 6 | from setuptools import find_packages, setup
setup(
name="m2snn",
packages=find_packages(),
)
|
d7a07b9c5f377dc7509f6610fb64cf924292244841f02477bdb05b7191becb40 | Python | 106 | 6 | import torch
class Squeezer(torch.nn.Module):
def forward(self, x):
return x.squeeze(dim=-1) |
4824a2ad15148f048a148e5b651f66b2be796a64834d9347f439d635cd0c02a3 | Python | 107 | 4 | from .harmony import Harmony, run_harmony, get_device
from .lisi import compute_lisi
__version__ = '0.2.0' |
7e88a7c6453c54be49797824f9def572676f76c5d1db84f5274107f57669c30f | Python | 107 | 3 | from .nec_network import NEC
from .sf_nec_network import SFNEC
from .replay_buffer import ExperienceReplay
|
872b35b2c8c06839be090e255e5ff7f54a61e56e4c3b41336c9dcc835e17581c | Python | 107 | 3 | __version__ = "1.3.2"
__author__ = "Palantir development team"
__author_email__ = "manu.talanki@gmail.com"
|
6d4dbba95bc269ab098b1b386f610b5e0418e7f75e6b7d894f16cc39cdb2b65a | Python | 108 | 5 | from .wavimgprm import WavimgPrm
from .msaprm import MsaPrm
from .commands import *
__version__ = '0.1.25'
|
a2789da10ed77b428c1c64bce18f623bb515f84ce87979bc67c92d201609764d | Python | 108 | 2 | from .deconvolution import Deconvolution,ScadenDeconvolution
from .simulation import generate_simulated_data |
a7ac95a55d430363e4517a08e091304dc26743e82bd82d5527f29e9efb373474 | Python | 109 | 8 | import abc
class ModelDef:
@abc.abstractmethod
def get_model(self, *args, **kwargs):
pass
|
4720ef96024840f4828e267de29f169920f4f2c54957e1da38e30e26eef86e5d | Python | 111 | 1 | QUALITATIVE_COLORSET = ["#000000", "#E69F00", "#56B4E9", "#009E73","#F0E442", "#0072B2", "#D55E00", "#CC79A7"]
|
167d0e3c497c3805a6b5efe7216b9b680a61c0df7824c708a8f818d79c48e855 | Python | 115 | 4 |
from ._highly_variable_genes import highly_variable_genes
from ._normalization import normalize_pearson_residuals |
b723fc3d7c95a83b89ad5c375a4ecfa584ebebfbb96e034079710f82e070e87e | Python | 115 | 4 | from .lark_hook import LarkHook
from .summarize_hook import SummarizeHook
__all__ = ['LarkHook', 'SummarizeHook']
|
e5ca90896a6c00e7712090ae0831e275c8e27df593fbbc139663646eaf3efc41 | Python | 115 | 5 | from .datasets import *
from .flashes import *
from .moving_bar import *
from .dots import *
from .sintel import *
|
fa52d8f40eea39b1926126972d71c885d503a2839fc87bf093df89d75ff25a03 | Python | 115 | 3 | """ scoreCT: Automated cell type annotation in scRNA-seq data """
from .scorect_api import *
__version__ = '0.0.2'
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.