Skip to content

Commit

Permalink
refactor: gRPC FTS refactoring 5
Browse files Browse the repository at this point in the history
  • Loading branch information
hpohekar committed Apr 29, 2024
1 parent cc70d44 commit 40ac7b2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/ansys/fluent/core/launcher/fluent_container.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
import tempfile
from typing import List, Optional, Union

import ansys.fluent.core as pyfluent
from ansys.fluent.core._version import fluent_release_version
from ansys.fluent.core.session import _parse_server_info_file
from ansys.fluent.core.utils.execution import timeout_loop
Expand Down Expand Up @@ -312,7 +313,11 @@ def configure_container_dict(
if k not in container_dict:
container_dict[k] = v

host_server_info_file = Path(host_mount_path) / container_server_info_file.name
host_server_info_file = (
(Path(host_mount_path) / container_server_info_file.name)
if host_mount_path
else (Path(pyfluent.EXAMPLES_PATH) / container_server_info_file.name)
)

return (
container_dict,
Expand Down

0 comments on commit 40ac7b2

Please sign in to comment.