Skip to content

Commit

Permalink
cleaned up markdown in template
Browse files Browse the repository at this point in the history
  • Loading branch information
wrguenthner committed Apr 23, 2024
1 parent 70198a8 commit b051ff1
Showing 1 changed file with 6 additions and 20 deletions.
26 changes: 6 additions & 20 deletions examples/template.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,12 @@
"\n",
"The most straight-forward application of PyThermo is in forward modeling apatite and zircon (U-Th)/He dates. First, set-up the PyThermo package. You can do this one of two ways. Either install with pip (see this [helpful](https://packaging.python.org/en/latest/tutorials/installing-packages/) guide for using pip if you are unfamiliar) by using this bit of text `pip install pythermo`, or co-locate the folder `/src` with its various files (`__int__.py`,`constants.py`, `crystal.py`, `tT_model.py`, and `tT_path.py`) within the same directory as this notebook. Below I include example code with both approaches.\n",
"\n",
"If you've installed PyThermo, use this bit of code:"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"import pythermo as pyt"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"If you're using the source files directly, run this bit:"
"If you've installed PyThermo, run the bit of code below. If you have not installed PyThermo and would like to run from the source folder, replace the code block below with:\n",
"```\n",
"import sys\n",
"sys.path.append('./src')\n",
"import pythermo as pyt\n",
"```"
]
},
{
Expand All @@ -35,9 +24,6 @@
"metadata": {},
"outputs": [],
"source": [
"import sys\n",
"sys.path.append('./src')\n",
"\n",
"import pythermo as pyt"
]
},
Expand Down

0 comments on commit b051ff1

Please sign in to comment.