Skip to content

Commit 6b21dab

Browse files
committed
Make imports from py2d to Py2D_Solver local and remove *.
1 parent 77c8ab1 commit 6b21dab

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

py2d/Py2D_solver.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@
2222
from scipy.io import loadmat, savemat
2323

2424
# Import Custom Module
25-
from py2d.aposteriori_analysis import eddyTurnoverTime_2DFHIT
26-
from py2d.convection_conserved import convection_conserved
27-
from py2d.convert import Omega2Psi_2DFHIT_spectral, Psi2UV_2DFHIT_spectral
28-
from py2d.datamanager import (
25+
from .aposteriori_analysis import eddyTurnoverTime_2DFHIT
26+
from .convection_conserved import convection_conserved
27+
from .convert import Omega2Psi_2DFHIT_spectral, Psi2UV_2DFHIT_spectral
28+
from .datamanager import (
2929
gen_path,
3030
get_last_file,
3131
pretty_print_table,
@@ -35,7 +35,7 @@
3535
initialize_perturbation,
3636
initialize_wavenumbers_2DFHIT,
3737
)
38-
from py2d.SGSModel import *
38+
from .SGSModel import SGSModel
3939

4040
os.chdir("../../py2d/")
4141
print(jax.default_backend())

0 commit comments

Comments
 (0)