sha256 stringlengths 64 64 | language stringclasses 28
values | size int32 1 491k | lines int32 1 23.2k | content stringlengths 1 200k |
|---|---|---|---|---|
db61d3af2dd522b73b41a5c4d85683dd94317df8aed9ed1ebc244e93f6a06220 | TypeScript | 685 | 23 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { KinaseLibraryModalComponent } from './kinase-library-modal.component';
describe('KinaseLibraryModalComponent', () => {
let component: KinaseLibraryModalComponent;
let fixture: ComponentFixture<KinaseLibraryModalComponent>;
beforeEach(a... |
0665205e383f29113bda25cc25a6810204f2306ca3b361887b0e3b66ae65e9e0 | TypeScript | 687 | 25 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { VolcanoPlotComponent } from './volcano-plot.component';
describe('VolcanoPlotComponent', () => {
let component: VolcanoPlotComponent;
let fixture: ComponentFixture<VolcanoPlotComponent>;
beforeEach(async () => {
await Test... |
b254875d492f6601ae3ba54d65785dc36b42a774e0b5c8613e066fe17e482857 | TypeScript | 687 | 25 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { BatchSearchComponent } from './batch-search.component';
describe('BatchSearchComponent', () => {
let component: BatchSearchComponent;
let fixture: ComponentFixture<BatchSearchComponent>;
beforeEach(async () => {
await Test... |
c4bbcd03c3a8f1e339d01ceb2d758c67ae7463c07d412e346b20c22734dc3afc | TypeScript | 687 | 25 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { ProfilePlotComponent } from './profile-plot.component';
describe('ProfilePlotComponent', () => {
let component: ProfilePlotComponent;
let fixture: ComponentFixture<ProfilePlotComponent>;
beforeEach(async () => {
await Test... |
1e4d5689ecf0e8783e24281a6e1c61252c02678b3875eef3071fefe6e740c3d9 | TypeScript | 689 | 25 | import {Component, EventEmitter, OnInit, Output} from '@angular/core';
import {DataService} from "../../data.service";
@Component({
selector: 'app-comparison-selections',
templateUrl: './comparison-selections.component.html',
styleUrls: ['./comparison-selections.component.scss']
})
export class Compariso... |
76aea5c0812b3f07511a832fbba7ba6a13da91afffcc36cd4bac96ce8251ce60 | TypeScript | 689 | 26 | export function withChroma(userNextConfig: any = {}): any {
const originalWebpackFunction = userNextConfig.webpack;
const newWebpackFunction = (config: any, options: any): any => {
if (!Array.isArray(config.externals)) {
config.externals = [];
}
const externalsToAdd = ["@huggingface/transformers... |
b7433024522ad26145185b163e980d210a54fb54d7bbba52cacb5d0a3353436b | TypeScript | 690 | 25 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { SessionSettingsComponent } from './session-settings.component';
describe('SessionSettingsComponent', () => {
let component: SessionSettingsComponent;
let fixture: ComponentFixture<SessionSettingsComponent>;
beforeEach(async () => {
... |
d719927184e3282d7cd56cffb0f711fcd53c34fe54a9284c536dcc675189afa4 | TypeScript | 690 | 25 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { QuickNavigationComponent } from './quick-navigation.component';
describe('QuickNavigationComponent', () => {
let component: QuickNavigationComponent;
let fixture: ComponentFixture<QuickNavigationComponent>;
beforeEach(async () => {
... |
48cc935d4f81622ca04d38335498ceea00577bee94772510812584ae351aa61b | TypeScript | 691 | 25 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { FileInputWidgetComponent } from './file-input-widget.component';
describe('FileInputWidgetComponent', () => {
let component: FileInputWidgetComponent;
let fixture: ComponentFixture<FileInputWidgetComponent>;
beforeEach(async () => {
... |
080c82ee0d18f338bddc3fdb3457bfb7bd4b9a252f6c7b0a4709ed5a8faff8eb | TypeScript | 692 | 23 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { SessionExpiredModalComponent } from './session-expired-modal.component';
describe('SessionExpiredModalComponent', () => {
let component: SessionExpiredModalComponent;
let fixture: ComponentFixture<SessionExpiredModalComponent>;
beforeE... |
0e9bb64dc91af40ab00eb06402f4ffbf52374e3756900770e1f0fa6e25d2bef6 | TypeScript | 692 | 23 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { DefaultColorPaletteComponent } from './default-color-palette.component';
describe('DefaultColorPaletteComponent', () => {
let component: DefaultColorPaletteComponent;
let fixture: ComponentFixture<DefaultColorPaletteComponent>;
beforeE... |
115a99bbb43a229b5cc76cc494e9d5ca3930cb0e9ed3861f82a80a5c10f1aea1 | TypeScript | 692 | 23 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { CurtainStatsSummaryComponent } from './curtain-stats-summary.component';
describe('CurtainStatsSummaryComponent', () => {
let component: CurtainStatsSummaryComponent;
let fixture: ComponentFixture<CurtainStatsSummaryComponent>;
beforeE... |
4b6767a02908ed86e010ea4faced7b77f53ddb712500632b7c989a9a0040f158 | TypeScript | 693 | 23 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { CollaborateModalComponent } from './collaborate-modal.component';
describe('CollaborateModalComponent', () => {
let component: CollaborateModalComponent;
let fixture: ComponentFixture<CollaborateModalComponent>;
beforeEach(asyn... |
fb0c250eca77c3a6c449b766b68d20637ccfd0b0c82f29e8e604db2c6ce1e269 | TypeScript | 693 | 23 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { DraggableElementComponent } from './draggable-element.component';
describe('DraggableElementComponent', () => {
let component: DraggableElementComponent;
let fixture: ComponentFixture<DraggableElementComponent>;
beforeEach(asyn... |
23f955d3dd326de125dbe78c611afdc7139f59f22d3794504b9a94f0c54a5353 | TypeScript | 694 | 23 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { SideFloatControlComponent } from './side-float-control.component';
describe('SideFloatControlComponent', () => {
let component: SideFloatControlComponent;
let fixture: ComponentFixture<SideFloatControlComponent>;
beforeEach(asy... |
a2e72429deb3ae65400d65990fb04907d675794d765d6219e334e2c22c62bc45 | TypeScript | 694 | 25 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { ProteomicsDbComponent } from './proteomics-db.component';
describe('ProteomicsDbComponent', () => {
let component: ProteomicsDbComponent;
let fixture: ComponentFixture<ProteomicsDbComponent>;
beforeEach(async () => {
await... |
ac409abd91c36527a95f3364e35d4bba9849eb9aad1db10972b46cabd07c5444 | TypeScript | 694 | 17 | // This file can be replaced during build by using the `fileReplacements` array.
// `ng build` replaces `environment.ts` with `environment.prod.ts`.
// The list of file replacements can be found in `angular.json`.
export const environment = {
production: false,
apiURL: "/api/"
};
/*
* For easier debugg... |
65eeb2f1cc51226a34ae3f4caa29f28de4e530a625710b8b11bec1a0560173f8 | TypeScript | 695 | 25 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { RawDataBlockComponent } from './raw-data-block.component';
describe('RawDataBlockComponent', () => {
let component: RawDataBlockComponent;
let fixture: ComponentFixture<RawDataBlockComponent>;
beforeEach(async () => {
awai... |
25fbea619a98563f7f8b0c1425912d5a97d67bf9fdcd547af4b34347aeeba849 | TypeScript | 697 | 25 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { SampleAnnotationComponent } from './sample-annotation.component';
describe('SampleAnnotationComponent', () => {
let component: SampleAnnotationComponent;
let fixture: ComponentFixture<SampleAnnotationComponent>;
beforeEach(async () => ... |
3a4e3042dafa07d10940227bf30781a190043d7520b25b0067172c4e29cdcb86 | TypeScript | 697 | 25 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { InteractomeAtlasComponent } from './interactome-atlas.component';
describe('InteractomeAtlasComponent', () => {
let component: InteractomeAtlasComponent;
let fixture: ComponentFixture<InteractomeAtlasComponent>;
beforeEach(async () => ... |
4e016a79c7c08fded5feb3abcd16af9fa2b7238a9f2811ef8e38f6316307bfac | TypeScript | 697 | 14 | import { expect, test } from "@jest/globals";
import { ChromaClient } from "../src";
test("it fails with a nice error when offline", async () => {
const chroma = new ChromaClient({ host: "example.invalid" });
try {
await chroma.createCollection({ name: "test" });
throw new Error("Should have thrown an erro... |
72513d108b4cf5de526285a6e4f82d459e7318b356d59c94e00e6658b7bbe1b3 | TypeScript | 701 | 22 | import type { EmbeddingFunctionConstructor } from "./IEmbeddingFunction";
import * as allEmbeddingFunctions from "./all";
const knownEmbeddingFunctions = new Map<string, EmbeddingFunctionConstructor>(
Object.values(allEmbeddingFunctions).map((fn) => [fn.name, fn]),
);
export const registerEmbeddingFunction = (fn: E... |
c2b4333e47b1bc7d5acfe19d3dbabb5dd540185e5352d4a847045b513021aecc | TypeScript | 701 | 25 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { VolcanoColorsComponent } from './volcano-colors.component';
describe('VolcanoColorsComponent', () => {
let component: VolcanoColorsComponent;
let fixture: ComponentFixture<VolcanoColorsComponent>;
beforeEach(async () => {
... |
2b428cb0c85afc94b5e483acc5edf3fae07d4d4a3ded57596ae727587d9c0ad8 | TypeScript | 702 | 25 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { RawDataViewerComponent } from './raw-data-viewer.component';
describe('RawDataViewerComponent', () => {
let component: RawDataViewerComponent;
let fixture: ComponentFixture<RawDataViewerComponent>;
beforeEach(async () => {
... |
0e49d71e071fa4e86569d0641ed50115ae453707f43f482eb63afcbb84db2d6b | TypeScript | 704 | 25 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { CorrelationMatrixComponent } from './correlation-matrix.component';
describe('CorrelationMatrixComponent', () => {
let component: CorrelationMatrixComponent;
let fixture: ComponentFixture<CorrelationMatrixComponent>;
beforeEach(async (... |
ed0f372745e69e32430c858685b3df3a864c20c9d0614bae128b3775b2beef3b | TypeScript | 704 | 25 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { ProteinSelectionsComponent } from './protein-selections.component';
describe('ProteinSelectionsComponent', () => {
let component: ProteinSelectionsComponent;
let fixture: ComponentFixture<ProteinSelectionsComponent>;
beforeEach(async (... |
3556b44604dfe484b8d82411715625f9ac6fd26f4e4af9a1da93a7e4057ccd79 | TypeScript | 705 | 25 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { PtmPositionViewerComponent } from './ptm-position-viewer.component';
describe('PtmPositionViewerComponent', () => {
let component: PtmPositionViewerComponent;
let fixture: ComponentFixture<PtmPositionViewerComponent>;
beforeEach(async ... |
4bc3d65e0847f9fc2dc0aea8769e287b703f8f6c097c2427e90e484f2150ab7a | TypeScript | 705 | 14 | import * as Types from '../typebox';
export declare class ValueCreateUnknownTypeError extends Error {
readonly schema: Types.TSchema;
constructor(schema: Types.TSchema);
}
export declare class ValueCreateNeverTypeError extends Error {
readonly schema: Types.TSchema;
constructor(schema: Types.TSchema);
}... |
e4f0f7ce3ed594151ec60b3528ce5d1ee7d160d932ab4dfbfbffc71f109eb801 | TypeScript | 705 | 25 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { ProteinDomainPlotComponent } from './protein-domain-plot.component';
describe('ProteinDomainPlotComponent', () => {
let component: ProteinDomainPlotComponent;
let fixture: ComponentFixture<ProteinDomainPlotComponent>;
beforeEach(async ... |
6b7493d5286f683e94350c1de560173bee4067dfde397004a8c78dd316836956 | TypeScript | 706 | 25 | import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { ShowdetailsDialogComponent } from './showdetails-dialog.component';
describe('ShowdetailsDialogComponent', () => {
let component: ShowdetailsDialogComponent;
let fixture: ComponentFixture<ShowdetailsDialogComponent>;
beforeEach(... |
42c0d5b24a93a7e9d501feafd56f6785cb8e474437d341b95b8314f064eeb9c5 | TypeScript | 708 | 25 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { ToastContainerComponent } from './toast-container.component';
describe('ToastContainerComponent', () => {
let component: ToastContainerComponent;
let fixture: ComponentFixture<ToastContainerComponent>;
beforeEach(async () => {
... |
7390ebd2d96b6bec012fe12132f92a99576b52bd1bdece65f024795ca435cd91 | TypeScript | 708 | 23 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { RankAbundanceModalComponent } from './rank-abundance-modal.component';
describe('RankAbundanceModalComponent', () => {
let component: RankAbundanceModalComponent;
let fixture: ComponentFixture<RankAbundanceModalComponent>;
befo... |
f83655a6794e5dcec2306b5c019434a68e28ae3bfce70ea806cc3817afc6e3e6 | TypeScript | 708 | 25 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { ProfileCompareComponent } from './profile-compare.component';
describe('ProfileCompareComponent', () => {
let component: ProfileCompareComponent;
let fixture: ComponentFixture<ProfileCompareComponent>;
beforeEach(async () => {
... |
762818ed62bed3231f420703ff4f1d22464d5a7351c48073a7441933658a521b | TypeScript | 709 | 25 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { VolcanoAndCytoComponent } from './volcano-and-cyto.component';
describe('VolcanoAndCytoComponent', () => {
let component: VolcanoAndCytoComponent;
let fixture: ComponentFixture<VolcanoAndCytoComponent>;
beforeEach(async () => {... |
7f04eae38ee7fa0abd43f5018fafbaca238496c79ecc17a77e7bda1ced056357 | TypeScript | 710 | 11 | export type ValueType = null | undefined | Function | symbol | bigint | number | boolean | string;
export type ObjectType = Record<string | number | symbol, unknown>;
export type TypedArrayType = Int8Array | Uint8Array | Uint8ClampedArray | Int16Array | Uint16Array | Int32Array | Uint32Array | Float32Array | Float64Arr... |
8e5e765d695057e3bb52667a0305a0ecd9d20e122f2cde07ab340a249e0abac8 | TypeScript | 711 | 25 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { ProteinInformationComponent } from './protein-information.component';
describe('ProteinInformationComponent', () => {
let component: ProteinInformationComponent;
let fixture: ComponentFixture<ProteinInformationComponent>;
beforeEach(as... |
1a9ea9d8b96250ced812330e898f3bec9b6a457e35a0130e2a824447c8d452c1 | TypeScript | 713 | 25 | import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { ShowacronymsDialogComponent } from './showacronyms-dialog.component';
describe('ShowacronymsDialogComponent', () => {
let component: ShowacronymsDialogComponent;
let fixture: ComponentFixture<ShowacronymsDialogComponent>;
before... |
fe8cc7d13e4b1453c07e2df6ab37b851f2929809752bc094db0efab3513873de | TypeScript | 713 | 25 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { SampleOrderAndHideComponent } from './sample-order-and-hide.component';
describe('SampleOrderAndHideComponent', () => {
let component: SampleOrderAndHideComponent;
let fixture: ComponentFixture<SampleOrderAndHideComponent>;
beforeEach(... |
0318cdf8ef64b407f624ebfaef91c6ce36977ced69ed91b9b3d36a1a9d894b62 | TypeScript | 714 | 23 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { LocalSessionStateModalComponent } from './local-session-state-modal.component';
describe('LocalSessionStateModalComponent', () => {
let component: LocalSessionStateModalComponent;
let fixture: ComponentFixture<LocalSessionStateModalCompon... |
e78296e2a375c002a496181b6a7cb3e861ab9f926662dd907aef45d8081d6110 | TypeScript | 714 | 23 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { RankPlotTextAnnotationComponent } from './rank-plot-text-annotation.component';
describe('RankPlotTextAnnotationComponent', () => {
let component: RankPlotTextAnnotationComponent;
let fixture: ComponentFixture<RankPlotTextAnnotationCompon... |
0f031c372eab6d67132a34b192b6c94833d00561b62972186f7579b0b9c5f75e | TypeScript | 715 | 25 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { SessionSettingsComponent } from './session-settings.component';
describe('SessionSettingsComponent', () => {
let component: SessionSettingsComponent;
let fixture: ComponentFixture<SessionSettingsComponent>;
beforeEach(async () ... |
bfb4b68fc7edcfeb74b97106edc26e1ee23eb7c855a7eb9a9b2f19a0004ed52d | TypeScript | 715 | 25 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { QuickNavigationComponent } from './quick-navigation.component';
describe('QuickNavigationComponent', () => {
let component: QuickNavigationComponent;
let fixture: ComponentFixture<QuickNavigationComponent>;
beforeEach(async () ... |
d092f5b861d2dc304a05035deca34fde0d6d8eee827ef8b64fa53ed0d592a780 | TypeScript | 715 | 23 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { DefaultColorPaletteComponent } from './default-color-palette.component';
describe('DefaultColorPaletteComponent', () => {
let component: DefaultColorPaletteComponent;
let fixture: ComponentFixture<DefaultColorPaletteComponent>;
... |
d832a29b307ed06ac96d3f1c2bfcd590b53fc909cd1e8697b7ce934ba8126c83 | TypeScript | 715 | 23 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { SessionExpiredModalComponent } from './session-expired-modal.component';
describe('SessionExpiredModalComponent', () => {
let component: SessionExpiredModalComponent;
let fixture: ComponentFixture<SessionExpiredModalComponent>;
... |
dc3c3eaa530bbd332b79f809ad9ec281686df322a24e47cb903f1062acf95bf8 | TypeScript | 715 | 30 | export default {
preset: "ts-jest",
testEnvironment: "node",
clearMocks: true,
collectCoverage: false,
testTimeout: 15000,
// Docker bindings for tests
globalSetup: "./test/testEnvSetup.ts",
globalTeardown: "./test/testEnvTeardown.ts",
coverageDirectory: "./test/coverage",
coverageReporters: ["json"... |
f17514fb8c588b3d5bb580c929008719d277013d4a0b15f2ddcaa3e26af7bd14 | TypeScript | 715 | 23 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { CurtainStatsSummaryComponent } from './curtain-stats-summary.component';
describe('CurtainStatsSummaryComponent', () => {
let component: CurtainStatsSummaryComponent;
let fixture: ComponentFixture<CurtainStatsSummaryComponent>;
... |
16c7b7ba85fc96c88338c8bb134cefec52c2b4d8d32b1ec057d8627788f86352 | TypeScript | 716 | 25 | /**
* @fileoverview ChromaDB JavaScript client library entry point.
* Provides access to all public APIs for interacting with ChromaDB.
*/
// Apply Deno compatibility patch
import "./deno";
export { CollectionHandle } from "./collection";
export type {
Collection,
ConditionalCollectionTransaction,
Conditiona... |
5a496ea70a7adb1c23c695dba4a97311b41b8f0d96be336d5c73d4952fde9e4f | TypeScript | 716 | 25 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { FileInputWidgetComponent } from './file-input-widget.component';
describe('FileInputWidgetComponent', () => {
let component: FileInputWidgetComponent;
let fixture: ComponentFixture<FileInputWidgetComponent>;
beforeEach(async ()... |
8f0bbbb5addf59c6f51dca3ef019948a89f4bde323f73baff10fdf6b73ad4051 | TypeScript | 718 | 25 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { NetworkInteractionsComponent } from './network-interactions.component';
describe('NetworkInteractionsComponent', () => {
let component: NetworkInteractionsComponent;
let fixture: ComponentFixture<NetworkInteractionsComponent>;
beforeEa... |
3dcd5cc88cbcde4f2e349a5ddcdb450448614d9e940424e38bfa63a43d06f586 | TypeScript | 720 | 23 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { DataSelectionManagementComponent } from './data-selection-management.component';
describe('DataSelectionManagementComponent', () => {
let component: DataSelectionManagementComponent;
let fixture: ComponentFixture<DataSelectionManagementCo... |
0efd9a67ca79c248f32ec8490c075e8f204e4c908cef33c7f96b38f2b446215d | TypeScript | 722 | 25 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { SampleAnnotationComponent } from './sample-annotation.component';
describe('SampleAnnotationComponent', () => {
let component: SampleAnnotationComponent;
let fixture: ComponentFixture<SampleAnnotationComponent>;
beforeEach(asyn... |
4513afe7d31f1b752385b33d7a2896696b48233df7d99ea5ae57939d41a6ab79 | TypeScript | 722 | 25 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { InteractomeAtlasComponent } from './interactome-atlas.component';
describe('InteractomeAtlasComponent', () => {
let component: InteractomeAtlasComponent;
let fixture: ComponentFixture<InteractomeAtlasComponent>;
beforeEach(asyn... |
c628aaca2e11357d65bb31b643785940e50f792d3fb971317efd896fe178ce27 | TypeScript | 725 | 25 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { ComparisonSelectionsComponent } from './comparison-selections.component';
describe('ComparisonSelectionsComponent', () => {
let component: ComparisonSelectionsComponent;
let fixture: ComponentFixture<ComparisonSelectionsComponent>;
bef... |
69ee23dd0d215b09907ad30d23f88b7790c93329d1faf31d7835552a10cf7cbf | TypeScript | 727 | 12 | declare module 'stream/consumers' {
import { Blob as NodeBlob } from "node:buffer";
import { Readable } from 'node:stream';
function buffer(stream: NodeJS.ReadableStream | Readable | AsyncIterator<any>): Promise<Buffer>;
function text(stream: NodeJS.ReadableStream | Readable | AsyncIterator<any>): Promi... |
2f6d43a8002089df1b59f4d2ba77468f62ffbacf4d35eb1553bea0184d770e50 | TypeScript | 729 | 25 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { CorrelationMatrixComponent } from './correlation-matrix.component';
describe('CorrelationMatrixComponent', () => {
let component: CorrelationMatrixComponent;
let fixture: ComponentFixture<CorrelationMatrixComponent>;
beforeEach... |
f29b1960599a391f1b5d91b3cc6965e7550cd41d7f737b63c4eb70236cca85e8 | TypeScript | 729 | 25 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { ProteinSelectionsComponent } from './protein-selections.component';
describe('ProteinSelectionsComponent', () => {
let component: ProteinSelectionsComponent;
let fixture: ComponentFixture<ProteinSelectionsComponent>;
beforeEach... |
c960470e522ad59e47924a4ca23e97abca704adde8985048989976ea28c59b60 | TypeScript | 730 | 25 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { ProteinDomainPlotComponent } from './protein-domain-plot.component';
describe('ProteinDomainPlotComponent', () => {
let component: ProteinDomainPlotComponent;
let fixture: ComponentFixture<ProteinDomainPlotComponent>;
beforeEac... |
2865860a99c9634077e39a12c62f9a14013864a42d2315a5de56fba8f21cf7c2 | TypeScript | 736 | 25 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { ProteinInformationComponent } from './protein-information.component';
describe('ProteinInformationComponent', () => {
let component: ProteinInformationComponent;
let fixture: ComponentFixture<ProteinInformationComponent>;
befor... |
c7c4a751c2b12c2ecb9d924e5fdd87c9bedd532da8635da79b4cf15f2d51044b | TypeScript | 737 | 23 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { RankPlotTextAnnotationComponent } from './rank-plot-text-annotation.component';
describe('RankPlotTextAnnotationComponent', () => {
let component: RankPlotTextAnnotationComponent;
let fixture: ComponentFixture<RankPlotTextAnnotation... |
efffd6b2231ce4ef9aadc9bc031ce955121e47c2948fd715455bda3adc1fce63 | TypeScript | 737 | 23 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { LocalSessionStateModalComponent } from './local-session-state-modal.component';
describe('LocalSessionStateModalComponent', () => {
let component: LocalSessionStateModalComponent;
let fixture: ComponentFixture<LocalSessionStateModal... |
39d2a80005b93cc5e7b68bad743a903756d7f5fe10042be3c307c12465702091 | TypeScript | 738 | 25 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { SampleOrderAndHideComponent } from './sample-order-and-hide.component';
describe('SampleOrderAndHideComponent', () => {
let component: SampleOrderAndHideComponent;
let fixture: ComponentFixture<SampleOrderAndHideComponent>;
bef... |
7d17d7afc0c573af3bcd4b7e7d58a56da30df41ad501ae8bcc66812efabc3f68 | TypeScript | 743 | 23 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { DataSelectionManagementComponent } from './data-selection-management.component';
describe('DataSelectionManagementComponent', () => {
let component: DataSelectionManagementComponent;
let fixture: ComponentFixture<DataSelectionManage... |
ad7190573c307204716abb92854ed1146a3108ebce11ad90a9dd5362cb9b329f | TypeScript | 743 | 25 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { NetworkInteractionsComponent } from './network-interactions.component';
describe('NetworkInteractionsComponent', () => {
let component: NetworkInteractionsComponent;
let fixture: ComponentFixture<NetworkInteractionsComponent>;
... |
35fde7f5343617fa8c3641971f8aead3517dd0dfdbb68b03d056f0a6f500b2a7 | TypeScript | 745 | 32 | import { defineConfig, Options } from "tsup";
import fs from "fs";
export default defineConfig((options: Options) => {
const commonOptions: Partial<Options> = {
entry: {
chromadb: "src/index.ts",
},
sourcemap: true,
dts: true,
...options,
};
return [
{
...commonOptions,
... |
ecd5d91930e76f5c040c064af95a1519acae6b2de13ee37ea201bac1e8a6a362 | TypeScript | 750 | 25 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { ComparisonSelectionsComponent } from './comparison-selections.component';
describe('ComparisonSelectionsComponent', () => {
let component: ComparisonSelectionsComponent;
let fixture: ComponentFixture<ComparisonSelectionsComponent>;
... |
46bacf97937942427e1bdfd81a2f0e74d555d3ce9a027e11a44ee6fff3aeaa66 | TypeScript | 751 | 29 | import { Injectable } from '@angular/core';
// @ts-ignore
import * as jstat from 'jstat';
import {AccountsService} from "./accounts/accounts.service";
@Injectable({
providedIn: 'root'
})
export class StatsService {
constructor(private accounts: AccountsService) { }
calculateAnova(conditionA: any[], conditionB... |
e473dc243666691ae4b8bc625f72c7237b776ae1d3c7e015c8d9a23e5250f258 | TypeScript | 752 | 30 | import { Injectable } from '@angular/core';
// @ts-ignore
import * as jstat from 'jstat';
import {AccountsService} from "./accounts/accounts.service";
@Injectable({
providedIn: 'root'
})
export class StatsService {
constructor(private accounts: AccountsService) { }
calculateAnova(conditionA: any[], conditionB... |
0eeee227b6cc9f0f6c38a25318aef9c02e4a21e6c1f10565b44c835680699ade | TypeScript | 753 | 27 | import { createMatchPathAsync } from "../match-path-async";
import * as Tests from "./data/match-path-data";
describe("match-path-async", () => {
Tests.tests.forEach((t) =>
it(t.name, (done) => {
const matchPath = createMatchPathAsync(
t.absoluteBaseUrl,
t.paths,
t.mainFields,
... |
24b5e1fd4370e6ce6813585f67c79dd5dad8b29c826e93c1e2e41f6e88c1a02f | TypeScript | 756 | 23 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { SelectedDataDistributionPlotComponent } from './selected-data-distribution-plot.component';
describe('SelectedDataDistributionPlotComponent', () => {
let component: SelectedDataDistributionPlotComponent;
let fixture: ComponentFixture<Sele... |
50a5b8186ca4493db4ce2059976230441533de85938abd82ecfe9e1a23c10ae6 | TypeScript | 756 | 23 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { ComparisonAgainstOtherPromptComponent } from './comparison-against-other-prompt.component';
describe('ComparisonAgainstOtherPromptComponent', () => {
let component: ComparisonAgainstOtherPromptComponent;
let fixture: ComponentFixture<Comp... |
da1a18afe8c37d12342a27d7e8695b3f7cf8b17bb008c7f7d97ccccd3060d7ea | TypeScript | 758 | 33 | import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import {AccountsComponent} from "./accounts/accounts.component";
import {LoginModalComponent} from "./login-modal/login-modal.component";
import {FormsModule, ReactiveFormsModule} from "@angular/forms";
import {
NgbDropdown,
N... |
7d6d002dbf56b7d11e4c8cd6a2a5bc30946c7ef75ae76dc013e2cac169ed6c47 | TypeScript | 762 | 25 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { VolcanoPlotTextAnnotationComponent } from './volcano-plot-text-annotation.component';
describe('VolcanoPlotTextAnnotationComponent', () => {
let component: VolcanoPlotTextAnnotationComponent;
let fixture: ComponentFixture<VolcanoPlotTextA... |
eac647a94fb1f09789e12dfecb52dcd678d05159a4796b4e415aa15892f3b103 | TypeScript | 763 | 20 | type AnymatchFn = (testString: string) => boolean;
type AnymatchPattern = string|RegExp|AnymatchFn;
type AnymatchMatcher = AnymatchPattern|AnymatchPattern[]
type AnymatchTester = {
(testString: string|any[], returnIndex: true): number;
(testString: string|any[]): boolean;
}
type PicomatchOptions = {dot: boolean};
... |
ebab62d0a4a84e7e3494e7f0165bf9469267764f6f66b857c23d02c2376952fa | TypeScript | 769 | 23 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { SampleConditionAssignmentModalComponent } from './sample-condition-assignment-modal.component';
describe('SampleConditionAssigmentModalComponent', () => {
let component: SampleConditionAssignmentModalComponent;
let fixture: ComponentFixtu... |
460d2af5c930d3f4306559b886383e55fef1566c3f3f3238c167bb8f942c7b5e | TypeScript | 770 | 23 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { SampleConditionAssignmentModalComponent } from './sample-condition-assignment-modal.component';
describe('SampleConditionAssignmentModalComponent', () => {
let component: SampleConditionAssignmentModalComponent;
let fixture: ComponentFixt... |
596f544f69aeaf455d217ac10ecdd9196ca192fcb39b5a6e33492399baeb5491 | TypeScript | 775 | 35 | export { WhereExpression, type WhereInput, type WhereJSON } from "./where";
export { Key, type KeyFactory, K } from "./key";
export { Limit, type LimitInput, type LimitOptions } from "./limit";
export { Select, type SelectInput, type SelectKeyInput } from "./select";
export {
RankExpression,
type RankInput,
type ... |
248655f22909e1ccf725fe4ba486ac778f9454dc693a6c0f183d3111772e557e | TypeScript | 779 | 23 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { SelectedDataDistributionPlotComponent } from './selected-data-distribution-plot.component';
describe('SelectedDataDistributionPlotComponent', () => {
let component: SelectedDataDistributionPlotComponent;
let fixture: ComponentFixtur... |
36c270e3f04c1b9680239897b52392f51e3cc390a7db7c66fe3f09b7f66af04e | TypeScript | 779 | 23 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { ComparisonAgainstOtherPromptComponent } from './comparison-against-other-prompt.component';
describe('ComparisonAgainstOtherPromptComponent', () => {
let component: ComparisonAgainstOtherPromptComponent;
let fixture: ComponentFixtur... |
dd00474f8d7fa4f8460ff5fdf9ce882e5eef101ac3bdf3d6dad59645843d6d54 | TypeScript | 780 | 29 | import { Injectable } from '@angular/core';
// @ts-ignore
import * as jstat from 'jstat';
import {AccountsService} from "./accounts/accounts.service";
@Injectable({
providedIn: 'root'
})
export class StatsService {
constructor(private accounts: AccountsService) { }
calculateAnova(conditionA: any[... |
b26d2873e59eed3350e43c8dc0282f54c4197525e40a1497af29526e3ea68e77 | TypeScript | 787 | 25 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { VolcanoPlotTextAnnotationComponent } from './volcano-plot-text-annotation.component';
describe('VolcanoPlotTextAnnotationComponent', () => {
let component: VolcanoPlotTextAnnotationComponent;
let fixture: ComponentFixture<VolcanoPlo... |
23c473d743929eb521ee704590674ecf813cda89b3b082ccc0d52cc5d57ac8ca | TypeScript | 790 | 27 | // This file is required by karma.conf.js and loads recursively all the .spec and framework files
import 'zone.js/testing';
import { getTestBed } from '@angular/core/testing';
import {
BrowserDynamicTestingModule,
platformBrowserDynamicTesting
} from '@angular/platform-browser-dynamic/testing';
declare const requ... |
5839f99e7922dad5cd34e508b17fbcdc52f0212c17707bc8f6d28a3811ef0088 | TypeScript | 793 | 23 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { SampleConditionAssignmentModalComponent } from './sample-condition-assignment-modal.component';
describe('SampleConditionAssignmentModalComponent', () => {
let component: SampleConditionAssignmentModalComponent;
let fixture: Compone... |
889f88ce8edad6e71d9968b6e0a3605ec98404b5413f1a3c7dc9ec3200dbfe72 | TypeScript | 793 | 26 | import {AfterContentInit, Component, ElementRef, Input, OnInit, ViewChild} from '@angular/core';
import {DataService} from "../../data.service";
@Component({
selector: 'app-draggable-element',
templateUrl: './draggable-element.component.html',
styleUrls: ['./draggable-element.component.scss']
})
export class Dra... |
0da1458940239488e8c290d1157da7a0cb37e2fc96d51a93aec0a8325329e3f8 | TypeScript | 799 | 23 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { SessionComparisonResultViewerModalComponent } from './session-comparison-result-viewer-modal.component';
describe('SessionComparisonResultViewerModalComponent', () => {
let component: SessionComparisonResultViewerModalComponent;
let fixtu... |
d5053de931c799a2ae92e4cfb698c7a082856b0d40aaa01ef66453c3f7f85fc8 | TypeScript | 803 | 23 | import {Component, EventEmitter, OnInit, Output} from '@angular/core';
import {DataService} from "../../data.service";
import {selectionData} from "../protein-selections/protein-selections.component";
import {ScrollService} from "../../scroll.service";
@Component({
selector: 'app-volcano-and-cyto',
templateUrl: '.... |
a807dc3c8f867c2c4c9e299408338ae472d248f6c6a4f4430541c3779a45ff09 | TypeScript | 805 | 26 | import {AfterContentInit, Component, ElementRef, Input, OnInit, ViewChild} from '@angular/core';
import {DataService} from "../../data.service";
@Component({
selector: 'app-draggable-element',
templateUrl: './draggable-element.component.html',
styleUrls: ['./draggable-element.component.scss']
})
export class Dra... |
d66f3db18b23d5190b5177f73c7b10ba734e7ebc205f43d8d9c34a72f70a0959 | TypeScript | 806 | 30 | export type IterableInput<T> = Iterable<T> | ArrayLike<T>;
export const isPlainObject = (
value: unknown,
): value is Record<string, unknown> => {
if (typeof value !== "object" || value === null) {
return false;
}
if (Array.isArray(value)) {
return false;
}
const prototype = Object.getPrototypeOf(v... |
86f29585ea328bb5877ed912a4f064f772fa3f20a7ccc0f63b8ae48e333769b1 | TypeScript | 807 | 36 | declare namespace stripJsonComments {
interface Options {
/**
Replace comments with whitespace instead of stripping them entirely.
@default true
*/
readonly whitespace?: boolean;
}
}
/**
Strip comments from JSON. Lets you use comments in your JSON files!
It will replace single-line comments `//` and mult... |
8bec22840a34ba59fe63536ff90cb41ee031fefc6337d9bdab188aa27fed37e4 | TypeScript | 816 | 15 | import { MappingEntry } from "./mapping-entry";
export interface TryPath {
readonly type: "file" | "extension" | "index" | "package";
readonly path: string;
}
/**
* Builds a list of all physical paths to try by:
* 1. Check for file named exactly as request.
* 2. Check for files named as request ending in any... |
4c59175009b0b71b2fe0b00701ca4e9df20deb77ca4fb808c5fc2f72fa591b6b | TypeScript | 819 | 26 | import {AfterContentInit, Component, ElementRef, Input, OnInit, ViewChild} from '@angular/core';
import {DataService} from "../../data.service";
@Component({
selector: 'app-draggable-element',
templateUrl: './draggable-element.component.html',
styleUrls: ['./draggable-element.component.scss']
})
export c... |
d1c821d21d3af63a1fd3c92ee8ad966ef5792db7fa9fc70da0d4f788e7a74e5a | TypeScript | 821 | 28 | import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import {AccountsComponent} from "./accounts/accounts.component";
import {LoginModalComponent} from "./login-modal/login-modal.component";
import {FormsModule, ReactiveFormsModule} from "@angular/forms";
import {environment} from "... |
484f99d017d8501153671059d510b82e06919576fc347aa638dad875696b085f | TypeScript | 822 | 23 | import { ComponentFixture, TestBed } from '@angular/core/testing';
import { SessionComparisonResultViewerModalComponent } from './session-comparison-result-viewer-modal.component';
describe('SessionComparisonResultViewerModalComponent', () => {
let component: SessionComparisonResultViewerModalComponent;
let... |
47d50d4d847a51b21f851d7f9617f9d01cca694ad26b9b0966ef3c5e4980661e | TypeScript | 825 | 16 | import { expect, test } from "@jest/globals";
import { ChromaClient } from "../src/ChromaClient";
import { ChromaConnectionError } from "../src/Errors";
test("it fails with a nice error when offline", async () => {
const chroma = new ChromaClient({ path: "http://example.invalid" });
try {
await chroma.createCo... |
43ad41b7cc1cd63f235d31b443f0fd24aaa61347cd2bbbc09343b22d04d43bf5 | TypeScript | 826 | 23 | import {Component, EventEmitter, OnInit, Output} from '@angular/core';
import {DataService} from "../../data.service";
import {selectionData} from "../protein-selections/protein-selections.component";
import {ScrollService} from "../../scroll.service";
@Component({
selector: 'app-volcano-and-cyto',
template... |
cfb99c96c0eb19bc3c3e2256e32bfd3e49d660a5bcfef0011236476d7542077e | TypeScript | 833 | 23 | import { Injectable } from '@angular/core';
import {WebService} from "./web.service";
import {HttpClient} from "@angular/common/http";
import {UniprotService} from "./uniprot.service";
@Injectable({
providedIn: 'root'
})
export class DbStringService {
constructor(private web: WebService, private http: HttpClient)... |
76eda40f4f15cc02e799f7b11543b9c6c1a8c9b73fedd3e3425ed3eb0d135233 | TypeScript | 844 | 41 | import { defineConfig, type Options } from "tsup";
import * as fs from "fs";
export default defineConfig((options: Options) => {
const commonOptions: Partial<Options> = {
entry: {
"chroma-cloud-qwen": "src/index.ts",
},
sourcemap: true,
dts: {
compilerOptions: {
composite: false,
declaration: tr... |
a151d2d9cda7d0d699854ecde003eec501957ef1916190901d0e709bfc36aca4 | TypeScript | 847 | 48 | /**
* @file logger
* @author Paul Pillot <paul.pillot@libmol.org>
* @license MIT
* @copyright 2020
*/
let gEvents: Map<string, number>
function start () {
gEvents = new Map();
add('START');
}
function add (name: string) {
if (gEvents.has(name)) {
add(name + '_');
return;
}
gE... |
dd34e08e178bd43347f4925584146ae77591b66ae97b489941e3c32892a659ea | TypeScript | 847 | 11 | export { CohereEmbeddingFunction } from "./CohereEmbeddingFunction";
export { DefaultEmbeddingFunction } from "./DefaultEmbeddingFunction";
export { GoogleGenerativeAiEmbeddingFunction } from "./GoogleGeminiEmbeddingFunction";
export { HuggingFaceEmbeddingServerFunction } from "./HuggingFaceEmbeddingServerFunction";
ex... |
8bd6af990481876293532de2130470315fc5d15d36cacad935e349dd7b4dfc4f | TypeScript | 849 | 28 | import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import {AccountsComponent} from "./accounts/accounts.component";
import {LoginModalComponent} from "./login-modal/login-modal.component";
import {FormsModule, ReactiveFormsModule} from "@angular/forms";
import {environment} f... |
b9e2e4ef49cd1b2cdca8953ebc75dce682b9c33b8f13715d114df3af4e7ea6ef | TypeScript | 849 | 27 | import { Injectable } from '@angular/core';
import { HttpClient, HttpHeaders, HttpParams } from '@angular/common/http';
import { Observable } from 'rxjs';
import { environment } from './../../environments/environment';
const baseSearchUrl = "https://uts-ws.nlm.nih.gov/rest/search/current";
const apiKey = environment.u... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.