Skip to content

Commit 747d304

Browse files
committed
Merge branch 'main' into release/0.4
2 parents 8e57025 + 9e02435 commit 747d304

File tree

13 files changed

+62
-43
lines changed

13 files changed

+62
-43
lines changed

.github/labeler.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
documentation:
2-
- doc/source/**/*
3-
- README.rst
2+
- changed-files:
3+
- any-glob-to-any-file: ['doc/**/*', 'README.rst']
44
maintenance:
5-
- .github/**/*
6-
- .flake8
7-
- pyproject.toml
5+
- changed-files:
6+
- any-glob-to-any-file: ['.github/**/*', 'pyproject.toml', '.flake8']
87
dependencies:
9-
- pyproject.toml
8+
- changed-files:
9+
- any-glob-to-any-file: ['pyproject.toml']
1010
testing:
11-
- _unittest/conftest.py
12-
- tests/*
11+
- changed-files:
12+
- any-glob-to-any-file: ['_unittest/conftest.py', 'tests/*']

.github/workflows/ci_cd.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
uses: actions/checkout@v4
4747

4848
- name: "Set up Python ${{ env.MAIN_PYTHON_VERSION }}"
49-
uses: actions/setup-python@v4
49+
uses: actions/setup-python@v5
5050
with:
5151
python-version: ${{ env.MAIN_PYTHON_VERSION }}
5252
cache: 'pip'
@@ -144,7 +144,7 @@ jobs:
144144
uses: actions/checkout@v4
145145

146146
- name: "Set up Python"
147-
uses: actions/setup-python@v4
147+
uses: actions/setup-python@v5
148148
with:
149149
python-version: ${{ env.MAIN_PYTHON_VERSION }}
150150
cache: 'pip'

.github/workflows/label.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,9 @@ jobs:
3232

3333
# Label based on modified files
3434
- name: Label based on changed files
35-
uses: actions/labeler@v4
35+
uses: actions/labeler@v5
3636
with:
3737
repo-token: "${{ secrets.GITHUB_TOKEN }}"
38-
sync-labels: ''
3938

4039
# Label based on branch name
4140
- uses: actions-ecosystem/action-add-labels@v1

docker/pre/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Prerequisites
2525
instructions from `this page <https://docs.docker.com/engine/install/>`_.
2626

2727
* Download the latest Linux release artifacts for the ``pre`` Docker container:
28-
`linux-binaries.zip <https://github.com/ansys/pydyna/releases/download/v0.4.2/linux-binaries.zip>`_.
28+
`linux-binaries.zip <https://github.com/ansys/pydyna/releases/download/v0.4.3/linux-binaries.zip>`_.
2929

3030
* Move this ZIP file to the ``docker/pre`` directory.
3131

docker/solver/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Prerequisites
2525
instructions from `this page <https://docs.docker.com/engine/install/>`_.
2626

2727
* Download the latest Linux release artifacts for the ``solver`` Docker container:
28-
`mppdyna_docker_centos7.zip <https://github.com/ansys/pydyna/releases/download/v0.4.2/mppdyna_docker_centos7.zip>`_.
28+
`mppdyna_docker_centos7.zip <https://github.com/ansys/pydyna/releases/download/v0.4.3/mppdyna_docker_centos7.zip>`_.
2929

3030
* Move this ZIP file to the ``docker/solver`` directory and unzip it in the same directory.
3131

examples/Airbag/airbag_deploy.py

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,15 @@
3030
)
3131

3232
###############################################################################
33-
# Manually start the ``pre`` service
33+
# Start the ``pre`` service
3434
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
35-
# Copy the ``pyDyna/src/ansys/dyna/core/pre/Server`` folder to a desired location.
36-
# Start the ``pre`` service at this location by running this command:
37-
#
38-
# ``python kwserver.py``
35+
# Before starting the ``pre`` service, you must ensure that the Docker container
36+
# for this service has been started. For more information, see "Start the Docker
37+
# container for the ``pre`` service" in https://dyna.docs.pyansys.com/version/stable/index.html.
38+
#
39+
# The ``pre`` service can also be started locally, please download the latest version of
40+
# ansys-pydyna-pre-server.zip package from https://github.com/ansys/pydyna/releases and start it
41+
# refering to the README.rst file in this server package.
3942
#
4043
# Once the ``pre`` service is running, you can connect a client to it using
4144
# the hostname and port. This example uses the default localhost and port

examples/Explicit/ball_plate.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@
4242
# Before starting the ``pre`` service, you must ensure that the Docker container
4343
# for this service has been started. For more information, see "Start the Docker
4444
# container for the ``pre`` service" in https://dyna.docs.pyansys.com/version/stable/index.html.
45+
#
46+
# The ``pre`` service can also be started locally, please download the latest version of
47+
# ansys-pydyna-pre-server.zip package from https://github.com/ansys/pydyna/releases and start it
48+
# refering to the README.rst file in this server package.
4549
#
4650
# Once the ``pre`` service is running, you can connect a client to it using
4751
# the host name and port. This code uses the default localhost and port

examples/Explicit/belted_dummy.py

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,15 @@
4444
# sphinx_gallery_thumbnail_path = '_static/pre/explicit/belted_dummy.png'
4545

4646
###############################################################################
47-
# Manually start the ``pre`` service
47+
# Start the ``pre`` service
4848
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
49-
# Copy the ``pyDyna/src/ansys/dyna/core/pre/Server`` folder to a desired location.
50-
# Start the ``pre`` service at this location by running this command:
51-
#
52-
# ``python kwserver.py``
49+
# Before starting the ``pre`` service, you must ensure that the Docker container
50+
# for this service has been started. For more information, see "Start the Docker
51+
# container for the ``pre`` service" in https://dyna.docs.pyansys.com/version/stable/index.html.
52+
#
53+
# The ``pre`` service can also be started locally, please download the latest version of
54+
# ansys-pydyna-pre-server.zip package from https://github.com/ansys/pydyna/releases and start it
55+
# refering to the README.rst file in this server package.
5356
#
5457
# Once the ``pre`` service is running, you can connect a client to it using
5558
# the host name and port. This example uses the default localhost and port

examples/Implicit/camry_rc.py

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,15 @@
4141
from ansys.dyna.core.pre import examples
4242

4343
###############################################################################
44-
# Manually start the ``pre`` service
44+
# Start the ``pre`` service
4545
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
46-
# Copy the ``pyDyna/src/ansys/dyna/core/pre/Server`` folder to a desired location.
47-
# Start the ``pre`` service at this location by running this command:
48-
#
49-
# ``python kwserver.py``
46+
# Before starting the ``pre`` service, you must ensure that the Docker container
47+
# for this service has been started. For more information, see "Start the Docker
48+
# container for the ``pre`` service" in https://dyna.docs.pyansys.com/version/stable/index.html.
49+
#
50+
# The ``pre`` service can also be started locally, please download the latest version of
51+
# ansys-pydyna-pre-server.zip package from https://github.com/ansys/pydyna/releases and start it
52+
# refering to the README.rst file in this server package.
5053
#
5154
# Once the ``pre`` service is running, you can connect a client to it using
5255
# the hostname and port. This example uses the default localhost and port

examples/NVH/frf_plate_damping.py

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,15 @@
3131
from ansys.dyna.core.pre import examples
3232
# sphinx_gallery_thumbnail_path = '_static/pre/nvh/frf_plate_damping.png'
3333
###############################################################################
34-
# Manually start the ``pre`` service
34+
# Start the ``pre`` service
3535
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
36-
# Copy the ``pyDyna/src/ansys/dyna/core/pre/Server`` folder to a desired location.
37-
# Start the ``pre`` service at this location by running this command:
38-
#
39-
# ``python kwserver.py``
36+
# Before starting the ``pre`` service, you must ensure that the Docker container
37+
# for this service has been started. For more information, see "Start the Docker
38+
# container for the ``pre`` service" in https://dyna.docs.pyansys.com/version/stable/index.html.
39+
#
40+
# The ``pre`` service can also be started locally, please download the latest version of
41+
# ansys-pydyna-pre-server.zip package from https://github.com/ansys/pydyna/releases and start it
42+
# refering to the README.rst file in this server package.
4043
#
4144
# Once the ``pre`` service is running, you can connect a client to it using
4245
# the hostname and port. This example uses the default localhost and port

0 commit comments

Comments
 (0)