moorhen 0.0.1 → 0.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +142 -0
- package/baby-gru/CootWorker.js +1 -1071
- package/baby-gru/CootWorker.ts +1064 -0
- package/baby-gru/monomers/h/HIS.cif +5 -5
- package/baby-gru/moorhen.css +280 -0
- package/baby-gru/pixmaps/{map.svg → map-grey.svg} +38 -28
- package/baby-gru/pixmaps/moorhen-ligand.svg +213 -0
- package/baby-gru/pixmaps/secondary-structure-grey.svg +158 -0
- package/baby-gru/wasm/RDKit_minimal.js +1 -21
- package/baby-gru/wasm/RDKit_minimal.wasm +0 -0
- package/baby-gru/wasm/cif_pdb_worker.js +1 -33
- package/baby-gru/wasm/coot_env_web.js +1 -5
- package/baby-gru/wasm/crystallography_worker.js +1 -610
- package/baby-gru/wasm/mini_rsr_worker.js +1 -72
- package/baby-gru/wasm/monid_to_pdb_worker.js +1 -253
- package/baby-gru/wasm/moorhen.data +2580 -739
- package/baby-gru/wasm/moorhen.js +1 -21
- package/baby-gru/wasm/moorhen.wasm +0 -0
- package/baby-gru/wasm/moorhen.worker.js +1 -1
- package/baby-gru/wasm/mtz_arraybuffer_worker.js +1 -59
- package/baby-gru/wasm/mtz_worker.js +1 -45
- package/baby-gru/wasm/nma_worker.js +1 -103
- package/baby-gru/wasm/papaparse.min.js +2 -7
- package/baby-gru/wasm/papaparse.min.js.LICENSE.txt +6 -0
- package/baby-gru/wasm/pdb_worker.js +1 -282
- package/baby-gru/wasm/smiles_to_pdb_worker.js +1 -252
- package/baby-gru/wasm/superpose_worker.js +1 -144
- package/baby-gru/wasm/web_example.js +1 -21
- package/baby-gru/wasm/web_example.wasm +0 -0
- package/moorhen.css +1 -276
- package/moorhen.js +86 -0
- package/moorhen.js.LICENSE.txt +101 -0
- package/package.json +72 -51
- package/types/emscriptem.d.ts +25 -0
- package/types/gemmi.d.ts +115 -0
- package/types/index.d.ts +18 -0
- package/types/libcoot.d.ts +450 -0
- package/types/main.d.ts +428 -0
- package/types/mgWebGL.d.ts +398 -0
- package/types/moorhen.d.ts +815 -0
- package/baby-gru/pixmaps/diff-map.png +0 -0
- package/baby-gru/tutorials/legend.html +0 -3
- /package/baby-gru/{keyboard-blank.svg → pixmaps/keyboard-blank.svg} +0 -0
package/types/main.d.ts
ADDED
|
@@ -0,0 +1,428 @@
|
|
|
1
|
+
import { moorhen as _moorhen } from "./moorhen"
|
|
2
|
+
import { webGL } from "./mgWebGL";
|
|
3
|
+
import { libcootApi } from "./libcoot";
|
|
4
|
+
import { gemmi } from "./gemmi";
|
|
5
|
+
import { emscriptem } from "./emscriptem";
|
|
6
|
+
|
|
7
|
+
declare module 'moorhen' {
|
|
8
|
+
|
|
9
|
+
let MoorhenContainer: any;
|
|
10
|
+
module.exports = MoorhenContainer;
|
|
11
|
+
|
|
12
|
+
let MoorhenDraggableModalBase: any;
|
|
13
|
+
module.exports = MoorhenDraggableModalBase;
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
let MoorhenMoleculeSelect: any;
|
|
17
|
+
module.exports = MoorhenMoleculeSelect;
|
|
18
|
+
|
|
19
|
+
let MoorhenQuerySequenceModal: any;
|
|
20
|
+
module.exports = MoorhenQuerySequenceModal;
|
|
21
|
+
|
|
22
|
+
let MoorhenMapSelect: any;
|
|
23
|
+
module.exports = MoorhenMapSelect;
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
let MoorhenSlider: any;
|
|
27
|
+
module.exports = MoorhenSlider;
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
let MoorhenFetchOnlineSourcesForm: any;
|
|
31
|
+
module.exports = MoorhenFetchOnlineSourcesForm;
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
let MoorhenReduxProvider: any;
|
|
35
|
+
module.exports = MoorhenReduxProvider;
|
|
36
|
+
|
|
37
|
+
class MoorhenPreferences implements _moorhen.Preferences {
|
|
38
|
+
name: string;
|
|
39
|
+
static defaultPreferencesValues: _moorhen.PreferencesValues;
|
|
40
|
+
localStorageInstance: {
|
|
41
|
+
clear: () => void;
|
|
42
|
+
setItem: (key: string, value: any) => Promise<string>;
|
|
43
|
+
getItem: (key: string) => Promise<any>;
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
module.exports.MoorhenPreferences = MoorhenPreferences
|
|
47
|
+
|
|
48
|
+
class MoorhenMolecule implements _moorhen.Molecule {
|
|
49
|
+
constructor(commandCentre: React.RefObject<_moorhen.CommandCentre>, glRef: React.RefObject<webGL.MGWebGL>, monomerLibrary: string)
|
|
50
|
+
animateRefine(n_cyc: number, n_iteration: number, final_n_cyc?: number): Promise<void>;
|
|
51
|
+
refineResidueRange(chainId: string, start: number, stop: number, ncyc?: number, redraw?: boolean): Promise<void>;
|
|
52
|
+
SSMSuperpose(movChainId: string, refMolNo: number, refChainId: string): Promise<_moorhen.WorkerResponse>;
|
|
53
|
+
deleteCid(cid: string, redraw?: boolean): Promise<{first: number, second: number}>;
|
|
54
|
+
getNumberOfAtoms(): Promise<number>;
|
|
55
|
+
moveMoleculeHere(x: number, y: number, z: number): Promise<void>;
|
|
56
|
+
checkHasGlycans(): Promise<boolean>;
|
|
57
|
+
fitLigandHere(mapMolNo: number, ligandMolNo: number, redraw?: boolean, useConformers?: boolean, conformerCount?: number): Promise<_moorhen.Molecule[]>;
|
|
58
|
+
checkIsLigand(): boolean;
|
|
59
|
+
removeRepresentation(representationId: string): void;
|
|
60
|
+
addRepresentation(style: string, cid: string, isCustom?: boolean, colour?: _moorhen.ColourRule[], bondOptions?: _moorhen.cootBondOptions, applyColourToNonCarbonAtoms?: boolean): Promise<_moorhen.MoleculeRepresentation>;
|
|
61
|
+
getNeighborResiduesCids(selectionCid: string, maxDist: number): Promise<string[]>;
|
|
62
|
+
drawWithStyleFromMesh(style: string, meshObjects: any[], cid?: string): Promise<void>;
|
|
63
|
+
updateWithMovedAtoms(movedResidues: _moorhen.AtomInfo[][]): Promise<void>;
|
|
64
|
+
transformedCachedAtomsAsMovedAtoms(selectionCid?: string): _moorhen.AtomInfo[][];
|
|
65
|
+
copyFragmentUsingCid(cid: string, doRecentre?: boolean, style?: string): Promise<_moorhen.Molecule>;
|
|
66
|
+
hideCid(cid: string, redraw?: boolean): Promise<void>;
|
|
67
|
+
unhideAll(redraw?: boolean): Promise<void>;
|
|
68
|
+
drawUnitCell(): void;
|
|
69
|
+
gemmiAtomsForCid: (cid: string, omitExcludedCids?: boolean) => Promise<_moorhen.AtomInfo[]>;
|
|
70
|
+
mergeMolecules(otherMolecules: _moorhen.Molecule[], doHide?: boolean): Promise<void>;
|
|
71
|
+
setBackgroundColour(backgroundColour: [number, number, number, number]): void;
|
|
72
|
+
addDict(fileContent: string): Promise<void>;
|
|
73
|
+
addDictShim(fileContent: string): void;
|
|
74
|
+
toggleSymmetry(): Promise<void>;
|
|
75
|
+
getDict(newTlc: string): string;
|
|
76
|
+
addLigandOfType(resType: string, fromMolNo?: number): Promise<_moorhen.WorkerResponse>;
|
|
77
|
+
updateAtoms(): Promise<void>;
|
|
78
|
+
rigidBodyFit(cidsString: string, mapNo: number, redraw?: boolean): Promise<void>;
|
|
79
|
+
generateSelfRestraints(cid?: string, maxRadius?: number): Promise<void>;
|
|
80
|
+
clearExtraRestraints(): Promise<_moorhen.WorkerResponse>;
|
|
81
|
+
refineResiduesUsingAtomCid(cid: string, mode: string, ncyc?: number, redraw?: boolean): Promise<void>;
|
|
82
|
+
redo(): Promise<void>;
|
|
83
|
+
undo(): Promise<void>;
|
|
84
|
+
show(style: string, cid?: string): void;
|
|
85
|
+
setSymmetryRadius(radius: number): Promise<void>;
|
|
86
|
+
drawSymmetry: (fetchSymMatrix?: boolean) => Promise<void>;
|
|
87
|
+
getUnitCellParams(): { a: number; b: number; c: number; alpha: number; beta: number; gamma: number; };
|
|
88
|
+
replaceModelWithFile(fileUrl: string, molName: string): Promise<void>
|
|
89
|
+
delete(): Promise<_moorhen.WorkerResponse>
|
|
90
|
+
fetchDefaultColourRules(): Promise<void>;
|
|
91
|
+
fetchIfDirtyAndDraw(arg0: string): Promise<void>;
|
|
92
|
+
drawEnvironment: (cid: string, labelled?: boolean) => Promise<void>;
|
|
93
|
+
centreOn: (selectionCid?: string, animate?: boolean) => Promise<void>;
|
|
94
|
+
drawHover: (cid: string) => Promise<void>;
|
|
95
|
+
drawResidueSelection: (cid: string) => Promise<void>;
|
|
96
|
+
clearBuffersOfStyle: (style: string) => void;
|
|
97
|
+
loadToCootFromURL: (inputFile: string, molName: string, options?: RequestInit) => Promise<_moorhen.Molecule>;
|
|
98
|
+
applyTransform: () => Promise<void>;
|
|
99
|
+
getAtoms(format?: string): Promise<string>;
|
|
100
|
+
hide: (style: string, cid?: string) => void;
|
|
101
|
+
redraw: () => Promise<void>;
|
|
102
|
+
setAtomsDirty: (newVal: boolean) => void;
|
|
103
|
+
hasVisibleBuffers: (excludeBuffers?: string[]) => boolean;
|
|
104
|
+
centreAndAlignViewOn(selectionCid: string, animate?: boolean): Promise<void>;
|
|
105
|
+
buffersInclude: (bufferIn: { id: string; }) => boolean;
|
|
106
|
+
redrawRepresentation: (id: string) => Promise<void>;
|
|
107
|
+
isLigand: boolean;
|
|
108
|
+
type: string;
|
|
109
|
+
excludedCids: string[];
|
|
110
|
+
commandCentre: React.RefObject<_moorhen.CommandCentre>;
|
|
111
|
+
glRef: React.RefObject<webGL.MGWebGL>;
|
|
112
|
+
atomsDirty: boolean;
|
|
113
|
+
isVisible: boolean;
|
|
114
|
+
name: string;
|
|
115
|
+
molNo: number;
|
|
116
|
+
gemmiStructure: gemmi.Structure;
|
|
117
|
+
sequences: _moorhen.Sequence[];
|
|
118
|
+
ligands: _moorhen.LigandInfo[];
|
|
119
|
+
atomCount: number;
|
|
120
|
+
ligandDicts: {[comp_id: string]: string};
|
|
121
|
+
connectedToMaps: number[];
|
|
122
|
+
excludedSelections: string[];
|
|
123
|
+
symmetryOn: boolean;
|
|
124
|
+
symmetryRadius : number;
|
|
125
|
+
symmetryMatrices: number[][][];
|
|
126
|
+
gaussianSurfaceSettings: {
|
|
127
|
+
sigma: number;
|
|
128
|
+
countourLevel: number;
|
|
129
|
+
boxRadius: number;
|
|
130
|
+
gridScale: number;
|
|
131
|
+
};
|
|
132
|
+
isDarkBackground: boolean;
|
|
133
|
+
representations: _moorhen.MoleculeRepresentation[];
|
|
134
|
+
defaultBondOptions: _moorhen.cootBondOptions;
|
|
135
|
+
displayObjectsTransformation: { origin: [number, number, number], quat: any, centre: [number, number, number] }
|
|
136
|
+
uniqueId: string;
|
|
137
|
+
defaultColourRules: _moorhen.ColourRule[];
|
|
138
|
+
restraints: {maxRadius: number, cid: string}[];
|
|
139
|
+
monomerLibraryPath: string;
|
|
140
|
+
hoverRepresentation: _moorhen.MoleculeRepresentation;
|
|
141
|
+
unitCellRepresentation: _moorhen.MoleculeRepresentation;
|
|
142
|
+
environmentRepresentation: _moorhen.MoleculeRepresentation;
|
|
143
|
+
selectionRepresentation: _moorhen.MoleculeRepresentation;
|
|
144
|
+
hasDNA: boolean;
|
|
145
|
+
hasGlycans: boolean;
|
|
146
|
+
}
|
|
147
|
+
module.exports.MoorhenMolecule = MoorhenMolecule
|
|
148
|
+
|
|
149
|
+
class MoorhenMap implements _moorhen.Map {
|
|
150
|
+
constructor(commandCentre: React.RefObject<_moorhen.CommandCentre>, glRef: React.RefObject<webGL.MGWebGL>)
|
|
151
|
+
getHistogram(nBins?: number, zoomFactor?: number): Promise<libcootApi.HistogramInfoJS>;
|
|
152
|
+
setMapWeight(weight?: number): Promise<_moorhen.WorkerResponse>;
|
|
153
|
+
estimateMapWeight(): Promise<void>;
|
|
154
|
+
setAlpha(alpha: number, redraw?: boolean): Promise<void>;
|
|
155
|
+
centreOnMap(): Promise<void>;
|
|
156
|
+
getSuggestedSettings(): Promise<void>;
|
|
157
|
+
duplicate(): Promise<_moorhen.Map>;
|
|
158
|
+
makeCootUnlive(): void;
|
|
159
|
+
makeCootLive(): void;
|
|
160
|
+
setColour(r: number, g: number, b: number, redraw?: boolean): Promise<void> ;
|
|
161
|
+
setDiffMapColour(type: 'positiveDiffColour' | 'negativeDiffColour', r: number, g: number, b: number, redraw?: boolean): Promise<void> ;
|
|
162
|
+
fetchMapRmsd(): Promise<number>;
|
|
163
|
+
fetchSuggestedLevel(): Promise<number>;
|
|
164
|
+
fetchMapCentre(): Promise<[number, number, number]>;
|
|
165
|
+
replaceMapWithMtzFile(fileUrl: RequestInfo | URL, name: string, selectedColumns: _moorhen.selectedMtzColumns, mapColour?: { [type: string]: {r: number, g: number, b: number} }): Promise<void>;
|
|
166
|
+
associateToReflectionData (selectedColumns: _moorhen.selectedMtzColumns, reflectionData: Uint8Array | ArrayBuffer): Promise<void>;
|
|
167
|
+
delete(): Promise<void>
|
|
168
|
+
doCootContour(x: number, y: number, z: number, radius: number, contourLevel: number): Promise<void>;
|
|
169
|
+
fetchReflectionData(): Promise<_moorhen.WorkerResponse<Uint8Array>>;
|
|
170
|
+
getMap(): Promise<_moorhen.WorkerResponse>;
|
|
171
|
+
loadToCootFromMtzURL(url: RequestInfo | URL, name: string, selectedColumns: _moorhen.selectedMtzColumns, options?: RequestInit): Promise<_moorhen.Map>;
|
|
172
|
+
loadToCootFromMapURL(url: RequestInfo | URL, name: string, isDiffMap?: boolean, options?: RequestInit): Promise<_moorhen.Map>;
|
|
173
|
+
setActive(): Promise<void>;
|
|
174
|
+
setupContourBuffers(objects: any[], keepCootColours?: boolean): void;
|
|
175
|
+
setOtherMapForColouring(molNo: number, min?: number, max?: number): void;
|
|
176
|
+
isEM: boolean;
|
|
177
|
+
suggestedContourLevel: number;
|
|
178
|
+
suggestedRadius: number;
|
|
179
|
+
mapCentre: [number, number, number];
|
|
180
|
+
type: string;
|
|
181
|
+
name: string;
|
|
182
|
+
molNo: number;
|
|
183
|
+
commandCentre: React.RefObject<_moorhen.CommandCentre>;
|
|
184
|
+
glRef: React.RefObject<webGL.MGWebGL>;
|
|
185
|
+
contourLevel: number;
|
|
186
|
+
mapRadius: number;
|
|
187
|
+
mapColour: [number, number, number, number];
|
|
188
|
+
webMGContour: boolean;
|
|
189
|
+
cootContour: boolean;
|
|
190
|
+
displayObjects: any;
|
|
191
|
+
litLines: boolean;
|
|
192
|
+
solid: boolean;
|
|
193
|
+
isDifference: boolean;
|
|
194
|
+
hasReflectionData: boolean;
|
|
195
|
+
selectedColumns: _moorhen.selectedMtzColumns;
|
|
196
|
+
associatedReflectionFileName: string;
|
|
197
|
+
uniqueId: string;
|
|
198
|
+
otherMapForColouring: {molNo: number, min: number, max: number};
|
|
199
|
+
mapRmsd: number;
|
|
200
|
+
suggestedMapWeight: number;
|
|
201
|
+
rgba: {
|
|
202
|
+
mapColour: {r: number, g: number, b: number};
|
|
203
|
+
positiveDiffColour: {r: number, g: number, b: number};
|
|
204
|
+
negativeDiffColour: {r: number, g: number, b: number};
|
|
205
|
+
a: number;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
module.exports.MoorhenMap = MoorhenMap
|
|
209
|
+
|
|
210
|
+
function getMoleculeBfactors(gemmiStructure: gemmi.Structure): { cid: string, bFactor: number, chainId: string, resNum: number, modelName: string }[];
|
|
211
|
+
module.exports = getMoleculeBfactors;
|
|
212
|
+
|
|
213
|
+
function loadSessionData(
|
|
214
|
+
sessionDataString: string,
|
|
215
|
+
monomerLibraryPath: string,
|
|
216
|
+
molecules: _moorhen.Molecule[],
|
|
217
|
+
maps: _moorhen.Map[],
|
|
218
|
+
commandCentre: React.RefObject<_moorhen.CommandCentre>,
|
|
219
|
+
timeCapsuleRef: React.RefObject<_moorhen.TimeCapsule>,
|
|
220
|
+
glRef: React.RefObject<webGL.MGWebGL>,
|
|
221
|
+
dispatch: (reduxStoreAction: any) => void,
|
|
222
|
+
): Promise<number>;
|
|
223
|
+
module.exports = loadSessionData;
|
|
224
|
+
|
|
225
|
+
function setDefaultBackgroundColor(arg0: [number, number, number, number]): any;
|
|
226
|
+
module.exports = setDefaultBackgroundColor;
|
|
227
|
+
|
|
228
|
+
function setDrawCrosshairs(arg0: boolean): any;
|
|
229
|
+
module.exports = setDrawCrosshairs;
|
|
230
|
+
|
|
231
|
+
function setDrawFPS(arg0: boolean): any;
|
|
232
|
+
module.exports = setDrawFPS;
|
|
233
|
+
|
|
234
|
+
function setDrawMissingLoops(arg0: boolean): any;
|
|
235
|
+
module.exports = setDrawMissingLoops;
|
|
236
|
+
|
|
237
|
+
function setDefaultBondSmoothness(arg0: number): any;
|
|
238
|
+
module.exports = setDefaultBondSmoothness;
|
|
239
|
+
|
|
240
|
+
function setDrawInteractions(arg0: boolean): any;
|
|
241
|
+
module.exports = setDrawInteractions;
|
|
242
|
+
|
|
243
|
+
function setDoSSAO(arg0: boolean): any;
|
|
244
|
+
module.exports = setDoSSAO;
|
|
245
|
+
|
|
246
|
+
function setSsaoRadius(arg0: number): any;
|
|
247
|
+
module.exports = setSsaoRadius;
|
|
248
|
+
|
|
249
|
+
function setSsaoBias(arg0: number): any;
|
|
250
|
+
module.exports = setSsaoBias;
|
|
251
|
+
|
|
252
|
+
function setResetClippingFogging(arg0: boolean): any;
|
|
253
|
+
module.exports = setResetClippingFogging;
|
|
254
|
+
|
|
255
|
+
function setClipCap(arg0: boolean): any;
|
|
256
|
+
module.exports = setClipCap;
|
|
257
|
+
|
|
258
|
+
function setUseOffScreenBuffers(arg0: boolean): any;
|
|
259
|
+
module.exports = setUseOffScreenBuffers;
|
|
260
|
+
|
|
261
|
+
function setDoShadowDepthDebug(arg0: boolean): any;
|
|
262
|
+
module.exports = setDoShadowDepthDebug;
|
|
263
|
+
|
|
264
|
+
function setDoShadow(arg0: boolean): any;
|
|
265
|
+
module.exports = setDoShadow;
|
|
266
|
+
|
|
267
|
+
function setDoSpinTest(arg0: boolean): any;
|
|
268
|
+
module.exports = setDoSpinTest;
|
|
269
|
+
|
|
270
|
+
function setDoOutline(arg0: boolean): any;
|
|
271
|
+
module.exports = setDoOutline;
|
|
272
|
+
|
|
273
|
+
function setDepthBlurRadius(arg0: number): any;
|
|
274
|
+
module.exports = setDepthBlurRadius;
|
|
275
|
+
|
|
276
|
+
function setDepthBlurDepth(arg0: number): any;
|
|
277
|
+
module.exports = setDepthBlurDepth;
|
|
278
|
+
|
|
279
|
+
function setDrawAxes(arg0: boolean): any;
|
|
280
|
+
module.exports = setDrawAxes;
|
|
281
|
+
|
|
282
|
+
function setDoPerspectiveProjection(arg0: boolean): any;
|
|
283
|
+
module.exports = setDoPerspectiveProjection;
|
|
284
|
+
|
|
285
|
+
function setEnableTimeCapsule(arg0: boolean): any;
|
|
286
|
+
module.exports = setEnableTimeCapsule;
|
|
287
|
+
|
|
288
|
+
function setMakeBackups(arg0: boolean): any;
|
|
289
|
+
module.exports = setMakeBackups;
|
|
290
|
+
|
|
291
|
+
function setMaxBackupCount(arg0: number): any;
|
|
292
|
+
module.exports = setMaxBackupCount;
|
|
293
|
+
|
|
294
|
+
function setModificationCountBackupThreshold(arg0: number): any;
|
|
295
|
+
module.exports = setModificationCountBackupThreshold;
|
|
296
|
+
|
|
297
|
+
function setHeight(arg0: number): any;
|
|
298
|
+
module.exports = setHeight;
|
|
299
|
+
|
|
300
|
+
function setWidth(arg0: number): any;
|
|
301
|
+
module.exports = setWidth;
|
|
302
|
+
|
|
303
|
+
function setIsDark(arg0: boolean): any;
|
|
304
|
+
module.exports = setIsDark;
|
|
305
|
+
|
|
306
|
+
function setBackgroundColor(arg0: [number, number, number, number]): any;
|
|
307
|
+
module.exports = setBackgroundColor;
|
|
308
|
+
|
|
309
|
+
function setNotificationContent(arg0: JSX.Element): any;
|
|
310
|
+
module.exports = setNotificationContent;
|
|
311
|
+
|
|
312
|
+
function setActiveMap(arg0: _moorhen.Map): any;
|
|
313
|
+
module.exports = setActiveMap;
|
|
314
|
+
|
|
315
|
+
function setCootInitialized(arg0: boolean): any;
|
|
316
|
+
module.exports = setCootInitialized;
|
|
317
|
+
|
|
318
|
+
function setAppTitle(arg0: string): any;
|
|
319
|
+
module.exports = setAppTitle;
|
|
320
|
+
|
|
321
|
+
function setUserPreferencesMounted(arg0: boolean): any;
|
|
322
|
+
module.exports = setUserPreferencesMounted;
|
|
323
|
+
|
|
324
|
+
function setDevMode(arg0: boolean): any;
|
|
325
|
+
module.exports = setDevMode;
|
|
326
|
+
|
|
327
|
+
function setTheme(arg0: string): any;
|
|
328
|
+
module.exports = setTheme;
|
|
329
|
+
|
|
330
|
+
function setViewOnly(arg0: boolean): any;
|
|
331
|
+
module.exports = setViewOnly;
|
|
332
|
+
|
|
333
|
+
function setCursorStyle(arg0: string): any;
|
|
334
|
+
module.exports = setCursorStyle;
|
|
335
|
+
|
|
336
|
+
function setEnableAtomHovering(arg0: boolean): any;
|
|
337
|
+
module.exports = setEnableAtomHovering;
|
|
338
|
+
|
|
339
|
+
function setHoveredAtom(arg0: {molecule: null | _moorhen.Molecule; cid: null | string}): any;
|
|
340
|
+
module.exports = setHoveredAtom;
|
|
341
|
+
|
|
342
|
+
function addAvailableFontList(arg0: string): any;
|
|
343
|
+
module.exports = addAvailableFontList;
|
|
344
|
+
|
|
345
|
+
function setAtomLabelDepthMode(arg0: boolean): any;
|
|
346
|
+
module.exports = setAtomLabelDepthMode;
|
|
347
|
+
|
|
348
|
+
function setGLLabelsFontFamily(arg0: string): any;
|
|
349
|
+
module.exports = setGLLabelsFontFamily;
|
|
350
|
+
|
|
351
|
+
function setGLLabelsFontSize(arg0: number): any;
|
|
352
|
+
module.exports = setGLLabelsFontSize;
|
|
353
|
+
|
|
354
|
+
function setDefaultMapSamplingRate(arg0: number): any;
|
|
355
|
+
module.exports = setDefaultMapSamplingRate;
|
|
356
|
+
|
|
357
|
+
function setDefaultMapLitLines(arg0: boolean): any;
|
|
358
|
+
module.exports = setDefaultMapLitLines;
|
|
359
|
+
|
|
360
|
+
function setMapLineWidth(arg0: number): any;
|
|
361
|
+
module.exports = setMapLineWidth;
|
|
362
|
+
|
|
363
|
+
function setDefaultMapSurface(arg0: boolean): any;
|
|
364
|
+
module.exports = setDefaultMapSurface;
|
|
365
|
+
|
|
366
|
+
function setDefaultExpandDisplayCards(arg0: boolean): any;
|
|
367
|
+
module.exports = setDefaultExpandDisplayCards;
|
|
368
|
+
|
|
369
|
+
function setTransparentModalsOnMouseOut(arg0: boolean): any;
|
|
370
|
+
module.exports = setTransparentModalsOnMouseOut;
|
|
371
|
+
|
|
372
|
+
function setEnableRefineAfterMod(arg0: boolean): any;
|
|
373
|
+
module.exports = setEnableRefineAfterMod;
|
|
374
|
+
|
|
375
|
+
function addMolecule(arg0: _moorhen.Molecule): any;
|
|
376
|
+
module.exports = addMolecule;
|
|
377
|
+
|
|
378
|
+
function removeMolecule(arg0: _moorhen.Molecule): any;
|
|
379
|
+
module.exports = removeMolecule;
|
|
380
|
+
|
|
381
|
+
function emptyMolecules(): any;
|
|
382
|
+
module.exports = emptyMolecules;
|
|
383
|
+
|
|
384
|
+
function addMoleculeList(arg0: _moorhen.Molecule[]): any;
|
|
385
|
+
module.exports = addMoleculeList;
|
|
386
|
+
|
|
387
|
+
function setContourWheelSensitivityFactor(arg0: number): any;
|
|
388
|
+
module.exports = setContourWheelSensitivityFactor;
|
|
389
|
+
|
|
390
|
+
function setZoomWheelSensitivityFactor(arg0: number): any;
|
|
391
|
+
module.exports = setZoomWheelSensitivityFactor;
|
|
392
|
+
|
|
393
|
+
function setMouseSensitivity(arg0: number): any;
|
|
394
|
+
module.exports = setMouseSensitivity;
|
|
395
|
+
|
|
396
|
+
function setShowShortcutToast(arg0: boolean): any;
|
|
397
|
+
module.exports = setShowShortcutToast;
|
|
398
|
+
|
|
399
|
+
function setShortcutOnHoveredAtom(arg0: boolean): any;
|
|
400
|
+
module.exports = setShortcutOnHoveredAtom;
|
|
401
|
+
|
|
402
|
+
function setShortCuts(arg0: string): any;
|
|
403
|
+
module.exports = setShortCuts;
|
|
404
|
+
|
|
405
|
+
function setShowScoresToast(arg0: boolean): any;
|
|
406
|
+
module.exports = setShowScoresToast;
|
|
407
|
+
|
|
408
|
+
function addMapUpdatingScore(arg0: _moorhen.Map): any;
|
|
409
|
+
module.exports = addMapUpdatingScore;
|
|
410
|
+
|
|
411
|
+
function removeMapUpdatingScore(arg0: _moorhen.Map): any;
|
|
412
|
+
module.exports = removeMapUpdatingScore;
|
|
413
|
+
|
|
414
|
+
function overwriteMapUpdatingScores(arg0: _moorhen.Map[]): any;
|
|
415
|
+
module.exports = overwriteMapUpdatingScores;
|
|
416
|
+
|
|
417
|
+
function addMap(arg0: _moorhen.Map): any;
|
|
418
|
+
module.exports = addMap;
|
|
419
|
+
|
|
420
|
+
function removeMap(arg0: _moorhen.Map): any;
|
|
421
|
+
module.exports = removeMap;
|
|
422
|
+
|
|
423
|
+
function emptyMaps(): any;
|
|
424
|
+
module.exports = emptyMaps;
|
|
425
|
+
|
|
426
|
+
function addMapList(arg0: _moorhen.Map[]): any;
|
|
427
|
+
module.exports = addMapList;
|
|
428
|
+
}
|