-
Notifications
You must be signed in to change notification settings - Fork 0
/
constants.js
32 lines (32 loc) · 1.14 KB
/
constants.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
module.exports = {
// Scales
SCALE_LINEAR: 'SCALE_LINEAR',
SCALE_LOG: 'SCALE_LOG',
SCALE_BIEXP: 'SCALE_BIEXP',
SCALE_ARCSIN: 'SCALE_ARCSIN',
// Machine Types
MACHINE_CYTOF: 'CYTOF',
MACHINE_FLORESCENT: 'FLORESCENT',
// Gate types
GATE_TYPE_POLYGON: 'GATE_TYPE_POLYGON',
GATE_TYPE_NEGATIVE: 'GATE_TYPE_NEGATIVE',
GATE_TYPE_COMBO: 'GATE_TYPE_COMBO',
GATE_TYPE_DOUBLE_ZERO: 'GATE_TYPE_DOUBLE_ZERO',
// Gate creators
GATE_CREATOR_MANUAL: 'GATE_CREATOR_MANUAL',
GATE_CREATOR_PERSISTENT_HOMOLOGY: 'GATE_CREATOR_PERSISTENT_HOMOLOGY',
// Gate error handlers
GATING_ERROR_HANDLER_AUTO_ANCHORING: 'GATING_ERROR_HANDLER_AUTO_ANCHORING',
GATING_ERROR_HANDLER_MANUAL: 'GATING_ERROR_HANDLER_MANUAL',
GATING_ERROR_HANDLER_IGNORE: 'GATING_ERROR_HANDLER_IGNORE',
// Status / exit codes for generic use
STATUS_SUCCESS: 'STATUS_SUCCESS',
STATUS_FAIL: 'STATUS_FAIL',
// Keyboard character codes
CHARACTER_CODE_ESCAPE: 27,
CHARACTER_CODE_LEFT_ARROW: 37,
CHARACTER_CODE_UP_ARROW: 38,
CHARACTER_CODE_RIGHT_ARROW: 39,
CHARACTER_CODE_DOWN_ARROW: 40,
CHARACTER_CODE_ENTER: 13
}