Skip to content

Commit

Permalink
fix: add missing chandra file for demo
Browse files Browse the repository at this point in the history
  • Loading branch information
ManonMarchand committed Nov 6, 2024
1 parent 3b3d023 commit 08814d9
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 158 deletions.
14 changes: 8 additions & 6 deletions content/04-adass2024-ipyaladin-demo.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,13 @@
"metadata": {},
"outputs": [],
"source": [
"import micropip\n",
"from pathlib import Path\n",
"# cdshealpix and mocpy install\n",
"whl_paths = list(Path.cwd().glob(pattern=\"pyodide/wheels/*\"))\n",
"await micropip.install(\"emfs:\" + str(path) for path in whl_paths)"
"import micropip, http.client, pyodide_http\n",
"await micropip.install([\"ssl\",\"https://files.pythonhosted.org/packages/c3/c8/d74794dff5c6802994d3dfe506d691d9e0ff3e6b2f34df577899685b2617/astroquery-0.4.7.dev9008-py3-none-any.whl\",\n",
" \"https://rawcdn.githack.com/cds-astro/jupyterlite/cea7bf366dd077953acc578cbb63f2319793a018/content/pyodide/wheels/cdshealpix-0.6.5-cp311-cp311-emscripten_3_1_46_wasm32.whl\",\n",
" \"https://rawcdn.githack.com/cds-astro/jupyterlite/cea7bf366dd077953acc578cbb63f2319793a018/content/pyodide/wheels/mocpy-0.13.1-cp311-cp311-emscripten_3_1_46_wasm32.whl\"])\n",
"pyodide_http.patch_all()\n",
"from importlib import reload\n",
"reload(http.client);"
]
},
{
Expand Down Expand Up @@ -153,7 +155,7 @@
"metadata": {},
"outputs": [],
"source": [
"aladin.add_fits(\"chandra.fits\", name=\"chandra\")"
"aladin.add_fits(\"data/chandra.fits\", name=\"chandra\")"
]
},
{
Expand Down
8 changes: 8 additions & 0 deletions content/data/chandra.fits

Large diffs are not rendered by default.

151 changes: 0 additions & 151 deletions content/data/iris.csv

This file was deleted.

3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ plotly>=5,<6
pyodide-http>=0.2.1

# CDS and/or astro libraries
ipyaladin>=0.3.0
ipyaladin>=0.5.1
astropy
regions
astroquery @ https://files.pythonhosted.org/packages/01/40/f8a4ba92b3dd02695f9670f937db3849028ab976c067db4ed589ba438e6b/astroquery-0.4.8.dev9321-py3-none-any.whl

0 comments on commit 08814d9

Please sign in to comment.