Skip to content
Snippets Groups Projects
Commit d16d3f1c authored by Lionel GUEZ's avatar Lionel GUEZ
Browse files

Use a symbolic link

Use a symbolic link instead of appending to `sys.path`. THe motivation
is that in the Python interpreter, the following statements failed
before the present commit:

```python
import sys
sys.path.append("/path/to/Detection_eddies/Inst_eddies/Analysis")
import plot_eddy_contours
```

`sys.path[0]` then does not contain
`/path/to/Detection_eddies/Inst_eddies/Analysis` so
`plot_eddy_contours` could not find `util_eddies`.
parent 055c0755
No related branches found
No related tags found
No related merge requests found
...@@ -27,7 +27,6 @@ from os import path ...@@ -27,7 +27,6 @@ from os import path
from matplotlib import patches from matplotlib import patches
import f90nml import f90nml
import sys import sys
sys.path.append(path.join(sys.path[0], "../../Common"))
import util_eddies import util_eddies
def select_ishapes(d, handler, window = None): def select_ishapes(d, handler, window = None):
......
../../Common/util_eddies.py
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment