Skip to content

Commit

Permalink
fix test readin
Browse files Browse the repository at this point in the history
  • Loading branch information
german committed Mar 21, 2024
1 parent 29e1a28 commit c666df8
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/ansys/mapdl/core/launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -1655,14 +1655,10 @@ def launch_mapdl(

LOG.debug("Using default executable.")
# Load cached path
try:
if _debug_no_launch and not start_instance:
exec_file = ""
else:
exec_file = get_ansys_path(version=version)
except RuntimeError as e:
if _debug_no_launch:
# For debugging purposes, we just go ahead
exec_file = ""
else:
raise e

if exec_file is None:
raise FileNotFoundError(
Expand Down

0 comments on commit c666df8

Please sign in to comment.