Skip to content

Commit

Permalink
updated solver module import in main
Browse files Browse the repository at this point in the history
  • Loading branch information
aoymt committed Jun 2, 2024
1 parent a9684e1 commit caa7801
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/py2dmat/_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,17 @@ def main():
'WARNING: solver name "surface" is deprecated and will be unavailable in future.'
' Use "sim-trhepd-rheed" instead.'
)
from .solver.sim_trhepd_rheed import Solver
#from .solver.sim_trhepd_rheed import Solver
from sim_trhepd_rheed import Solver
elif solvername == "sim-trhepd-rheed":
from .solver.sim_trhepd_rheed import Solver
#from .solver.sim_trhepd_rheed import Solver
from sim_trhepd_rheed import Solver
elif solvername == "sxrd":
from .solver.sxrd import Solver
#from .solver.sxrd import Solver
from sxrd import Solver
elif solvername == "leed":
from .solver.leed import Solver
#from .solver.leed import Solver
from leed import Solver
elif solvername == "analytical":
from .solver.analytical import Solver
else:
Expand Down

0 comments on commit caa7801

Please sign in to comment.