Skip to content

Commit

Permalink
Changed io module to io_hazel to avoid conflict with standard io
Browse files Browse the repository at this point in the history
  • Loading branch information
aasensio committed Apr 23, 2024
1 parent e4ca64d commit 8588aef
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion hazel/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from .spectrum import *
from .multiprocess import *
from .tools import *
from .io import *
from .io_hazel import *
from .sir import *
from .exceptions import *
from .util import *
Expand Down
2 changes: 1 addition & 1 deletion hazel/atmosphere.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from hazel.util import i0_allen, fvoigt
from hazel.codes import hazel_code, sir_code
from hazel.hsra import hsra_continuum
from hazel.io import Generic_hazel_file, Generic_SIR_file, Generic_parametric_file
from hazel.io_hazel import Generic_hazel_file, Generic_SIR_file, Generic_parametric_file
from hazel.transforms import transformed_to_physical, physical_to_transformed, jacobian_transformed_to_physical, jacobian_transformation
import copy
from hazel.sir import Sir
Expand Down
2 changes: 1 addition & 1 deletion hazel/chromosphere.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from hazel.util import i0_allen
from hazel.codes import hazel_code
from hazel.hsra import hsra_continuum
from hazel.io import Generic_hazel_file
from hazel.io_hazel import Generic_hazel_file
from hazel.exceptions import NumericalErrorHazel
import copy

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion hazel/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from hazel.parametric import Parametric_atmosphere
from hazel.stray import Straylight_atmosphere
from hazel.configuration import Configuration
from hazel.io import Generic_output_file
from hazel.io_hazel import Generic_output_file
from collections import OrderedDict
from hazel.codes import hazel_code, sir_code
from hazel.spectrum import Spectrum
Expand Down
2 changes: 1 addition & 1 deletion hazel/parametric.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from hazel.atmosphere import General_atmosphere
from hazel.util import fvoigt
from hazel.hsra import hsra_continuum
from hazel.io import Generic_parametric_file
from hazel.io_hazel import Generic_parametric_file
import copy

__all__ = ['Parametric_atmosphere']
Expand Down
2 changes: 1 addition & 1 deletion hazel/photosphere.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from hazel.atmosphere import General_atmosphere
from hazel.util import i0_allen, find_nearest
from hazel.codes import sir_code
from hazel.io import Generic_SIR_file
from hazel.io_hazel import Generic_SIR_file
import scipy.interpolate as interp
from hazel.exceptions import NumericalErrorSIR
from hazel.transforms import transformed_to_physical, jacobian_transformation
Expand Down
2 changes: 1 addition & 1 deletion hazel/spectrum.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import numpy as np
from hazel.io import Generic_observed_file, Generic_stray_file, Generic_mask_file
from hazel.io_hazel import Generic_observed_file, Generic_stray_file, Generic_mask_file
import os.path
from astropy.constants import c
from scipy import interpolate
Expand Down
2 changes: 1 addition & 1 deletion hazel/stray.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from hazel.atmosphere import General_atmosphere
from hazel.util import fvoigt, i0_allen
from hazel.hsra import hsra_continuum
from hazel.io import Generic_stray_file
from hazel.io_hazel import Generic_stray_file
import copy
import scipy.constants as constants

Expand Down

0 comments on commit 8588aef

Please sign in to comment.