Skip to content

Commit

Permalink
Test alternate cmfgen path
Browse files Browse the repository at this point in the history
  • Loading branch information
atharva-2001 committed Apr 12, 2024
1 parent 7588efd commit d3c8e9d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/tardis_atomdata_ref.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
},
"outputs": [],
"source": [
"import pathlib\n",
"from carsus.io.nist import NISTWeightsComp, NISTIonizationEnergies"
]
},
Expand Down Expand Up @@ -59,7 +60,9 @@
"metadata": {},
"outputs": [],
"source": [
"cmfgen_path = '../../carsus-data-cmfgen/atomic/'"
"cmfgen_path = '../../carsus-data-cmfgen/atomic/'\n",
"if not pathlib.Path(cmfgen_path).exists():\n",
" cmfgen_path = \"/tmp/atomic/\""
]
},
{
Expand Down

0 comments on commit d3c8e9d

Please sign in to comment.