opentrons 0.0.6 → 0.0.7
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.
- checksums.yaml +4 -4
- data/lib/opentrons/commands.rb +2 -2
- data/lib/opentrons/instruments.rb +2 -2
- data/lib/opentrons/labware.rb +6 -6
- data/lib/opentrons/otprotocol.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a77773a36e9aa4599162b3f408d87107d4ca236f
|
|
4
|
+
data.tar.gz: 1707dd4342fa2c422c5512be2c5e723ad0423927
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 29b7c8e3bbde1cc9e22a50f766e6a76dfd69ac1ac6bb091d51013f198001cdd9e483b9c0cfcf396ef2037e1bb44a1bdafdcd21b6c60d388efc98f6a564cd1eb1
|
|
7
|
+
data.tar.gz: 0479cd16f2bf2675c595bd6518d626d36d72ca0341e6bee4415c26debb2785e72f1b08b6b491eeadf37c0ec3dc4bee035d52557163a30018e638dc8b552092a4
|
data/lib/opentrons/commands.rb
CHANGED
|
@@ -13,7 +13,7 @@ module OpenTrons
|
|
|
13
13
|
end
|
|
14
14
|
|
|
15
15
|
def to_s
|
|
16
|
-
"<
|
|
16
|
+
"<OpenTrons::Commands:0x#{self.__id__.to_s(16)}>"
|
|
17
17
|
end
|
|
18
18
|
|
|
19
19
|
def inspect
|
|
@@ -38,7 +38,7 @@ module OpenTrons
|
|
|
38
38
|
end
|
|
39
39
|
|
|
40
40
|
def to_s
|
|
41
|
-
"<
|
|
41
|
+
"<OpenTrons::Command:0x#{self.__id__.to_s(16)}>"
|
|
42
42
|
end
|
|
43
43
|
|
|
44
44
|
def inspect
|
|
@@ -63,7 +63,7 @@ module OpenTrons
|
|
|
63
63
|
end
|
|
64
64
|
|
|
65
65
|
def to_s
|
|
66
|
-
"<
|
|
66
|
+
"<OpenTrons::Instruments:0x#{self.__id__.to_s(16)}>"
|
|
67
67
|
end
|
|
68
68
|
|
|
69
69
|
def inspect
|
|
@@ -92,7 +92,7 @@ module OpenTrons
|
|
|
92
92
|
end
|
|
93
93
|
|
|
94
94
|
def to_s
|
|
95
|
-
"<
|
|
95
|
+
"<OpenTrons::Pipette:0x#{self.__id__.to_s(16)}>"
|
|
96
96
|
end
|
|
97
97
|
|
|
98
98
|
def inspect
|
data/lib/opentrons/labware.rb
CHANGED
|
@@ -5,7 +5,7 @@ module OpenTrons
|
|
|
5
5
|
def initialize(protocol)
|
|
6
6
|
@protocol = protocol
|
|
7
7
|
@labware_hash = {}
|
|
8
|
-
|
|
8
|
+
|
|
9
9
|
#TODO: Better system for dealing with labware defs, including user-specified.
|
|
10
10
|
@labware_definitions = []
|
|
11
11
|
directory = File.expand_path(File.dirname(__FILE__))
|
|
@@ -14,7 +14,7 @@ module OpenTrons
|
|
|
14
14
|
labware_definitions << JSON.parse(File.read(filename))
|
|
15
15
|
end
|
|
16
16
|
end
|
|
17
|
-
|
|
17
|
+
|
|
18
18
|
def load(model, slot, display_name="")
|
|
19
19
|
generated_id = ""
|
|
20
20
|
loop do
|
|
@@ -45,7 +45,7 @@ module OpenTrons
|
|
|
45
45
|
end
|
|
46
46
|
|
|
47
47
|
def to_s
|
|
48
|
-
"<
|
|
48
|
+
"<OpenTrons::Labware:#{object_id}>"
|
|
49
49
|
end
|
|
50
50
|
|
|
51
51
|
def inspect
|
|
@@ -95,7 +95,7 @@ module OpenTrons
|
|
|
95
95
|
end
|
|
96
96
|
return ArgumentError.new "Well #{location} is out of range."
|
|
97
97
|
else
|
|
98
|
-
return well_list
|
|
98
|
+
return well_list.flatten
|
|
99
99
|
end
|
|
100
100
|
end
|
|
101
101
|
|
|
@@ -108,7 +108,7 @@ module OpenTrons
|
|
|
108
108
|
end
|
|
109
109
|
|
|
110
110
|
def to_s
|
|
111
|
-
"<
|
|
111
|
+
"<OpenTrons::LabwareItem:0x#{self.__id__.to_s(16)}>"
|
|
112
112
|
end
|
|
113
113
|
|
|
114
114
|
def inspect
|
|
@@ -146,7 +146,7 @@ module OpenTrons
|
|
|
146
146
|
end
|
|
147
147
|
|
|
148
148
|
def to_s
|
|
149
|
-
"<
|
|
149
|
+
"<OpenTrons::Well:0x#{self.__id__.to_s(16)}>"
|
|
150
150
|
end
|
|
151
151
|
|
|
152
152
|
def inspect
|
data/lib/opentrons/otprotocol.rb
CHANGED