Commit c323e28e205824099ffab415bab260a72f1dda73

Authored by Etienne Pallier
2 parents 7cf6c127 e0bf1dda
Exists in dev

Merge branch 'dev' of https://gitlab.irap.omp.eu/epallier/pyros.git into dev

Showing 1 changed file with 3 additions and 5 deletions   Show diff stats
src/core/pyros_django/agent/logpyros.py
... ... @@ -2,15 +2,13 @@ import os
2 2 import math
3 3 import tempfile
4 4  
5   -# --- update the path of Python
  5 +# --- update the path of Python in case to test this file alone
6 6 py_path = os.sys.path
7   -py_pwd = os.getcwd()
8   -py_pwd = os.getcwd() + "/../utils"
  7 +py_pwd = os.path.normpath(os.getcwd() + "/../../../..")
9 8 if (py_pwd not in py_path):
10 9 (os.sys.path).append(py_pwd)
11 10  
12   -#import celme
13   -#import utils.celme as celme
  11 +# --- import celestial mechanics
14 12 import src.core.celme as celme
15 13  
16 14 class LogPyros:
... ...