@@ -10,7 +10,7 @@ IMASPy also needs the :al_lib:`IMAS Python helper functions <browse>`. Currently
10
10
dependencies are pulled it using :std:doc: `GitPython <gitpython:index >`, until the
11
11
:issue: `separate Python HLI parts are available as packages <IMAS-584> `.
12
12
13
- .. :std:doc:`Cython <cython:index>` of the
13
+ .. :std:doc:`Cython <cython:index>` of the
14
14
15
15
16
16
Python is very flexible, and so is it's install procedure. This is a double-edged sword:
@@ -20,13 +20,12 @@ community. For an introduction to the topic, read the
20
20
21
21
Installing on the ITER cluster
22
22
------------------------------
23
- We assume a clean system. To interact with the AL, we need the IMAS environment
23
+ To interact with the AL, we need the IMAS environment
24
24
activated. I'm assuming a bash shell for all these commands:
25
25
26
26
.. code-block :: bash
27
27
28
- module load AL-Python-lib
29
- module load AL-Cython
28
+ module load IMAS-2020a/3.30.0-4.8.5-2020a
30
29
31
30
This should give us all we need, namely at time of testing:
32
31
@@ -38,14 +37,18 @@ We are all developers, let's install in [pip editable](https://pip.pypa.io/en/st
38
37
39
38
.. code-block :: bash
40
39
41
- git clone git@gitlab.com:klimex /imaspy.git
42
- pip install --user -e imaspy[backends_al,backends_xarray,test]
40
+ git clone git@git.iter.org/IMAS /imaspy.git
41
+ pip install --user -e imaspy
43
42
44
43
45
- We should now be able to run the examples
44
+ We should now be able to run the tests
46
45
47
46
.. code-block :: bash
48
- python imaspy/examples/read_write_nbi.py
47
+ pip install --user -r requirements_test.txt
48
+ pytest imaspy/ --mini
49
+
50
+ Note that at the time of writing access layer version 4.8.5 has an issue which causes
51
+ several tests to fail.
49
52
50
53
Develop install
51
54
^^^^^^^^^^^^^^^
0 commit comments