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 os
import pickle
import xml.etree.ElementTree as et
import numpy as np
import ntpath
from codes import paths
def forecast_xmlreader(filename_):
......
......@@ -2,11 +2,11 @@ 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)
import fiona
from codes import get_models
from codes import paths
from codes import get_models
import fiona
import numpy
import pickle
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