-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathoptions.coffee
108 lines (104 loc) · 3.57 KB
/
options.coffee
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
NestedModel = require './core/nested-model'
class Options extends NestedModel
defaults: ->
INITIAL_SUMMARY_ROWS: 1000
NUM_SEPARATOR: ','
NUM_CHUNK_SIZE: 3
MAX_PIE_SLICES: 15
DropdownMax: 20
DefaultPageSize: 25
DynamicObjects:
NameDelimiter: ' / '
CodeGen:
Default: 'py'
Langs: ['py', 'pl', 'java', 'rb', 'js', 'xml']
Extra:
js: 'codegen.AsHTML'
ListFreshness: 250 # Number of milliseconds lists requests will be considered fresh for.
MaxSuggestions: 1000 # Max number of suggestions to fetch and show when editing constraints.
ListCategorisers: ['organism.name', 'department.company.name']
PieColors: 'category10'
TableResults:
CacheFactor: 10
RequestLimit: 5000 # Dump the cache rather than request more rows than this
TableHeader:
FullPathPopoverEnabled: true
TableCell:
AddDataClasses: true
PreviewTrigger: 'hover' # 'hover' # one of: hover, click
HoverDelay: 200 # ms
IndicateOffHostLinks: true
ExternalLinkIcons:
"http://some.host.somewhere": "http://some.host.somewhere/logo.png"
ItemDetails:
ShowReferenceCounts: false # Shows referenced collections in preview popover
Fields: {}
Count: {}
StylePrefix: 'imtables'
SuggestionDepth: 2 # When suggestion paths, follow up to this many references.
Events:
ActivateTab: 'mouseenter' # 'mouseenter' # or click
Subtables:
Initially:
expanded: false # Set to true to show all subtables by default.
Facets:
DrawAverageLine: true
Initially:
Open: true # set to false to show them closed, initially.
Destinations: ['download', 'Galaxy', 'GenomeSpace', 'Drive', 'Dropbox']
Destination:
download:
Enabled: true
Galaxy:
Main: "http://main.g2.bx.psu.edu"
Current: null
Tool: 'flymine' # The tool we should use to send data to Galaxy
Save: false
Enabled: true # Set this to false to disable this export destination
GenomeSpace:
Upload: "https://gsui.genomespace.org/jsui/upload/loadUrlToGenomespace.html"
Enabled: true # Set this to false to disable this export destination
Drive:
Library: 'https://apis.google.com/js/client.js'
Enabled: false # To enable, set this to true and provide auth.drive
Dropbox:
Library: 'https://www.dropbox.com/static/api/2/dropins.js'
Enabled: false # To enable, set this to true and provide auth.dropbox
ShowId: false
TableWidgets: # The widgets we render for the standard table.
Pagination:
enabled: true
index: 0
PageSizer:
enabled: true
index: 1
TableSummary:
enabled: true
index: 2
CellCutoff: 100
ShowHistory: true
icons: 'fontawesome' # or glyphicons
D3:
Transition:
Easing: 'exp' # one of linear, quad, cubic, sin, exp, circle, elastic, back, bounce
Duration: 500
DurationShort: 200
brand: # keys cannot have dots in them, hence the weirdo uris
"http://www_flymine_org/query/service/":
name: "FlyMine"
"http://preview_flymine_org/preview/service/":
name: "FlyMine-Preview"
"http://www_mousemine_org/mousemine/service/":
name: "MouseMine (MGI)"
Formatters:
testmodel: {}
genomic: {}
ColumnManager:
SelectColumn:
Multi: true
UndoHistory:
ShowAllStatesCutOff: 6
# Export the main instance.
module.exports = new Options
# Export the constructor, for testing and such.
module.exports.Options = Options