You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
See the VSCode docs on `Python <https://code.visualstudio.com/docs/python/python-tutorial>`_ and `Jupyter Notebooks <https://code.visualstudio.com/docs/datascience/jupyter-notebooks>`_ for further information.
290
307
308
+
.. hint::
309
+
310
+
Both of the following setup instructions work analogously for Core and Petals.
311
+
The specific instructions for Petals are shown in square brackets: []
312
+
291
313
Workspace Setup
292
314
"""""""""""""""
293
315
294
316
Setting up a workspace for the CLIMADA source code is only available for :ref:`advanced installations <install-advanced>`.
295
317
296
318
#. Open a new VSCode window.
297
-
Below *Start*, click *Open...*, select the ``climada_python`` repository folder in your workspace directory, and click on *Open* on the bottom right.
319
+
Below *Start*, click *Open...*, select the ``climada_python`` [``climada_petals``] repository folder in your workspace directory, and click on *Open* on the bottom right.
298
320
299
-
#. Click *File* > *Save Workspace As...* and store the workspace settings file next to (**not** in!) the ``climada_python`` folder.
321
+
#. Click *File* > *Save Workspace As...* and store the workspace settings file next to (**not** in!) the ``climada_python`` [``climada_petals``] folder.
300
322
This will enable you to load the workspace and all its specific settings in one go.
301
323
302
324
#. Open the Command Palette by clicking *View* > *Command Palette* or by using the shortcut keys ``Ctrl+Shift+P`` (Windows, Linux) / ``Cmd+Shift+P`` (macOS).
@@ -315,7 +337,7 @@ After you set up a workspace, you might want to configure the test explorer for
315
337
316
338
#. In the left sidebar, select the "Testing" symbol, and click on *Configure Python Tests*.
317
339
318
-
#. Select "pytest" as test framework and then select ``climada`` as the directory containing the test files.
340
+
#. Select "pytest" as test framework and then select ``climada`` [``climada_petals``] as the directory containing the test files.
319
341
320
342
#. Select "Testing" in the Activity Bar on the left or through *View* > *Testing*.
321
343
The "Test Explorer" in the left sidebar will display the tree structure of modules, files, test classes and individual tests.
@@ -407,7 +429,6 @@ To update, follow the instructions based on your :ref:`installation type <instal
0 commit comments