Skip to content

Commit

Permalink
Apply code style
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorge Martinez committed Apr 5, 2022
1 parent 416245a commit 5a9e794
Show file tree
Hide file tree
Showing 69 changed files with 222,566 additions and 76,974 deletions.
36 changes: 25 additions & 11 deletions .ci/start_fluent.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,37 @@


def start_fluent_container(args):
fd, sifile = tempfile.mkstemp(
suffix=".txt", prefix="serverinfo-", dir=EXAMPLES_PATH
)
fd, sifile = tempfile.mkstemp(suffix=".txt", prefix="serverinfo-", dir=EXAMPLES_PATH)
os.close(fd)
timeout = 100
license_server = os.environ["ANSYSLMD_LICENSE_FILE"]
port = os.environ["PYFLUENT_FLUENT_PORT"]

try:
subprocess.run(["docker", "run", "--name", "fluent_server", "-d",
"--rm", "-p", f"{port}:{port}",
"-v", f"{EXAMPLES_PATH}:{EXAMPLES_PATH}",
"-e", f"ANSYSLMD_LICENSE_FILE={license_server}",
"-e", f"REMOTING_PORTS={port}/portspan=2",
"-e", "FLUENT_LAUNCHED_FROM_PYFLUENT=1",
"ghcr.io/pyansys/pyfluent",
"-g", f"-sifile={sifile}"] + args)
subprocess.run(
[
"docker",
"run",
"--name",
"fluent_server",
"-d",
"--rm",
"-p",
f"{port}:{port}",
"-v",
f"{EXAMPLES_PATH}:{EXAMPLES_PATH}",
"-e",
f"ANSYSLMD_LICENSE_FILE={license_server}",
"-e",
f"REMOTING_PORTS={port}/portspan=2",
"-e",
"FLUENT_LAUNCHED_FROM_PYFLUENT=1",
"ghcr.io/pyansys/pyfluent",
"-g",
f"-sifile={sifile}",
]
+ args
)

sifile_last_mtime = os.stat(sifile).st_mtime
while True:
Expand Down
71 changes: 34 additions & 37 deletions ansys/api/fluent/v0/common_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion ansys/api/fluent/v0/common_pb2_grpc.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc

4,239 changes: 2,655 additions & 1,584 deletions ansys/api/fluent/v0/datamodel_se_pb2.py

Large diffs are not rendered by default.

Loading

0 comments on commit 5a9e794

Please sign in to comment.