Skip to content

Commit

Permalink
Merge branch 'feat/enhanced_meshing_workflow_custom' into feat/load_s…
Browse files Browse the repository at this point in the history
…aved_workflows
  • Loading branch information
prmukherj authored Apr 19, 2024
2 parents 96ed832 + 12917c5 commit ffad517
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/ansys/fluent/core/utils/file_transfer_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
from alive_progress import alive_bar

import ansys.fluent.core as pyfluent
from ansys.fluent.core.launcher.process_launch_string import get_fluent_exe_path
import ansys.platform.instancemanagement as pypim
import ansys.tools.filetransfer as ft

Expand Down Expand Up @@ -51,11 +50,7 @@ def __init__(self, server_cwd: Optional[str] = None):
"""
self.pyfluent_cwd = pathlib.Path(str(os.getcwd()))
self.fluent_cwd = (
pathlib.Path(str(server_cwd))
if server_cwd
else (
pathlib.Path(str(get_fluent_exe_path()).split("fluent")[0]) / "fluent"
)
pathlib.Path(str(server_cwd)) if server_cwd else self.pyfluent_cwd
)

def file_exists_on_remote(self, file_name: str) -> bool:
Expand Down

0 comments on commit ffad517

Please sign in to comment.