-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathrack_status.py
37 lines (36 loc) · 1.81 KB
/
rack_status.py
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
import pandas as pd
import robotics as ro
# These are the location settings for the rack that contains the existing polymers
# If a polymer does not exist in this list, then respond "Experiment cannot be initiated."
ro.runtime['rack_status'] = {
'vial': pd.DataFrame(
[ # These are the location settings for the rack that contains the solvents and the polymers
# A 6x8 rack, top-left corner is at index [0,0]
# e.g., 'NaCl' is at index [0,1] of the rack
# 'None' means empty, 'False' means do not use (keep empty).
['water_gap', 'NaCl', None, None, None, None, None, None],
[False, None, 'polymer_A', None, None, None, None, None],
[False, None, None, 'carbon_black', None, None, None, None],
[None, None, False, None, None, None, None, None],
[None, None, False, None, None, None, None, None],
[None, None, None, None, None, None, None, None],
]
),
'substrate': pd.DataFrame(
[ # These are the location settings for the rack that contains the substrates
# A 12x6 rack, 'new' means new, unused substrate
['new', 'new', 'new', 'new', 'new', 'new'],
['new', 'new', 'new', 'new', 'new', 'new'],
['new', 'new', 'new', 'new', 'new', 'new'],
['new', 'new', 'new', 'new', 'new', 'new'],
['new', 'new', 'new', 'new', 'new', 'new'],
['new', 'new', 'new', 'new', 'new', 'new'],
['new', 'new', 'new', 'new', 'new', 'new'],
['new', 'new', 'new', 'new', 'new', 'new'],
['new', 'new', 'new', 'new', 'new', 'new'],
['new', 'new', 'new', 'new', 'new', 'new'],
['new', 'new', 'new', 'new', 'new', 'new'],
['new', 'new', 'new', 'new', 'new', 'new'],
]
),
}