Skip to content

Commit c2bd8bd

Browse files
authored
Merge pull request #230 from adrn/fix-conesearch
Fix conesearch tutorial
2 parents 0dbda04 + 837617c commit c2bd8bd

File tree

1 file changed

+8
-16
lines changed

1 file changed

+8
-16
lines changed

tutorials/notebooks/vo/conesearch.ipynb

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@
1919
{
2020
"cell_type": "code",
2121
"execution_count": null,
22-
"metadata": {
23-
"collapsed": true
24-
},
22+
"metadata": {},
2523
"outputs": [],
2624
"source": [
2725
"# Python standard library\n",
@@ -125,9 +123,7 @@
125123
{
126124
"cell_type": "code",
127125
"execution_count": null,
128-
"metadata": {
129-
"collapsed": true
130-
},
126+
"metadata": {},
131127
"outputs": [],
132128
"source": [
133129
"result_tab.write('my_result.tex', format='ascii.latex')"
@@ -141,7 +137,7 @@
141137
"source": [
142138
"# Now use your favorite text editor to open the my_result.tex file.\n",
143139
"# For example:\n",
144-
"!more my_result.tex"
140+
"!cat my_result.tex"
145141
]
146142
},
147143
{
@@ -155,9 +151,7 @@
155151
{
156152
"cell_type": "code",
157153
"execution_count": null,
158-
"metadata": {
159-
"collapsed": true
160-
},
154+
"metadata": {},
161155
"outputs": [],
162156
"source": [
163157
"# Due to the unpredictability of external services,\n",
@@ -320,9 +314,7 @@
320314
{
321315
"cell_type": "code",
322316
"execution_count": null,
323-
"metadata": {
324-
"collapsed": true
325-
},
317+
"metadata": {},
326318
"outputs": [],
327319
"source": [
328320
"with warnings.catch_warnings():\n",
@@ -346,7 +338,7 @@
346338
"metadata": {},
347339
"outputs": [],
348340
"source": [
349-
"my_favorite_result = all_results['http://vizier.u-strasbg.fr/viz-bin/votable/-A?-out.all&-source=I/220/out&']\n",
341+
"my_favorite_result = all_results['http://vizier.u-strasbg.fr/viz-bin/conesearch/I/220/out?']\n",
350342
"print(my_favorite_result.array.data.dtype.names)\n",
351343
"print(my_favorite_result.array.data)"
352344
]
@@ -482,7 +474,7 @@
482474
"published": false
483475
},
484476
"kernelspec": {
485-
"display_name": "Python 3",
477+
"display_name": "Python [default]",
486478
"language": "python",
487479
"name": "python3"
488480
},
@@ -496,7 +488,7 @@
496488
"name": "python",
497489
"nbconvert_exporter": "python",
498490
"pygments_lexer": "ipython3",
499-
"version": "3.6.3"
491+
"version": "3.6.4"
500492
}
501493
},
502494
"nbformat": 4,

0 commit comments

Comments
 (0)