sha256 stringlengths 64 64 | language stringclasses 27
values | size int32 1 491k | lines int32 1 21.8k | content stringlengths 1 200k |
|---|---|---|---|---|
04b47956faf7178d215aa32173c00e7766d4bab71cdc428993653dc94ceb8ab2 | Python | 55 | 1 | from escargot.prompter.prompter import ESCARGOTPrompter |
99f576f700d470db9ef9b8c40e175a5ed0835c317abc28bafa6903146179bda3 | Python | 55 | 1 | """Modules relating to photogrammetry calculations."""
|
d8d6246d41aac20e423b68fb20ef14cfcf2f33f06907c588a27d3dcb3e54f3ec | Python | 55 | 3 | from yass.deconvolve.run import run
__all__ = ['run']
|
3baf8ccb58cc804902e00e363c5f89e56c8dd57dddad9cf140287080652e0b80 | Python | 56 | 1 | """Contains tests involving CC and family generation"""
|
6c2ae1beccc4c2ed3a8738cc75eeaf853828e8f9d3e03f6ee4d69357d81508c5 | Python | 56 | 3 | """
Compiled fixed-shape tensor-network algorithms.
"""
|
07ed0e0ddce65cd29e8b04f833b31c3027bccb25e515eddcfbc14e365fffd5b9 | Python | 57 | 2 | from .image_loader import *
from .subsample_mean import * |
831b6492848f255e29f09d36379c74e2801c630f7b2e2799758ae640c9e58499 | Python | 57 | 3 | """
Utilities for generating phy configuration files
"""
|
c7eb9d1615d66b91b0bb0e113ac0b726ca135218c520237d3928c0be173ec47e | Python | 57 | 1 | from asap.trainer.trainer import Trainer, make_dataloader |
32441a86e00fbcbe483b69b812c4a0cbbaa1f46f971c2126ec28cecf4a58ea98 | Python | 58 | 3 | from flask_sqlalchemy import SQLAlchemy
db = SQLAlchemy() |
c9f20b4760da6d5a7da94b6683c6d7b5cab245e72436c180d38074fb4b25a502 | Python | 59 | 1 | """Benchmark helpers for full CLI simulation scenarios."""
|
ec0af8bdd4029e733498a4773148db20ab19ac155f1e0770b0965cfe619845ec | Python | 59 | 2 | # tzwin has moved to dateutil.tz.win
from .tz.win import *
|
6077bf467a86e2abe76e9f4caca4fdb2a6ede4471735d70a464b5e5a8a5777e9 | Python | 60 | 3 | from ._mda_viewer import MDAViewer
__all__ = ["MDAViewer"]
|
9a4dfc5d34144970a8ea185b5ec0150bb105f01b94d60f595f9b7cfe3295a9c7 | Python | 60 | 1 | tencent_base_url = "https://quantum.tencent.com/cloud/quk/"
|
b34d87b4c86e46dc0a697ad9b33e3b2deee4943c5b6bbd381d13e10a1536faca | Python | 60 | 3 | from ._preview_viewer import Preview
__all__ = ["Preview"]
|
de74f9dda2517c78f5c1aed6910d70b2bd780b40cabbf3b10595eb755a9678a9 | Python | 60 | 2 | import cedalion.mlutils.cv
import cedalion.mlutils.features
|
f4e08cdd9cd68eab5edbfe18e26a3970b991fbec8313cc95ba679ec3bc4cfcea | Python | 60 | 2 | from .ica_erbm import ICA_ERBM
from .ica_ebm import ICA_EBM
|
980d12b510a52ff9641c9f6b8dd653692a9cebcebe45566c348a775ae62a5d9a | Python | 61 | 4 | from yass.soft_assignment.run import run
__all__ = ['run']
|
023982101c57fcc1fd7ff8d58c818d08524a60261e4847b5f32caf371e2e44a4 | Python | 62 | 1 | """A package that contains models that represent entities."""
|
342c6a59e7496d233933ec2bebd4c40fcc7b297732049d31e6ee3dbe3e2c3e42 | Python | 62 | 3 | from ._npyio_impl import (
__doc__, DataSource, NpzFile
)
|
6838de1b6a28d6fb426a2930b487e68132791eaff34f11b96fd13f755eac3b6a | Python | 62 | 1 | from . import mdoc, file, image, mrc, relion, transformations
|
78627b3b364d4e56ad85f6425f3ce7b3695fd64a590e163035978f627c598e7b | Python | 63 | 2 | from rlign.rlign import Rlign
from rlign.utils import Template
|
9d83b8e4bc3764d6d0abbe5586df3acf32d9e1c5b33f79a5d2bc433e562df3ff | Python | 63 | 4 | import numpy as np
arr = np.array([1])
np.nditer([arr, None])
|
6eef5ddd389fa0a72264572a441bb2815dc64ae4e19d50ff9b620ae1ccfde95b | Python | 64 | 4 | from .distro import main
if __name__ == "__main__":
main()
|
b7dc0607aa283935d782263ae8ad66e81652d422725c7014f04a160d37ba4a19 | Python | 64 | 2 | # This file is protected via CODEOWNERS
__version__ = "1.26.20"
|
090d80174870c9d7204c7c9c302162c99200539ed17194fe4d589dd7b488b15e | Python | 65 | 2 | __all__ = ["eval"]
from pandas.core.computation.eval import eval
|
198550add6097f886c74393536adc298709a5f199056cd8d5f23300994eb51b6 | Python | 65 | 1 | """Contains tests involving (py)HMMer analysis and processing"""
|
fbe3a5f6d5ffc130c235a1e4796d6b3d9420d764e90c15e525dfcf322b491135 | Python | 65 | 1 | from .transformer_encoder import InterpretableTransformerEncoder
|
1dc0ef4b727314efc8ec8524bd79cea9ffe38975a33b89a9a9513c136e6aff35 | Python | 66 | 2 | __anthor__ = """DeepOmics lab"""
__email__ = "yfsheng6@gmail.com"
|
93f66aaafefb558a69dcd4c443a42a12021e11371aa7a5df3d128c7e068bbfd7 | Python | 66 | 5 | __all__ = ['normalization']
from . import (
normalization,
)
|
c02366e224c91a651c3d78fde3456bc187706cbafccdf1aa4c30746e76fea86f | Python | 67 | 3 | from .layers import *
from .utils import *
from .wrappers import *
|
3af6ce7e21ffa60e4d95b92516fd7df7c97d0b524b4c78e54f021aa945a3d2b6 | Python | 68 | 7 | import numpy as np
import sys
import pylab as pl
_, f = sys.argv
|
45b694880334c2d2f4e67a11a33209d6de0e83a8b624ebbf26eb56c6a44b64e1 | Python | 68 | 8 | """
Compute RF
"""
from yass.rf.run import run
__all__ = ['run']
|
00802e742f5fefce24704cee868f0689753adef8f64e1462b4ace797b22692ae | Python | 69 | 3 | from pandas.io.sas.sasreader import read_sas
__all__ = ["read_sas"]
|
1921830c73b7e16bb46019bfc1e0935c7b534afc425b79a2b98328f57154f934 | Python | 69 | 4 | # __init__.py
# GUI version adapted from AIMS:
__version__ = "0.9.3" |
32a5216676e6f8af1099f06f949ba862217e0d66e78cde8a11b14a5c1a59306f | Python | 69 | 3 | from .task import AtomisticTaskFixed
__all__ = [AtomisticTaskFixed]
|
f2898a5cdbd746cf53a7d7b43a78ae3d69cf999dbfda2eb562f329a896804e59 | Python | 69 | 3 | from . import acfunc, tau
__all__ = ["acfunc", "tau", "spike_utils"] |
3873882daaddccf4bc3fdc516cc85cdf3e5f9a42851fe711dc03a6e4bbf2fb15 | Python | 70 | 5 | OUT_FORMAT_CONVERSION = {
"t": "",
"b": "b",
"u": "bu",
}
|
bec297dbaf7a6c33e0e812b5453eaf2406e3720805d4f766341e867ca0f20d2e | Python | 71 | 9 | """
run merge
"""
from yass.merge.run import run
__all__ = ['run']
|
dcb24d4dec13d97b4c0d14ebf172027e0a03a1e05fdd3c2f4643e6123a7ee983 | Python | 71 | 3 | from .escn import eSCN, eSCNLightning
__all__ = [eSCN, eSCNLightning]
|
0d397b1b5cb0fc358a25d67b5d493978cf27a8df9edbc5f19f3e00b179e8fbc6 | Python | 72 | 1 | """Contains tests for modules that parse genbank files and load data"""
|
5357e83d806bb761dfd7c5928d35e45c43db397b8767a676827c708ecf8ce7dc | Python | 72 | 2 | from .train import cryoCARE_train
from .predict import cryoCARE_predict
|
b7442e0900852f518d685ed5cacc0c92b967b074a86fb40d24175780ea9a5d02 | Python | 72 | 8 | """
Compute RF
"""
from yass.visual.run import run
__all__ = ['run']
|
f04144e37829507c4dfcadfd6ae9facb48583ba8dee4da71e355e80e2f28caa4 | Python | 73 | 3 | from . import _version
__version__ = _version.get_versions()['version']
|
146e87018476165ee4e77bc3f08275f7246fd8ee5b96d6cb8e968fad7a6d5696 | Python | 75 | 3 | from .distancefrag import DistanceFragment
__all__ = ["DistanceFragment"]
|
5878b30bc5331259931f7eb8d738e73132d41e63f6ae58962d36a580753abcc0 | Python | 75 | 3 | from importlib.metadata import version
__version__ = version(__package__)
|
1ea83278922a9ae197ae308c2e41ab3f71bf49e2e94ae849fce2eb260e3cafcf | Python | 76 | 2 | import importlib.metadata
__version__ = importlib.metadata.version('sinto')
|
2b6a4d71361701ef5d9e053f5334a66b8d8e52e1dccc3aa6e28dc2456e563952 | Python | 76 | 3 | from .painn import PaiNN, PaiNNLightning
__all__ = [PaiNN, PaiNNLightning]
|
b01787f31268145864bb1f4ca1ca5a8e0d82274aaa217035b52652e403a60d7a | Python | 76 | 3 | from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)
|
02dc57e10d7a9c34d0d34562042bd6fd2a763694a507b6191d22af0d6f796ce0 | Python | 77 | 1 | from . import evaluation, gcn_model, protein_graph, run_model, model_helpers
|
a86dd4821d87ac9f8ca20a4945015fefcddd0527a52f64e70da7cc67e738bcdc | Python | 77 | 7 | """
Detecting spikes
"""
from yass.detect.run import run
__all__ = ['run']
|
2c2c77bc0635e8b039cdde9b65e49f8769159cec6f8a5b18c1c46bbd28161109 | Python | 79 | 2 | __version__="2.2.3"
__git_version__="0691c5cf90477d3503834d983f69350f250a6ff7"
|
5e2a1f2554f538fd9e50541d755bb04c9f977db1d2e59868dd505cad6799db56 | Python | 79 | 7 | """
Clustering spikes
"""
from yass.cluster.run import run
__all__ = ['run']
|
7c6f78511bdce77cd0025a8b3d0852c05fb0c83c985f8d4ec168f64d7e0cefbe | Python | 79 | 1 | """Each script is a command callable when using the command line interface."""
|
3d2438ae92f4746e9ffaa1f837b1fe803f6281091d1f31f8c95643716f257d9a | Python | 80 | 5 | from .cli import main
if __name__ == "__main__":
raise SystemExit(main())
|
5a25266d4173336f70de129f86e2b15549373e9a831625dfe336bd83472da590 | Python | 80 | 2 | # prerun to hack base abstract backend
from .backend_factory import get_backend
|
e912e89403e837e2d213cee4da4cfa0794052a282debd54adb2c6870d178a249 | Python | 80 | 3 | from .test_base import get_adata, TestBase
__all__ = ["get_adata", "TestBase"]
|
09df95021baf04404e176d23018c4e7c14951a9cd5fd89bac17413c20812fbf9 | Python | 81 | 1 | raise ModuleNotFoundError("Sorry PyTorch, but our NumPy is in the other folder")
|
b48707b61cad037da2bacac30a4e44e1740b84247c678645ec78cd50c93462e6 | Python | 81 | 1 | from cedalion.sigdecomp.multimodal.utils import validate_time_shifts, standardize |
088040f470a14fe4c2aabf8734b1dbf1db556dd72de72b0579b4d576245e4286 | Python | 82 | 3 | from ._arduino_led_widget import ArduinoLedWidget
__all__ = ["ArduinoLedWidget"]
|
383a5f596d2e86b559bd4149ae3dd3d1701639b4def2ec33cae930b86c8faf40 | Python | 82 | 3 | """
code package: initialization for core models and data processing modules.
"""
|
54647933c272c3c202e12e97101f4d37f1942d3249423ff542b22d222fc12623 | Python | 82 | 3 | from ._stride_tricks_impl import (
__doc__, as_strided, sliding_window_view
)
|
625db1b81baae03fc2974e9364e791c9ec05b349cf2422e036b98db62b949920 | Python | 82 | 5 | """
Adaptive CNN for Influenza Antigen Prediction
"""
__version__ = '1.0.0'
|
3560a7090296e9accc98149639b1d5ec6b11f761d79df189bcfa5dee44992329 | Python | 83 | 8 | """
run post process
"""
from yass.postprocess.run import run
__all__ = ['run']
|
3d725cf025d8020aaf500f7ee04ce5358698134267392ab000b13f558b85b467 | Python | 83 | 3 | from ._is_difficult_word import is_difficult_word
__all__ = ["is_difficult_word"]
|
c361bf9e9926aa6e6fad681db3c57a1aeb1e8668b56d16e2a82c6c97dc8e8e8c | Python | 83 | 2 | from numpy._core.records import __all__, __doc__
from numpy._core.records import *
|
fa14f51d8a5bb302e4456b3089e250c00627ef6200c2e692080e52d6c7523cc9 | Python | 83 | 2 | from numpy._core.strings import __all__, __doc__
from numpy._core.strings import *
|
ce2aaa86b2c63cfacb6216e84af76ddbe98cfffbe365345e2bbbd20aaeb20152 | Python | 85 | 6 | def main():
print("Hello from amr-gnn!")
if __name__ == "__main__":
main()
|
44634eb9f1ac7dad4d8e72058fc8e27a324a48a1f6dd5320a7d2c0d2aa81c8b3 | Python | 86 | 3 | from ._remove_punctuation import remove_punctuation
__all__ = ["remove_punctuation"]
|
94cd2ffe51cd2be4c0933d96f76362ab19dcdfee4c47a9a2e66fb507317cb0e9 | Python | 86 | 3 | from yass.config.config import FrozenJSON, Config
__all__ = ['FrozenJSON', 'Config']
|
6747d68bfe1c732b9f25a81f440224b475544a028f0a42f20bb8766bd39794b8 | Python | 88 | 6 | def main():
print("Hello from preprocess!")
if __name__ == "__main__":
main()
|
071ba1d856d1108b3cac89b99f5ac20f465f1b962469f303d0a860c936018357 | Python | 89 | 4 |
def normalize_x_sf(df, scale=1e4):
sf = df.sum(axis=0) / scale
return sf.values
|
de4908be68cb6107797dff9e998f25f36ae9bfd9b031974cda44cb67db0d7c0e | Python | 89 | 4 | from . import counts
from . import readout_mitigation
rem = readout_mitigation # alias
|
b62d6b8691a2a7a594760b1819e78897d8b5b00fcdc0219860fee1edcfa16d01 | Python | 90 | 6 | #!/usr/bin/env python3
def test():
print("Successfully installed stereoscope CLI")
|
01322ad64ef635ceb44de4026d8436e07436ec676b6b17504cac7d65edf56363 | Python | 91 | 2 | from .odeint import odeint, odeint_dense, odeint_event
from .adjoint import odeint_adjoint
|
6e010487fe7745d3ba0704e15f71599c97413b7eb35a2aa49b6c2710c5986e0f | Python | 91 | 2 | from asap.snv.data_loader import make_pcawg_df
from asap.snv.predict import add_predictions |
79e59c54dfe2627af3989540af71cc95cd4b930c00325f2b20e9f5ffa6b36b81 | Python | 91 | 2 | from escargot.vector_db.azure_embedding import *
from escargot.vector_db.weaviate import *
|
df84171c1a56a5952889bf36662fe8ee7feeaee9606291031d759e0a5a379e44 | Python | 92 | 2 | from .cli_fiducials import fiducials_cli
from .cli_patch_tracking import patch_tracking_cli
|
586a449e0fa5b072b15259ae00d63c84a0a5dd90badb61d8480167a5feec8141 | Python | 93 | 2 | from numpy._core.defchararray import __all__, __doc__
from numpy._core.defchararray import *
|
5a1ea9c22b61a80449da34dcf9b04b05c714ea892fe4144c5f20015ea2be8122 | Python | 94 | 5 | """MDA widgets."""
from ._mda_widget import MDAWidget_ as MDAWidget
__all__ = ["MDAWidget"]
|
8d691a607324e2820f4920442b96cb31b3bfaab932366fdc445c7e0f5ebedcab | Python | 94 | 4 | from .core import contents, where
__all__ = ["contents", "where"]
__version__ = "2025.10.05"
|
d89364720419bb0238f0c3af0d478f2c69cff56f71fe6f528fbcc8b1798a3c3f | Python | 94 | 5 | import typer
cli = typer.Typer(name='relion_tomo_align_tilt_series', add_completion=False)
|
b3112e962f52d59ac363e9a5637f74c47b4e546d9e4ea200687e9c9424d16b30 | Python | 95 | 7 | # -*- coding: utf-8 -*-
"""
Created on Wed May 28 15:01:28 2025
@author: jkosnoff
"""
|
1ee2eb7396a985385090b8d4dbfd7d2a0185697c0a39f4b35ded29db1326f192 | Python | 96 | 6 | import numpy as np
array = np.array([1, 2])
# The @ operator is not in python 2
array @ array
|
22ad34bc35568dcc69f3d54e00c81c8d98a559262cc75ebc00937c272d651bc5 | Python | 97 | 2 | # This allows doing relative imports from the tests directory,
# e.g. `from .helpers import ...`
|
eb172d192f9031560bbd0edf626ee864e16763419a31e4247751492f4963ff1f | Python | 97 | 2 | from cedalion.sigdecomp.unimodal import ica_ebm
from cedalion.sigdecomp.unimodal import ica_erbm
|
f8c62a071b23a3a120538c1e84c2c53fd42ecde534231bc219b379acbc00f78d | Python | 97 | 1 | from cedalion.sigdecomp.multimodal.mspoc import mSPoC, temporal_embedding, get_orthonormal_matrix |
2a657b679944daeca36c5c8a3d6c839d89da0c0c3312bfeebba59a8fa4047ad1 | Python | 99 | 3 | raise DeprecationWarning(
"Functions from cedalion.plots have been moved into cedalion.vis."
)
|
fa4927de64990e75428b530bf664a8a67b1602afd2db27582ae661c39328be42 | Python | 99 | 4 | from .preprocessor import *
from .features import *
from .scaling import *
from .sequence import *
|
221a6447727d4d10aad0aa957a29688f68853455db74b99600839deede3fed21 | Python | 101 | 4 | import typer
CLI_NAME = 'relion_tomo_import'
cli = typer.Typer(name=CLI_NAME, add_completion=False)
|
47a40055488e0d24465c2d7539b374ed259499c37919c1028b63e4ac1d6fb2f2 | Python | 102 | 4 | import typer
CLI_NAME = 'relion_tomo_denoise'
cli = typer.Typer(name=CLI_NAME, add_completion=False)
|
d318132e8cdf69b79b62d709b43742e50917e4855411abe2a83509261e185459 | Python | 102 | 5 | from .default_styles import DEFAULT_STYLES
from .theme import Theme
DEFAULT = Theme(DEFAULT_STYLES)
|
f26f6521b851b2c9db1ae05e41403ebcd48d6cc78d8eef50fcf5279cd7ea3985 | Python | 105 | 3 | #
# This file is part of gunicorn released under the MIT license.
# See the NOTICE for more information.
|
301869b6f89fcd9ef48d5ef21a555480b9a296e7a9539f9ed9f94effda134bd2 | Python | 106 | 2 | from dp5.run.load_nmr_files import find_nmr_files
from dp5.run.mol_file_preparation import prepare_inputs
|
7632fbd85223f27d7dee297454f58e9dea4146ca4a8d2f7a35882b97cb96072f | Python | 106 | 5 | """
ZX-calculus based simulation and optimization
"""
from .stabilizertcircuit import StabilizerTCircuit
|
af4a9eb57a0a0eec1f141a24161f3e1344630a6164d573f9cec848757fd23f49 | Python | 107 | 5 | """Initialization code for the cali.gui package."""
from ._cali_gui import CaliGui
__all__ = ["CaliGui"]
|
39c8fa32ad662d174544d7dc4276b2fba6d438430df6f399cc2bd778628f6a0e | Python | 108 | 4 | from ._mda_viewer import MDAViewer
from ._preview_viewer import Preview
__all__ = ["MDAViewer", "Preview"]
|
3c392ad3467d91d6e83c82b9a0b97eabf9bf17fd46c39d39464ebd35109aac6f | Python | 109 | 5 | from typing import Dict
from .tilt_series import GuiTiltSeries
GuiTiltSeriesSet = Dict[str, GuiTiltSeries]
|
41ab5f695fd28e52d062b567e5ffbe6ad688850606e47bf47360e03846b6cd1c | Python | 109 | 7 | """
Created on Aug 19, 2024
Calculate TEP regression score as index for TEP variability
@author: mning
"""
|
10abb264aef5cc8b28343ddb3183156d1c4fece28feb06e3d777cc76b13a74d4 | Python | 110 | 6 | from diptest import dip
import numpy as np
def test_can_run_diptest():
assert dip(np.random.rand(1000))
|
3b6e062c10ac0a0c7f6fc1354e6279268647717df8629181e8fb25032dc176a8 | Python | 112 | 3 | from .graphormer_3d import Graphormer3D, Graphormer3DLightning
__all__ = [Graphormer3D, Graphormer3DLightning]
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.