diff --git a/iceotherm/lib/analytical_solutions.py b/iceotherm/lib/analytical_solutions.py index f6712e0..a984e1b 100644 --- a/iceotherm/lib/analytical_solutions.py +++ b/iceotherm/lib/analytical_solutions.py @@ -14,9 +14,9 @@ from scipy.special import erf from scipy.integrate import quad from scipy.special import lambertw -from .constants import constants +from iceotherm.lib.constants import constants -from .ice_properties import * +from iceotherm.lib.ice_properties import * def Robin_T(m,T_bulk=None,const=constants(),melt=True,verbose=False): """ diff --git a/iceotherm/lib/cylindricalstefan/concentration_functions.py b/iceotherm/lib/cylindricalstefan/concentration_functions.py index 26b5147..c4d8353 100644 --- a/iceotherm/lib/cylindricalstefan/concentration_functions.py +++ b/iceotherm/lib/cylindricalstefan/concentration_functions.py @@ -165,7 +165,7 @@ def Tf_depression(C,solute='methanol',linear=False,data_dir=None,const=const): return Tf else: if data_dir is None: - data_dir='./data/' + data_dir='../../../data/' if solute=='methanol': # Get percent by mass PBM = C_pbm(C,const.rhom) diff --git a/iceotherm/lib/ice_properties.py b/iceotherm/lib/ice_properties.py index 5dd5622..726a1e1 100644 --- a/iceotherm/lib/ice_properties.py +++ b/iceotherm/lib/ice_properties.py @@ -10,7 +10,7 @@ import numpy as np from scipy.optimize import minimize -from .constants import constants +from iceotherm.lib.constants import constants # --------------------------------------------------- diff --git a/iceotherm/lib/numerical_model.py b/iceotherm/lib/numerical_model.py index 4f41fd0..e5722c2 100644 --- a/iceotherm/lib/numerical_model.py +++ b/iceotherm/lib/numerical_model.py @@ -12,10 +12,10 @@ import numpy as np from scipy import sparse from scipy.integrate import cumtrapz -from .analytical_solutions import * -from .ice_properties import * -from .supporting_functions import * -from .constants import constants +from iceotherm.lib.analytical_solutions import * +from iceotherm.lib.ice_properties import * +from iceotherm.lib.supporting_functions import * +from iceotherm.lib.constants import constants # Instantiate the constants class const = constants() diff --git a/iceotherm/lib/simple_conduction.py b/iceotherm/lib/simple_conduction.py index bc7bba5..917de98 100644 --- a/iceotherm/lib/simple_conduction.py +++ b/iceotherm/lib/simple_conduction.py @@ -10,7 +10,7 @@ import numpy as np from scipy.special import erfc -from .constants import constants +from iceotherm.lib.constants import constants const = constants() # Analytic solutions to conduction problems diff --git a/iceotherm/lib/supporting_functions.py b/iceotherm/lib/supporting_functions.py index c4ce258..03b0281 100644 --- a/iceotherm/lib/supporting_functions.py +++ b/iceotherm/lib/supporting_functions.py @@ -9,7 +9,7 @@ """ import numpy as np -from .constants import constants +from iceotherm.lib.constants import constants const = constants() from scipy.interpolate import interp1d