Skip to content
Snippets Groups Projects
Commit cba17d04 authored by Ammar Nejati's avatar Ammar Nejati
Browse files

Doc: Correct the path to Python examples

parent 12a752be
No related branches found
No related tags found
1 merge request!889Update the documentation according to the latest changes
......@@ -39,7 +39,7 @@ In your installation directory you will find the following directory structure:
Run an example and enjoy your first BornAgain simulation plot.
```python
python <install_dir>/share/BornAgain-{{< release-string-short >}}/Examples/python/simulation/ex01_BasicParticles/CylindersAndPrisms.py
python <install_dir>/share/BornAgain-{{< release-string-short >}}/Examples/scatter2d/CylindersAndPrisms.py
```
#### Running the BornAgain GUI
......
......@@ -93,7 +93,7 @@ Run an example from BornAgain installation directory by typing in the terminal.
<p style="clear: both;">
```
$ python /Applications/BornAgain.app/Contents/share/BornAgain-{{< release-string-short >}}/Examples/python/simulation/ex01_BasicParticles/CylindersAndPrisms.py
$ python /Applications/BornAgain.app/Contents/share/BornAgain-{{< release-string-short >}}/Examples/scatter2d/CylindersAndPrisms.py
```
You should see a scattering image appearing on the screen.
......@@ -113,7 +113,7 @@ by clicking `Add workspace folder` as shown in the screenshot below.
{{< figscg src="anaconda-running-step5-vscode.PNG" class="center" width="450px">}}
Choose the directory with the BornAgain Python examples at `C:/BornAgain-{{< release-string >}}/Examples/python`
Choose the directory with the BornAgain Python examples at `C:/BornAgain-{{< release-string >}}/Examples`
{{< figscg src="anaconda-running-step6-vscode.PNG" class="center" width="450px">}}
......
......@@ -39,7 +39,7 @@ recommended to use for complicated multi-dimensional fitting tasks.
A much more sophisticated example of fitting experimental reflectometry data with
`BornAgain` and an external minimizer can be
found in `Examples/python/fitting/ex03_ExtendedExamples/specular/RealLifeReflectometryFitting.py`
found in `Examples/fit55_SpecularBasic/RealLifeReflectometryFitting.py`
in the BornAgain directory.
### Complete script and data
......
......@@ -26,7 +26,7 @@ see the [API documentation]({{% ref-py "python-api" %}})
Note that all examples shown in this web site are also contained
in the BornAgain source tree
in directory [Examples/python]({{% url-src %}}/Examples/python).
in directory [Examples]({{% url-src %}}/Examples).
They are covered by our automatic integration tests.
If nonetheless an example does not work as expected,
then please [report this as a bug]({{% relref "howto/get-help" %}}).
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment