Skip to content

Commit

Permalink
Commenting out download_atom_data to test cache atomic data
Browse files Browse the repository at this point in the history
  • Loading branch information
KasukabeDefenceForce committed May 29, 2024
1 parent 0cacc1f commit 472cd20
Show file tree
Hide file tree
Showing 20 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion docs/contributing/tools/profiling/profiling_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
"\n",
"from tardis import run_tardis\n",
"from tardis.io.atom_data.util import download_atom_data\n",
"download_atom_data('kurucz_cd23_chianti_H_He')"
"# download_atom_data('kurucz_cd23_chianti_H_He')"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"from tardis.simulation import Simulation\n",
"from tardis import run_tardis\n",
"from tardis.io.atom_data.util import download_atom_data\n",
"download_atom_data('kurucz_cd23_chianti_H_He')\n",
"# download_atom_data('kurucz_cd23_chianti_H_He')\n",
"\n",
"import time\n",
"import numpy as np\n",
Expand Down
2 changes: 1 addition & 1 deletion docs/io/grid/how_to_TardisGridTutorial.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"outputs": [],
"source": [
"# We download the atomic data needed to run a TARDIS simulation\n",
"download_atom_data('kurucz_cd23_chianti_H_He')\n"
"# download_atom_data('kurucz_cd23_chianti_H_He')\n"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/io/optional/how_to_custom_source.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"outputs": [],
"source": [
"# Download the atomic data used for a run of TARDIS\n",
"download_atom_data(\"kurucz_cd23_chianti_H_He\")"
"# download_atom_data(\"kurucz_cd23_chianti_H_He\")"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/io/optional/tutorial_callback_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"from tardis.io.atom_data.util import download_atom_data\n",
"\n",
"# We download the atomic data needed to run the simulation\n",
"download_atom_data('kurucz_cd23_chianti_H_He')\n",
"# download_atom_data('kurucz_cd23_chianti_H_He')\n",
"\n",
"# We run the simulation with our callback\n",
"sim = run_tardis('tardis_example.yml', \n",
Expand Down
2 changes: 1 addition & 1 deletion docs/io/optional/tutorial_logging_configuration.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"outputs": [],
"source": [
"# We download the atomic data needed to run the simulation\n",
"download_atom_data('kurucz_cd23_chianti_H_He')"
"# download_atom_data('kurucz_cd23_chianti_H_He')"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/io/output/how_to_physical_quantities.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"source": [
"# Download the atomic data\n",
"from tardis.io.atom_data.util import download_atom_data\n",
"download_atom_data('kurucz_cd23_chianti_H_He')\n",
"# download_atom_data('kurucz_cd23_chianti_H_He')\n",
"\n",
"# Download the example configuration file\n",
"!curl -O https://raw.githubusercontent.com/tardis-sn/tardis/master/docs/tardis_example.yml"
Expand Down
2 changes: 1 addition & 1 deletion docs/io/output/how_to_plasma_graph.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"outputs": [],
"source": [
"#downloading atom data\n",
"download_atom_data('kurucz_cd23_chianti_H_He')"
"# download_atom_data('kurucz_cd23_chianti_H_He')"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/io/output/how_to_rpacket_tracking.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@
"metadata": {},
"outputs": [],
"source": [
"download_atom_data('kurucz_cd23_chianti_H_He')"
"# download_atom_data('kurucz_cd23_chianti_H_He')"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/io/output/how_to_to_hdf.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"from tardis.io.atom_data.util import download_atom_data\n",
"\n",
"# We download the atomic data needed to run the simulation\n",
"download_atom_data('kurucz_cd23_chianti_H_He')\n",
"# download_atom_data('kurucz_cd23_chianti_H_He')\n",
"\n",
"# We run the simulation\n",
"simulation = run_tardis('tardis_example.yml')"
Expand Down
4 changes: 2 additions & 2 deletions docs/io/visualization/how_to_generating_widgets.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"from tardis.io.atom_data.util import download_atom_data\n",
"\n",
"# We download the atomic data needed to run the simulation\n",
"download_atom_data(\"kurucz_cd23_chianti_H_He\")\n",
"# download_atom_data(\"kurucz_cd23_chianti_H_He\")\n",
"\n",
"sim = run_tardis(\"tardis_example.yml\", virtual_packet_logging=True)"
]
Expand Down Expand Up @@ -254,7 +254,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.10"
"version": "3.11.5"
},
"notify_time": "5",
"toc": {
Expand Down
2 changes: 1 addition & 1 deletion docs/io/visualization/how_to_sdec_plot.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"from tardis.io.atom_data.util import download_atom_data\n",
"\n",
"# We download the atomic data needed to run the simulation\n",
"download_atom_data('kurucz_cd23_chianti_H_He')\n",
"# download_atom_data('kurucz_cd23_chianti_H_He')\n",
"\n",
"sim = run_tardis(\"tardis_example.yml\", virtual_packet_logging=True)\n"
]
Expand Down
2 changes: 1 addition & 1 deletion docs/io/visualization/tutorial_convergence_plot.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"from tardis.io.atom_data.util import download_atom_data\n",
"\n",
"# We download the atomic data needed to run the simulation\n",
"download_atom_data('kurucz_cd23_chianti_H_He')\n",
"# download_atom_data('kurucz_cd23_chianti_H_He')\n",
"\n",
"# We run a simulation\n",
"sim = run_tardis('tardis_example.yml', show_convergence_plots=True, export_convergence_plots=True)"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"outputs": [],
"source": [
"# Download atom data\n",
"download_atom_data('kurucz_cd23_chianti_H_He')"
"# download_atom_data('kurucz_cd23_chianti_H_He')"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/multiindex_isotope_decay_data.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
],
"source": [
"# Download the atom data file from tardis-refdata repo to run this cell.\n",
"download_atom_data('kurucz_cd23_chianti_H_He')\n",
"# download_atom_data('kurucz_cd23_chianti_H_He')\n",
"atom_data_file = 'kurucz_cd23_chianti_H_He.h5'\n",
"atom_data = AtomData.from_hdf(atom_data_file)"
]
Expand Down
2 changes: 1 addition & 1 deletion docs/physics/setup/model.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"import copy\n",
"\n",
"# We download the atomic data needed to run the simulation\n",
"download_atom_data('kurucz_cd23_chianti_H_He')\n",
"# download_atom_data('kurucz_cd23_chianti_H_He')\n",
"atom_data = AtomData.from_hdf('kurucz_cd23_chianti_H_He.h5')"
]
},
Expand Down
2 changes: 1 addition & 1 deletion docs/physics/setup/setup_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"from tardis.io.atom_data.util import download_atom_data\n",
"\n",
"# We download the atomic data needed to run the simulation\n",
"download_atom_data('kurucz_cd23_chianti_H_He')"
"# download_atom_data('kurucz_cd23_chianti_H_He')"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/physics/spectrum/basic.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"outputs": [],
"source": [
"# We download the atomic data needed to run the simulation\n",
"download_atom_data('kurucz_cd23_chianti_H_He')"
"# download_atom_data('kurucz_cd23_chianti_H_He')"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/physics/update_and_conv/update_and_conv.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@
"from astropy import units as u, constants as const\n",
"\n",
"# We download the atomic data needed to run this notebook\n",
"download_atom_data('kurucz_cd23_chianti_H_He')"
"# download_atom_data('kurucz_cd23_chianti_H_He')"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion docs/quickstart.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"metadata": {},
"outputs": [],
"source": [
"download_atom_data('kurucz_cd23_chianti_H_He')"
"# download_atom_data('kurucz_cd23_chianti_H_He')"
]
},
{
Expand Down

0 comments on commit 472cd20

Please sign in to comment.