diff --git a/content/m/installation/windows/python-anaconda/index.md b/content/m/installation/windows/python-anaconda/index.md index ddf4243fc06936212100cfaf2639a76bd21a7019..0d6d7be12d5d7360ad0a9b47a9b6e58f8d707ab5 100644 --- a/content/m/installation/windows/python-anaconda/index.md +++ b/content/m/installation/windows/python-anaconda/index.md @@ -76,7 +76,7 @@ To run a BornAgain example from the command line, launch `Anaconda Prompt` and type (or copy-and-paste) the command below to see a scattering image appearing on the screen. ``` -python C:/BornAgain-{{< release-string >}}/Examples/python/simulation/ex01_BasicParticles/CylindersAndPrisms.py +python C:/BornAgain-{{< release-string >}}/Examples/scatter2d/CylindersAndPrisms.py ``` {{< figscg src="anaconda-running-step3.PNG" class="center" width="450px">}} diff --git a/content/m/installation/windows/python-original/_index.md b/content/m/installation/windows/python-original/_index.md index 07d5e8d0fd37b55cf426e7a4e957e86c9c5b424c..fd6f4b929c47fb120435494aebbc3813920f84cb 100644 --- a/content/m/installation/windows/python-original/_index.md +++ b/content/m/installation/windows/python-original/_index.md @@ -93,7 +93,7 @@ To run a BornAgain example from the command line, launch a command shell again a type (or copy-and-paste) the command below to see a scattering image appearing on the screen. ``` -python C:/BornAgain-{{< release-string >}}/Examples/python/simulation/ex01_BasicParticles/CylindersAndPrisms.py +python C:/BornAgain-{{< release-string >}}/Examples/scatter2d/CylindersAndPrisms.py ``` {{< figscg src="python-install-step7.PNG" class="center" width="450px">}} diff --git a/content/m/installation/windows/python-original/python-pycharm/index.md b/content/m/installation/windows/python-original/python-pycharm/index.md index f41751384fc8e8e6f2544d7d7c417a6a63addfcf..5743be18a091bd11be037c8b7b3d513dc4bcdf42 100644 --- a/content/m/installation/windows/python-original/python-pycharm/index.md +++ b/content/m/installation/windows/python-original/python-pycharm/index.md @@ -72,6 +72,10 @@ A new window will appear and now select the directory with the BornAgain Python {{< figscg src="python-pycharm-project11.PNG" class="center" width="450px">}} +{{< alert theme="info" >}} +Since the folder structure has changed, navigate to `C:/BornAgain-{{< release-string >}}/Examples` instead. +{{< /alert >}} + Close the settings window. The final project should like shown below. {{< figscg src="python-pycharm-project13.PNG" class="center" width="450px">}} diff --git a/content/m/installation/windows/python-original/python-vscode/index.md b/content/m/installation/windows/python-original/python-vscode/index.md index 427e08bc4f2f910247243ba95e4db81eb5480a6b..41035f147f7e1edd952d7d6b3cd97e2acfa41c98 100644 --- a/content/m/installation/windows/python-original/python-vscode/index.md +++ b/content/m/installation/windows/python-original/python-vscode/index.md @@ -30,7 +30,7 @@ by clicking `Add workspace folder` as shown in the screenshot below. {{< figscg src="../../python-anaconda/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`. If you open any example, `VSCode` will require you to configure the Python interpreter to use. In the screenshot below, `VSCode` is complaining that no Python interpreter was selected and also suggests to install the so-called `pylint` plugin for a better code development experience.