Commit 55702c49 authored by Pablo Iturrieta Rebolledo's avatar Pablo Iturrieta Rebolledo
Browse files

fixing relative path import

parent bba2ac87
import paths import os, sys
currentdir = os.path.dirname(os.path.realpath(__file__))
parentdir = os.path.dirname(currentdir)
parentdir = os.path.dirname(parentdir)
sys.path.append(parentdir)
from codes import paths
import csep import csep
import os import os
import pickle import pickle
import xml.etree.ElementTree as et import xml.etree.ElementTree as et
import numpy as np import numpy as np
import ntpath import ntpath
from codes import paths
def forecast_xmlreader(filename_): def forecast_xmlreader(filename_):
......
...@@ -2,11 +2,11 @@ import os, sys ...@@ -2,11 +2,11 @@ import os, sys
currentdir = os.path.dirname(os.path.realpath(__file__)) currentdir = os.path.dirname(os.path.realpath(__file__))
parentdir = os.path.dirname(currentdir) parentdir = os.path.dirname(currentdir)
parentdir = os.path.dirname(parentdir) parentdir = os.path.dirname(parentdir)
sys.path.append(parentdir) sys.path.append(parentdir)
import fiona
from codes import get_models
from codes import paths from codes import paths
from codes import get_models
import fiona
import numpy import numpy
import pickle import pickle
import matplotlib.pyplot as plt import matplotlib.pyplot as plt
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment