Skip to content

Commit a8fffd8

Browse files
committed
Merge branch 'main' into release/0.4
2 parents 6a25368 + e37b547 commit a8fffd8

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@ tests = [
3535
"pyvista==0.43.3",
3636
"matplotlib==3.8.3",
3737
"numpy==1.26.4",
38-
"pytest==8.0.1",
38+
"pytest==8.0.2",
3939
"pytest-cov==4.1.0",
4040
"joblib==1.3.2",
41-
"pandas==2.2.0",
41+
"pandas==2.2.1",
4242
"openpyxl==3.1.2",
4343
"scikit-learn==1.4.1.post1",
4444
"pytest-xdist==3.5.0",
45-
"ipython==8.22.1",
45+
"ipython==8.22.2",
4646
]
4747
doc = [
4848
"recommonmark==0.7.1",
@@ -65,7 +65,7 @@ doc = [
6565
"ipywidgets==8.1.2",
6666
"joblib==1.3.2",
6767
"scikit-learn==1.4.1.post1",
68-
"ipython==8.22.1",
68+
"ipython==8.22.2",
6969
"jupyterlab==4.1.2",
7070
"sphinx-jinja==2.0.2",
7171
"sphinx-autoapi==3.0.0",

src/ansys/dyna/core/pre/dynasolution.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -433,8 +433,8 @@ def save_file(self):
433433
def quit(self):
434434
"""Delete remote instance."""
435435

436-
if self.pim_client is not None:
437-
self.pim_client.close()
438436
if self.remote_instance is not None:
439437
self.remote_instance.delete()
438+
if self.pim_client is not None:
439+
self.pim_client.close()
440440
return

src/ansys/dyna/core/solver/dynasolver.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -350,10 +350,10 @@ def quit(self):
350350
command and continues running.
351351
"""
352352
self.logger.debug("quit")
353-
if self.pim_client is not None:
354-
self.pim_client.close()
355353
if self.remote_instance is not None:
356354
self.remote_instance.delete()
355+
if self.pim_client is not None:
356+
self.pim_client.close()
357357
request = dynasolver_pb2.QuitServer()
358358
# ALWAYS returns ACK, so don't bother checking
359359
self.stub.quit_server(request)

0 commit comments

Comments
 (0)