blob: 425cbe395cbfabec3c6e2cc2f3d5f45c9f90c600 (
plain) (
blame)
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
|
# What We Should Do
## Key:
- *Italics* are for optional tasks.
- Tasks without checkboxes are continuous.
- Completed task checkboxes should be filled with the letters:
Calum - C
Hafeez - H
Johannes - J
Josh - L
Tom - T
## Plan and organise
- [ ] Database Design
- [ ] Server Design
- Stand up Meetings and the shit like that (forgot the name for that)
## Create a Database for Storing Project Resources
- [ ] Storing Data
- [ ] Tabular Data
- [ ] Image Data
- [ ] *Plain text*
- [ ] *Other Binary Data*
- [ ] Fetching Data
- [ ] Filetype Conversion
- [ ] Take In `.czi` (*Zeiss*) Files
- [ ] Take In `.scn` (*Leica*) Files
- [ ] Take In `.xlsx` (*Microsoft Excel*) Files
- [ ] *Optimisations*
- [ ] *Profiling*
## Create a Node Server
- [ ] Create a ts node server implimenting the API below
- [J] Setup config files and dir structure
- [J] Run helloworld app
- [ ] Implement the HTTP calls needed for API
- [ ] Make tests for each call
## Implement the HCI-BE API
- [ ] Receiving Files to Store
- [ ] Handle HTTP
- [ ] Handle Database
- [ ] Sending Files in Response
- [ ] Handle HTTP
- [ ] Handle Database
- [ ] Error Handling
- [ ] Handle HTTP
- [ ] Handle Database
## Implement the ML-BE API
- [ ] Receiving Files to Store
- [ ] Handle HTTP
- [ ] Handle Database
- [ ] Sending Requests
- [ ] Handle HTTP
- [ ] Handle Database
- [ ] Error Handling
- [ ] Handle HTTP
- [ ] Handle Database
## Testing
- [ ] Basic Unit Test Coverage
- [ ] *Mock HCI*
- [ ] *Mock ML*
- [ ] *Extensive Unit Testing*
## Write Report
## General Notes
- Records should be in CSV format (UTF8)
- 1 Record per Line
- Fields separated by ,
- Every Record same # of fields
- First Row has labels
- Requests have the form of "/project/files/directory/file?filters"
- "file" is uuid or file-path
- "project" is project name
- "?" separates path from interface
- "filters" are a number of key-value pairs separated by &
- view
=meta : returns coloumns names and indexes
=file ORlack_of : actual data
- cols
=0,4,3 : specifies cols to filter
=* OR lack_of : all coloumns
- rowstart
=20 : first row to be included in search
default 0
- rowcount
=15 : number of rows to return
default all
- img_channel : index of colour channel
- img_zoomlevel : a number representing the 'zoom level' desired
- img_xoffset,img_yoffset: relative to top left corner, UNITS: 'real pixels', i.e. agnostic of zoom levels
- img_width : UNITS: 'real pixels', i.e. agnostic of zoom levels
- img_height : UNITS: 'real pixels', i.e. agnostic of zoom levels
- Post requests upload entire file
|