Skip to content

Commit 41d0169

Browse files
committed
streamline example
1 parent a537f08 commit 41d0169

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

scripting/monte_carlo/vts-trial.ipynb

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,12 @@
1414
"This is a simple example of Jupyter notebook using VTS. It is assumed that \n",
1515
"\n",
1616
"* [.NET 6](https://dotnet.microsoft.com/en-us/download/dotnet/6.0) has been installed\n",
17-
"* [VTS git repository](https://github.com/VirtualPhotonics/VTS) has been cloned into the directory `vts`\n",
18-
"* the module `pythonnet` has been installed and configured"
17+
"\n",
18+
"* [VTS git repository](https://github.com/VirtualPhotonics/VTS) has been cloned\n",
19+
"\n",
20+
"* [pythonnet](https://pypi.org/project/pythonnet) has been installed and configured\n",
21+
"\n",
22+
"Replace `/path/to/vts` with the directory containing the git clone of `VTS`"
1923
]
2024
},
2125
{
@@ -27,8 +31,8 @@
2731
"source": [
2832
"import clr\n",
2933
"import numpy as np\n",
30-
"import matplotlib.pyplot as plt\n",
31-
"clr.AddReference(\"/path/to/vts/publish/local/Vts.dll\")"
34+
"vts_dll = \"/path/to/vts/publish/local/Vts.dll\"\n",
35+
"clr.AddReference(vts_dll)"
3236
]
3337
},
3438
{

0 commit comments

Comments
 (0)