Skip to content

Commit 087f832

Browse files
committed
Change examples of four functions
1 parent 83887db commit 087f832

File tree

1 file changed

+18
-22
lines changed

1 file changed

+18
-22
lines changed

13-tutorial.ipynb

Lines changed: 18 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,6 @@
4646
"qm.save_mine_and_token(\"flymine\",\"41v6bat743zf06jcXek5\")"
4747
]
4848
},
49-
{
50-
"cell_type": "markdown",
51-
"metadata": {},
52-
"source": [
53-
"<xxx>"
54-
]
55-
},
5649
{
5750
"cell_type": "markdown",
5851
"metadata": {},
@@ -68,9 +61,12 @@
6861
},
6962
"outputs": [
7063
{
71-
"output_type": "stream",
72-
"name": "stdout",
73-
"text": "The query name exists\nUse a query name other than test\n"
64+
"output_type": "execute_result",
65+
"data": {
66+
"text/plain": "'test is posted'"
67+
},
68+
"metadata": {},
69+
"execution_count": 3
7470
}
7571
],
7672
"source": [
@@ -88,7 +84,7 @@
8884
},
8985
{
9086
"cell_type": "code",
91-
"execution_count": 5,
87+
"execution_count": 4,
9288
"metadata": {},
9389
"outputs": [
9490
{
@@ -97,7 +93,7 @@
9793
"text/plain": "'Organism_Sequence, test'"
9894
},
9995
"metadata": {},
100-
"execution_count": 5
96+
"execution_count": 4
10197
}
10298
],
10399
"source": [
@@ -113,52 +109,52 @@
113109
},
114110
{
115111
"cell_type": "code",
116-
"execution_count": 6,
112+
"execution_count": 5,
117113
"metadata": {},
118114
"outputs": [
119115
{
120116
"output_type": "execute_result",
121117
"data": {
122-
"text/plain": "'No such query available'"
118+
"text/plain": "'<saved-queries><query name=\"test\" model=\"genomic\" view=\"Gene.length Gene.symbol\" longDescription=\"\" sortOrder=\"Gene.length asc\"></query></saved-queries>'"
123119
},
124120
"metadata": {},
125-
"execution_count": 6
121+
"execution_count": 5
126122
}
127123
],
128124
"source": [
129-
"qm.get_query('queryName')"
125+
"qm.get_query('test')"
130126
]
131127
},
132128
{
133129
"cell_type": "markdown",
134130
"metadata": {},
135131
"source": [
136-
"'''returns information about the query whose name is 'queryName'''"
132+
"'''returns information about the query whose name is 'test'''"
137133
]
138134
},
139135
{
140136
"cell_type": "code",
141-
"execution_count": 7,
137+
"execution_count": 6,
142138
"metadata": {},
143139
"outputs": [
144140
{
145141
"output_type": "execute_result",
146142
"data": {
147-
"text/plain": "'No such query available'"
143+
"text/plain": "'test is deleted'"
148144
},
149145
"metadata": {},
150-
"execution_count": 7
146+
"execution_count": 6
151147
}
152148
],
153149
"source": [
154-
"qm.delete_query('queryName')"
150+
"qm.delete_query('test')"
155151
]
156152
},
157153
{
158154
"cell_type": "markdown",
159155
"metadata": {},
160156
"source": [
161-
"'''deletes the query whose name is 'queryName' from user's account'''"
157+
"'''deletes the query whose name is 'test' from user's account'''"
162158
]
163159
},
164160
{

0 commit comments

Comments
 (0)