Skip to content

Commit

Permalink
Fixed outputpara issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphael Shirley committed Apr 5, 2024
1 parent 157ae64 commit 2575e55
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions docs/notebooks/Example_full_run.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"#Get the auxiliary files required.\n",
"lp.data_retrieval.get_auxiliary_data(\n",
" keymap=keymap,\n",
" additional_files=[\"examples/COSMOS.in\",\"examples/config.yml\"])"
" additional_files=[\"examples/COSMOS.in\",\"examples/config.yml\",\"examples/output.para\"])"
]
},
{
Expand Down Expand Up @@ -509,7 +509,7 @@
"metadata": {},
"outputs": [],
"source": [
"t = photz.build_output_tables(photozlist[:100], para_out='./data/output.para', filename=\"outputpython.fits\")"
"t = photz.build_output_tables(photozlist[:100], para_out=None, filename=\"outputpython.fits\")"
]
},
{
Expand Down Expand Up @@ -537,9 +537,9 @@
"metadata": {},
"outputs": [],
"source": [
"# import time\n",
"import time\n",
"\n",
"# photz.write_outputs(photozlist[:100], int(time.time()))"
"photz.write_outputs(photozlist[:100], int(time.time()))"
]
},
{
Expand All @@ -557,12 +557,12 @@
"metadata": {},
"outputs": [],
"source": [
"# from os import listdir\n",
"# from os.path import isfile, join\n",
"from os import listdir\n",
"from os.path import isfile, join\n",
"\n",
"# listname = [f for f in listdir(\"save_spec\") if isfile(join(\"save_spec\", f))]\n",
"# for namefile in listname:\n",
"# lp.plotspec(\"save_spec/\" + str(namefile))"
"listname = [f for f in listdir(\"save_spec\") if isfile(join(\"save_spec\", f))]\n",
"for namefile in listname:\n",
" lp.plotspec(\"save_spec/\" + str(namefile))"
]
}
],
Expand Down

0 comments on commit 2575e55

Please sign in to comment.