sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
a20a769b9fdd93b62740f61e884731768b7a5ef40c410d06b3fb12989b471cff | Python | 80 | 3 | class TestDoesNotPredicate:
def test_does_not_predicate(self):
pass
|
d7f11c49c99992d8e33fa03f9978baa18c33441f4faf96d1e632a8252d6431dd | Python | 80 | 3 | class TestOutlineImageName:
def test_outline_image_name(self):
pass
|
09cb784128922f92f925dac02c65dcc304bbe11ae9405dbb0ae05c7d2efcf11e | Python | 82 | 3 | class TestExternalImageName:
def test_external_image_name(self):
pass
|
59310a8cb2613643ee436e38a821c8f8f93a0f571775b19f8ef51741a8477014 | Python | 83 | 2 | from .validate import Validate
from .subapp import AffineValidation, DWIValidation
|
76e508cd628681037d0f9b46c902ab3864f1df11b33f3ffaae7972eaff12113c | Python | 84 | 3 | import sys
print('Location: %s' % sys.executable)
print('Version: %s' % sys.version) |
d801306fefe0bfcb572f2b05fca0f36fe599979c5bdb3ab14510a26f4b24f2a9 | Python | 84 | 5 | from ...utilities.zmq.communicable.reply import Reply
class Work(Reply):
pass
|
ea732192b47914c20c1dd072e0597cd3258f7b1a836da9b21d741bc4a86b20f0 | Python | 84 | 3 | class TestDeleteSettingEvent:
def test_delete_setting_event(self):
pass
|
2d60e6b3b8922757b0c78b063e3d2437e740ffbebe494581bb539f546221179a | Python | 86 | 2 | from .Analysis_Set import Analysis_Set
from .Sequence_Library import Sequence_Library
|
788e114e2b1fb40f3b773ade52cf824758a949019960d076ead4486d1dec0ed7 | Python | 86 | 3 | class TestRemoveSettingButton:
def test_remove_setting_button(self):
pass
|
79e2ea08b87d7918d83282b9c7bd06ff1b9d073d505860af6d581081299e6f96 | Python | 86 | 3 | class TestCropImageSubscriber:
def test_crop_image_subscriber(self):
pass
|
7aa4ca934d182b4e03c381c3283602bdd344e52f5f8c4e3d4ef05e4deb91d769 | Python | 86 | 5 | """Entrypoint for flask"""
from afidsvalidator import create_app
app = create_app()
|
96931452277708c96e0642a63eb80f461559e37505af867fe15ce54d03e1667c | Python | 86 | 5 | from ...utilities.zmq.communicable.reply import Reply
class NoWork(Reply):
pass
|
9bc5abb1b8877c00570e1d1c0351588a577be30780f80f7c5ca301abb169ad14 | Python | 86 | 3 | class TestLabelListSubscriber:
def test_label_list_subscriber(self):
pass
|
a4bdb540dbb7bbe31896cd92647eafb7b61b611cf792ce06ce73ac0c7155ba51 | Python | 86 | 3 | class TestImageListSubscriber:
def test_image_list_subscriber(self):
pass
|
c5d82c9e1ea7926ea0d68c07a88e74e12a30ebd178b72dd94b6c3b1e577721ef | Python | 86 | 3 | from ._lock_status_reply import *
from ._reply import *
from ._upstream_exit import *
|
e337e01346599093b176f5a76b3e2253d77e4e53bcf4883eaecc3a42fec3063a | Python | 86 | 3 | class TestFileImageSubscriber:
def test_file_image_subscriber(self):
pass
|
ff9929104b3eb5c771d498b7d3cb6ef5108bb6cad554359c0ed4b899837d4417 | Python | 86 | 3 | from .csd import CSD, FiberResponse
from .diamond import Diamond
from .dti import DTI
|
229feed417960ff5aa9db43b42db1550dd6a217b43fe1df39456c43ee38acd27 | Python | 87 | 4 | from setuptools import setup, find_packages
setup(name='popoff',
version="1.0")
|
31c4499b30fb075d303b6078fbd2b80de9f43cd296c4aa9ac910705fd23599ab | Python | 91 | 1 | from .deepmind_distances import compute_average_surface_distance, compute_surface_distances |
88f9247012e72fe85bcbbd155748d004ad9e104cd8d1d2142c3ea15fb31b9565 | Python | 91 | 3 | from .builder import build_models, build_losses
__all__ = ['build_models', 'build_losses'] |
8b98d963c0ed2148efa2bccf27cf5afcc97aff3a9b11a50512fee226e83f5b23 | Python | 91 | 5 | from ...utilities.zmq.communicable.reply import Reply
class Interaction(Reply):
pass
|
2257dce9f2dfc5311d432622b1ca9a9ca1ab831b7bf8d9d1b68ba62ecb4d02ec | Python | 93 | 6 | import os
def ensure_dir(path):
if not os.path.exists(path):
os.makedirs(path)
|
9d28aa3da755e7fe6078e76ec62b0877b434d1e70b7aaf88813804a6d88a96a2 | Python | 93 | 3 | from setuptools import setup, find_packages
setup(name="VAE_Ly6", packages=find_packages())
|
f7d6d70cb2c19cef38bf072d89c6e519f318d7750d7bda2f248f23a9d2bd6624 | Python | 93 | 3 | from ._analysis_request import *
from ._lock_status_request import *
from ._request import *
|
8438d3db9f59fd0f9e1b7b9b657977e1611104c8a61d3bd06699e60db37fbde0 | Python | 94 | 3 | # Just import from pytorch now, custom if necessay.
from torch.optim import SGD, Adam, AdamW
|
ef7d432a82c3302ff27305b51429cc0cf845100236d5eaf15c086d414a400bca | Python | 94 | 3 | class TestDispositionChangedEvent:
def test_disposition_changed_event(self):
pass
|
a04bcceae63f80047de6fb2f3d7de8260e24a0e3d0008a996d0aeb85daf10a56 | Python | 95 | 3 | class TestAfterChangeSettingEvent:
def test_after_change_setting_event(self):
pass
|
f85ee59240c6704ae24cf1902d0797b9e6072c4b74f3394baa21d8030b89bf4c | Python | 95 | 6 | from .attention import SepFormer, SepFormer2
__all__ = [
"SepFormer",
"SepFormer2",
]
|
22402a8cc8da45db28636697c39fdd2c8d62458a82c2f70dc02584a56359acde | Python | 96 | 5 | from enum import Enum
class Method(str, Enum):
DIVIDE = "Divide"
SUBTRACT = "Subtract"
|
4d2396ac44de13de3454cae470406fb7ef8efc07e735b0a4c47f6924f19cd739 | Python | 96 | 3 | dependencies = ['torch']
import timm
globals().update(timm.models._registry._model_entrypoints)
|
a9c6551215a372dc858b2b7d42ccf41e44d3fd86a5ebaf0d3bbeae3b0b23ffd1 | Python | 97 | 5 | from ...utilities.zmq.communicable.reply import Reply
class DictionaryRequest(Reply):
pass
|
cf72371c704ea2aae9bf58084bd58dc6ed9de05732c84ec6287fc896a4d1479c | Python | 98 | 2 | from .histogram_matching import histogram_matching
from .stain_normalizer import stain_normalizer
|
fc9ed52401a84dc49832de5807f3a5fc96495e44a3d6c86f519a48a8de01e9ec | Python | 98 | 2 | from ._disposition_changed_event import DispositionChangedEvent
from ._workspace import Workspace
|
61d0c0f53418793c664f3d5135a98b4b8e3dfbea1deb2411a1d647e7c078ea68 | Python | 99 | 6 | from unittest import TestCase
class Test(TestCase):
def test_dict_to_csv(self):
pass
|
a06c2ae8fa3427e33f5b5250fed30d0fe8df4433ecd3fecfc4abd3961b51b4ac | Python | 99 | 3 | class TestImageSetChannelDescriptor:
def test_image_set_channel_descriptor(self):
pass
|
f45069478dfd49bb8f87ac266b05f20e44dcd23ae4edb11f9716cad5cc31547f | Python | 99 | 3 | from .builder import build_optimizers, build_runner
__all__ = ['build_optimizers', 'build_runner'] |
1718c3ee8b74442ceb5fb9b9c40bb844d6048fabafc2b829b6db47e7e2355783 | Python | 100 | 6 | class TestURL:
def test_is_url(self):
pass
def test_test_valid(self):
pass
|
4a6106cc26dce665f18f296603d5c4e0f5d97669247ce8eb121e3bddc59302f0 | Python | 100 | 4 | """
Exceptions for errors in GANDLF, to be used in the code later.
Just a placeholder for now.
"""
|
64fcbdae49c3093f463ede9190f2b49211dc1c39dba9032cb667a15202e3bf7c | Python | 100 | 2 | from ._image_segmentation import ImageSegmentation
from ._object_processing import ObjectProcessing
|
bf2cd4d3fc7aa4aa57f725f1f446d83fc0adb050f4183bcf7a813c3991bb082d | Python | 101 | 4 | from .dataset_util import *
from .io_handler import *
from .model_util import *
from .utils import *
|
ce04ac3579e07088fafdbaf1c52940e6bf44be7fea4c68b86b118f6b61e0625d | Python | 101 | 3 | from ._choice import Choice
from ._colormap import Colormap
from ._custom_choice import CustomChoice
|
3a25c97978bb56a5025f9e79d6c440d1ba869f25b1928dbe68d651b6def6e51a | Python | 102 | 4 | __version__ = "2.0.0"
from ._widget_load import LoadAtlas
from ._widget_register import RegisterSc3D
|
9d8a863d26b4c1a340711ee2e375ee4aecfb844f441e5ac3a6914d45580bd4c2 | Python | 102 | 6 | # -*- coding: utf-8 -*-
"""
Visualization
"""
# import project config.py
import imgclas.config as cfg
|
28515184f5b30b0b04d4e2f36872d218f837a62f34b6922e0f4c00b556e60f24 | Python | 103 | 4 | class PollTimeoutException(Exception):
"""Exception issued by a timeout from polling """
pass
|
2a2815fabc0fe3b7cb4c29ab10911d37a86ace7e118109e18ceb790ed5a2f57f | Python | 103 | 4 | from . import default
from . import regularization
from . import customization
from . import exp_replay |
f7bc071684ad79988ca236135eb26875eafca6122ef2909e86063f572d76aa7e | Python | 103 | 3 | class TestObjectSubscriberMultiChoice:
def test_object_subscriber_multi_choice(self):
pass
|
078f288bb03fde4b65d44618422f01d9f8229026ca481bb8d03f4b8467abc95d | Python | 104 | 7 | # tests
#from DT_for_WDN_leak_localization import hello
def test_(capfd):
x = 2
assert x == 2
|
9bef67799cb42ac5262b2def2d71b35c215e37a9e2de830227a8927d702f8687 | Python | 105 | 3 | from ._object_set import ObjectSet
from ._objects import Objects
from ._segmentation import Segmentation
|
a3d47d236769b1dd293ca7fbc7e89d013b7979a761a085f4d198faa7c214858b | Python | 105 | 5 | from .ademamix import ademamix_wrapper
from .lion import lion_wrapper
from .adopt import adopt_wrapper
|
8d96e8adcd69d1baf8a55f0c5f802f9be5cc39189571a3816ead84c3d43e0072 | Python | 106 | 5 | from ...utilities.zmq.communicable.request import AnalysisRequest
class Work(AnalysisRequest):
pass
|
bad030868a6f5e138f31f2acb3dd9bf2811c4989abd3906616b938ea69b55f2b | Python | 106 | 5 | from ...utilities.zmq.communicable.reply import UpstreamExit
class ServerExited(UpstreamExit):
pass
|
cc7efd411fe9788b15f47bb64b4adedda2b9e63c53f4552c08da91e3351ecab4 | Python | 106 | 2 | from ._integer_range import IntegerRange
from ._integer_or_unbounded_range import IntegerOrUnboundedRange
|
66a1135c6db979690fc5fa7ba069749bc2676b3679bcb2a27b23acaf9e964a30 | Python | 107 | 5 | import pandas as pd
def read_pickle_file(file):
pickle_data = pd.read_pickle(file)
return pickle_data
|
85f945c940bf7cab46d04193bb0782aa35ce4de3181db40b36707ce8e8b39336 | Python | 107 | 5 | # -*- coding: utf-8 -*-
"""
Implementations of optical flow methods."""
from .interface import get_method
|
ee5d9ec291d186fd04ad0bf01a2ee27dbf4c64e5f68b0bd2fadb51999a593fd4 | Python | 107 | 3 | class DispositionChangedEvent:
def __init__(self, disposition):
self.disposition = disposition
|
de703da61b81b0d4340d1c6eb5c70d38e08eb11756b51625b2fec55b929e63c5 | Python | 108 | 4 |
from torch.nn import CrossEntropyLoss, L1Loss, MSELoss
__all__ = ['CrossEntropyLoss', 'L1Loss', 'MSELoss'] |
19f4dad69b80861d24aa227c85f5a1cfda66f8dd1d670e29bd900ad847cd7be2 | Python | 109 | 6 | DIRBROWSE = "Browse"
FILEBROWSE = "FileBrowse"
FONT = "Font"
COLOR = "Color"
CHOICE = "Choice"
TEXT = "Text"
|
4aa9f089f1e90eda9c9b50069bf45997db15ccd0e2bfb618ec6a388c15092705 | Python | 109 | 5 | """PTSA - The Python Time-Series Analysis toolbox."""
__version__: str = "3.0.6"
__all__ = ["__version__"]
|
db9646f22448c0ab43c3f4928f89861608b66c9a5c506c2e952d6024b3ab43fc | Python | 109 | 5 | from ...utilities.zmq.communicable.request import AnalysisRequest
class Display(AnalysisRequest):
pass
|
54fc21acf78caabe34e437ae067479bf7bd289b4ce068337ee9104add806c7c2 | Python | 110 | 6 | class TestFloat:
def test_str_to_value(self):
pass
def test_value_to_str(self):
pass
|
8b01dbb25f761d4a41fad7eac3113a0275fae55ebf3647dbee73983abb04ef7c | Python | 110 | 3 | class TestImageNameSubscriberMultiChoice:
def test_image_name_subscriber_multi_choice(self):
pass
|
f73d15ddfad5bf61cca4b8a007105931acc9eefc5cb66cc5f1680c7a230eac37 | Python | 111 | 4 | from .eddy_params import VisualizeEddyParameters
from .gif_anim import GifAnimator
from .mosaic import Mosaic
|
2c1e962cd7c45c542e92e03d9acd501510b0d94da28f1dbf768312df8234eade | Python | 112 | 5 | from ...utilities.zmq.communicable.request import AnalysisRequest
class OmeroLogin(AnalysisRequest):
pass
|
a16763c2ce725a5f517a11057529e384dba39d8ea2beeac6a217bf9dcf7e3d6e | Python | 112 | 6 | class TestInteger:
def test_str_to_value(self):
pass
def test_value_to_str(self):
pass
|
f19ab5aa26d9b4d2fb5f691a474c8d2e80778f5cfda7e328b7327f7dcb560281 | Python | 112 | 5 | #!/usr/bin/env python3
# -*- coding: UTF-8 -*-
from .version import __version__
version = __version__ # alias
|
03eecaebbc7f74a92ac3fd9ad138c155dbfdd9798d4619d0a6a36099abdee3b4 | Python | 113 | 6 | class TestCustomChoice:
def test_get_choices(self):
pass
def test_set_value(self):
pass
|
076849248f6bb269f4c610b0d2e4ff9f69db7b4006b4d3562841da2f852e6bb8 | Python | 113 | 6 | class TestName:
def test_get_group(self):
pass
def test_provided_attributes(self):
pass
|
12b44ad535065d06e497e7ab19e9c7a8d22257fe2fb35e92082da74414c55db2 | Python | 113 | 5 | from ...utilities.zmq.communicable.request import AnalysisRequest
class Interaction(AnalysisRequest):
pass
|
a9ae0da859c6ab0899335a0cb6a6ac2663c2ef1770cd5dc7fcf771a2859c9dab | Python | 113 | 6 | class TestFilePredicate:
def test_fn_filter(self):
pass
def test_test_valid(self):
pass
|
0237f082de999292f55967784662d7cf98232dc29023f89f9bbd880571036004 | Python | 114 | 4 | from ._impl import odeint
from ._impl import odeint_adjoint
from ._impl import odeint_event
__version__ = "0.2.3"
|
151631173c44ef1ab3a5b7a61dbb18c525a21c939aa4a98aecfdec80f1c1e6d0 | Python | 114 | 5 | from cellprofiler_core.utilities.zmq.communicable.reply._reply import Reply
class UpstreamExit(Reply):
pass
|
1b011a0547024674338f0f8aba8bbb6c871e7f7bc93f72e36c0c50d5e4043dd7 | Python | 115 | 6 | class TestCallbackImage:
def test_provide_image(self):
pass
def test_get_name(self):
pass
|
22c09b8cfb5d2cd42e1fee0d7d8cec53aba851f18fd441137e898357cbc8ba3c | Python | 115 | 4 | from ._float import Float
from ._number import Number
from .integer import Integer
from .integer import OddInteger
|
27b713896d8a8b99abcc5234ed122f7fcd37b44dc8757b669997ff0d2e3164f5 | Python | 115 | 6 | class TestFloatRange:
def test_str_to_value(self):
pass
def test_value_to_str(self):
pass
|
9b7456eaa934c08c89f279ac25bfaeb788b8c72d686b669dac530be6502d7182 | Python | 115 | 5 | from ...utilities.zmq.communicable.request import AnalysisRequest
class DebugComplete(AnalysisRequest):
pass
|
b8a4acc3e882f7060c257d5791fb0e5073c13a2960a35e18d461abf56300fc3c | Python | 115 | 6 | from ._event import Event
class FileWalkEnded(Event):
def event_type(self):
return "File walk ended"
|
587906507158c5ceece47f671c06f2f845c77b806b7759995a3512b16780c7d4 | Python | 116 | 5 | from ...utilities.zmq.communicable.request import AnalysisRequest
class AnalysisCancel(AnalysisRequest):
pass
|
7d5bfd5b79ee4e202a0dc9df6742b6685af54182c6ff8fa0dc10b27c9f420f92 | Python | 116 | 3 | class TemplateMeasurementFormat(str):
BRANCHES = "Skeleton_Branches_%s"
ENDPOINTS = "Skeleton_Endpoints_%s"
|
e80b4ecd66e1190dbc8b1d36c204b49869e2e082b56b09fbaae25a6227fa03c8 | Python | 116 | 8 | #! /usr/bin/python
#-*-coding: utf-8 -*-
from .deepevent import main
if __name__ == '__main__':
main()
|
44da8d75aaf37dececffe78093bb5c5a3b9093e6aa9c0b5d594081e8c00432a3 | Python | 117 | 6 | class TestIntegerRange:
def test_str_to_value(self):
pass
def test_value_to_str(self):
pass
|
b222ec4514984ec5c9a1f729c57ad25589711ad66c8acc2b22c592b78ad93096 | Python | 117 | 6 | class TestPluginImporter:
def test_find_module(self):
pass
def test_load_module(self):
pass
|
0c179b234239a314619abfbace6bd3ff487cabda3e2cc812cfd169709253cec6 | Python | 118 | 4 | DISPOSITION_CONTINUE = "Continue"
DISPOSITION_SKIP = "Skip"
DISPOSITION_PAUSE = "Pause"
DISPOSITION_CANCEL = "Cancel"
|
1b5305fed5f74448306d8b3056e866ee45dce8a444ececcbe3cea79ed52ad488 | Python | 118 | 5 | from .acquisition import *
from .channel import *
from .panorama import *
from .session import *
from .slide import *
|
7f4309016b48298fcbf0f90d5d4aec39e70cdf70aa88424ffdb192c46a1c3818 | Python | 118 | 8 | import subprocess
import os
for index in range(14):
subprocess.call(["python","RDE CV W.py",f'{index}'])
|
c01194a63f4ec78e2192017f311c5b632934e4ed88948fbc901b75f62a459021 | Python | 118 | 6 | class TestExtensionPredicate:
def test_fn_filter(self):
pass
def test_test_valid(self):
pass
|
dd24d4f26484d84ef6aed9da36752e1b1b581cd5d599d5ae73e7b6ccd6d6b38f | Python | 118 | 6 | class TestDirectoryPredicate:
def test_fn_filter(self):
pass
def test_test_valid(self):
pass
|
0cb87af73b164380d598d88a4fb0506e1b87241a714f7391261911d7a4b40dc3 | Python | 119 | 6 | from ._event import Event
class FileWalkStarted(Event):
def event_type(self):
return "File walk started"
|
8283d3a50427f311e2c95d6a8fc7466203e07b2eb38c4d6e11c6e517b3ff8708 | Python | 119 | 6 | class TestPipelineEventListener:
def test_reset(self):
pass
def test_handle_event(self):
pass
|
acc02e90227c296bbb085626cd8b66e4021e439d5cc21291e5d5c991aec7e1b3 | Python | 119 | 4 | from . import utils
from .sspspace import SPSpace, SSPSpace, RandomSSPSpace, HexagonalSSPSpace
from . import networks
|
d5e5112d490cb25b7b16a4d827cee549ce699d557a89f3801e3fa55c9a53ea16 | Python | 119 | 5 | """
Options and Enums for IdentifyTertiaryObjects
"""
# Note: This module does not currently have any options or enums |
03fa680ee27f99481be362a7facaeb0a0a6bb9eb39ab831de587652154263ee8 | Python | 120 | 3 | from .config import config_from_file, update_config_from_file
__all__ = ['config_from_file', 'update_config_from_file'] |
263a6d54d206196ea47b2a9f0e6187f740102c4c0fd8c6f5483d1b28c4549841 | Python | 120 | 6 | from .ants import (
AntsMotionCorrection,
AntsRegistration,
AntsTransform,
ComposeANTsTransformations
)
|
4cba34a3f497c4b9d2b60aae9e4e315b07a673cd9245b88a9b9af495a476d123 | Python | 120 | 5 | # -*- coding: utf-8 -*-
"""
Standalone utility scripts for pysteps (e.g. parameter estimation from the
given data).
"""
|
f8638a5bcaf4b0b72e09ea20ce1fdb05ffef3f8d6fe5ff73ed5ed9679b2b4675 | Python | 120 | 6 | class TestMeasurementDependency:
def test_object_name(self):
pass
def test_feature(self):
pass
|
7133825ae26a25f7a7ccba864cfd03ebd14f8fc3f72f3948929a8546d552bf79 | Python | 121 | 5 | from ...utilities.zmq.communicable.request import AnalysisRequest
class InitialMeasurements(AnalysisRequest):
pass
|
a430ffb0ea860bf4cbea79b674e1993ea379a7f08116194e41cee56340a453bf | Python | 121 | 6 | class TestPathname:
def test_test_valid(self):
pass
def test_alter_for_create_batch(self):
pass
|
f6fa0c1a3c850a305e70d4adaa67e2b2ccb72df37f56031850d10bc20f5bfc83 | Python | 121 | 5 | from ...utilities.zmq.communicable.request import AnalysisRequest
class PipelinePreferences(AnalysisRequest):
pass
|
b11c9766ca803d05359e4c44418d45b8806c8e6692bd0f5f568b98f6910a42fe | Python | 123 | 3 | """Implementations of deterministic and ensemble nowcasting methods."""
from pysteps.nowcasts.interface import get_method
|
b8788f542be5778daec71ec222ff79ba35e5e464a2c75e4355f8602a1c0721ac | Python | 125 | 8 | from ._event import Event
class EndRun(Event):
"""A run ended"""
def event_type(self):
return "Run ended"
|
fd3c62ea4cd0380fc9ba4a3097d4435d8e9c3bc6a65c538374b87e9f32b09339 | Python | 125 | 6 | class TestChangeSettingEvent:
def test_get_old_value(self):
pass
def test_get_new_value(self):
pass
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.