Skip to content

Commit 0187b7c

Browse files
author
Kadee80
committed
2 parents a1f7da7 + fea3f2e commit 0187b7c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+1668
-493
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
sudo: false
22
language: python
33
python:
4-
- '3.4'
4+
- '3.5'
55
before_install:
66
- openssl aes-256-cbc -K $encrypted_f176ff9ac49f_key -iv $encrypted_f176ff9ac49f_iv -in .pypirc.enc -out $HOME/.pypirc -d
77
install:

appveyor.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ environment:
66
CMD_IN_ENV: "cmd /E:ON /V:ON /C .\\appveyor\\run_with_env.cmd"
77

88
matrix:
9-
- PYTHON: "C:\\Python34-x64"
10-
PYTHON_VERSION: "3.4.x" # currently 3.4.3
9+
- PYTHON: "C:\\Python35-x64"
10+
PYTHON_VERSION: "3.5.x" # currently 3.4.3
1111
PYTHON_ARCH: "64"
1212

1313
- PYTHON: "C:\\Python35-x64"

conda.recipe/meta.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,17 @@ source:
1717

1818
requirements:
1919
build:
20+
- dill
2021
- python
21-
- setuptools
2222
- pyserial
23+
- requests
24+
- setuptools
2325

2426
run:
27+
- dill
2528
- python
2629
- pyserial
30+
- requests
2731

2832
test:
2933
# Python imports

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@
147147
'github_user': 'OpenTrons',
148148
'github_repo': 'opentrons-api',
149149
'github_button': 'True',
150-
'analytics_id': 'UA-83820700-1',
150+
# 'analytics_id': 'UA-83820700-1',
151151
'description': 'Simple Biology Lab Protocol Coding',
152152
'link': '#006FFF',
153153
'link_hover': '#05C1B3',

docs/source/labware_library.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ tube-rack-.75ml
9696

9797
**Accessing Tubes:** *single channel* ``[‘A1’]-[‘D6’]``
9898

99-
..image:: img/labware_lib/Tuberack-0.75ml.png
99+
.. image:: img/labware_lib/Tuberack-075ml.png
100100

101101

102102
tube-rack-2ml
@@ -116,7 +116,7 @@ rack that holds 6 15 mL tubes and 4 50 mL tubes
116116

117117
**Accessing Tubes:** *single channel* ``[‘A1’]-[‘A3’], [‘B1’]-[‘B3’], [‘C1’]-[‘C2’], [‘D1’]-[‘D2’]``
118118

119-
..image:: img/labware_lib/Tuberack-15-50ml.png
119+
.. image:: img/labware_lib/Tuberack-15-50ml.png
120120

121121

122122
Plates

docs/source/static/override_master.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,12 @@ div#nav-spacer {
99

1010
div#nav-spacer.nav-open {
1111
height: 150px;
12+
}
13+
14+
@media screen and (max-width: 875px),
15+
(max-device-width: 767px) {
16+
header{
17+
top: 0px;
18+
left: 0px;
19+
}
1220
}

docs/source/static/override_sphinx.css

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ body {
66
font-family: "Open Sans", "sans-serif";
77
}
88

9+
910
/* DOCS */
1011

1112
div.body p {
@@ -45,10 +46,12 @@ div.body h2 {
4546

4647
@media screen and (max-width: 875px),
4748
(max-device-width: 767px) {
48-
body {
49-
margin: 0;
49+
50+
51+
body{
5052
padding: 20px 30px;
5153
}
54+
5255
div.documentwrapper {
5356
float: none;
5457
background: #fff;
@@ -114,7 +117,7 @@ div.body h2 {
114117
pre,
115118
tt,
116119
code {
117-
font-size: 1.5em;
120+
font-size: 1em;
118121
}
119122
}
120123

@@ -139,9 +142,12 @@ ul ul {
139142
pre,
140143
tt,
141144
code {
142-
font-size: 2em;
145+
font-size: 14px;
143146
}
144147
}
145148

146-
147-
149+
/* Fixes overflowing grey box for autogenerated methods */
150+
table.docutils.field-list {
151+
max-width: 595px;
152+
background-color: white;
153+
}

docs/source/templates/layout.html

Lines changed: 42 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
{%- extends "basic/layout.html" %}
2-
{% set css_files = css_files + ['https://opentrons.com/css/master.css'] + ['_static/override_master.css'] + ['_static/override_sphinx.css'] %}
3-
4-
5-
{%- block extrahead %} {{ super() }}
1+
{%- extends "basic/layout.html" %} {% set css_files = css_files + ['https://opentrons.com/css/master.css'] + ['_static/override_master.css'] + ['_static/override_sphinx.css'] %} {%- block extrahead %} {{ super() }}
62
<link rel="stylesheet" href="{{ pathto('_static/custom.css', 1) }}" type="text/css" /> {% if theme_touch_icon %}
73
<link rel="apple-touch-icon" href="{{ pathto('_static/' ~ theme_touch_icon, 1) }}" /> {% endif %} {% if theme_canonical_url %}
84
<link rel="canonical" href="{{ theme_canonical_url }}{{ pagename }}.html" /> {% endif %}
@@ -230,68 +226,57 @@ <h1 class="title">Get In Touch</h1>
230226
</footer>
231227
<script>
232228
$(document).ready(function() {
233-
$(".footerForm").submit(function(event) {
234-
var data = {};
235-
$(".footerForm").serializeArray().map(function(x) {
236-
data[x.name] = x.value;
237-
});
238-
ga('send', 'event', 'Contact - Email', 'Clicked Email Submit', window.location.href, {
239-
'dimension1': data.email
240-
});
241-
console.log(data)
242229

243-
$.ajax({
244-
type: "POST",
245-
url: "https://email.opentrons.com:3000",
246-
dataType: "json",
247-
contentType: "application/json",
248-
data: JSON.stringify(data),
249-
success: function(res) {
250-
console.log(`success: ${res}`);
251-
$(".footerForm").fadeOut("slow");
252-
$(".caption")[0].innerHTML = "Thanks for contacting us! We'll get back to you as quick as we can.";
253-
},
254-
error: function(err) {
255-
console.log(`err: ${JSON.stringify(err)}`)
256-
},
257-
});
230+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
231+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
232+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
233+
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
258234

259-
event.preventDefault();
260-
});
235+
ga('create', 'UA-83820700-1', 'auto');
236+
ga('send', 'pageview');
261237

262-
$("form.validate").submit(function(event) {
263-
var data = {};
264-
$("form.validate").serializeArray().map(function(x) {
265-
data[x.name] = x.value;
266-
});
267-
ga('send', 'event', 'Newsletter', 'Signup', window.location.href, {
268-
'dimension1': data.EMAIL
269-
})
238+
$(".footerForm").submit(function(event) {
239+
event.preventDefault();
240+
var data = {};
241+
$(".footerForm").serializeArray().map(function(x){data[x.name] = x.value;});
242+
ga('send', 'event', 'Contact - Email', 'Clicked Email Submit', window.location.href, { 'dimension1': data.email });
243+
console.log(data)
244+
245+
$.ajax({
246+
type: "POST",
247+
url: "https://email.opentrons.com:3000",
248+
dataType: "json",
249+
contentType : "application/json",
250+
data: JSON.stringify(data),
251+
success: function(res) {
252+
console.log(`success: ${res}`);
253+
$(".footerForm").fadeOut("slow");
254+
$(".caption")[0].innerHTML = "Thanks for contacting us! We'll get back to you as quick as we can.";
255+
},
256+
error: function(err) { console.log(`err: ${JSON.stringify(err)}`) },
270257
});
271258

272-
$('#chat').on('click', () => {
273-
Intercom('showNewMessage');
274-
})
259+
260+
return false;
261+
});
262+
263+
$("form.validate").submit(function(event) {
264+
var data = {};
265+
$("form.validate").serializeArray().map(function(x){data[x.name] = x.value;});
266+
// ga('send', 'event', 'Newsletter', 'Signup', window.location.href, { 'dimension1': data.EMAIL })
267+
});
268+
269+
$('#chat').on('click', () => {
270+
Intercom('showNewMessage');
271+
})
275272
});
276273
</script>
274+
275+
277276
{% if theme_github_banner|lower != 'false' %}
278277
<a href="https://github.com/{{ theme_github_user }}/{{ theme_github_repo }}" class="github">
279278
<img style="position: absolute; top: 0; right: 0; border: 0;" src="{{ pathto('_static/' ~ theme_github_banner, 1) if theme_github_banner|lower != 'true' else 'https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png' }}" alt="Fork me on GitHub" class="github" />
280279
</a>
281280
{% endif %} {% if theme_analytics_id %}
282-
<script type="text/javascript">
283-
var _gaq = _gaq || [];
284-
_gaq.push(['_setAccount', '{{ theme_analytics_id }}']);
285-
_gaq.push(['_setDomainName', 'none']);
286-
_gaq.push(['_setAllowLinker', true]);
287-
_gaq.push(['_trackPageview']);
288-
(function() {
289-
var ga = document.createElement('script');
290-
ga.type = 'text/javascript';
291-
ga.async = true;
292-
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
293-
var s = document.getElementsByTagName('script')[0];
294-
s.parentNode.insertBefore(ga, s);
295-
})();
296-
</script>
281+
297282
{% endif %} {%- endblock %}

docs/source/well_access.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ You can also split the coordinates for the rows and columns and use either ``.ro
5454
plate.cols[0][0] # A1
5555

5656
plate.rows[0][1] # B1
57-
plate.cols[1][0] # A2
57+
plate.cols[0][1] # A2
5858

5959

6060
Rows

0 commit comments

Comments
 (0)