Skip to content

Commit 83f4e73

Browse files
fix: follow ansys.health namespace (#1036)
Co-authored-by: pyansys-ci-bot <[email protected]>
1 parent 4667681 commit 83f4e73

File tree

117 files changed

+286
-326
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

117 files changed

+286
-326
lines changed

.github/workflows/ci_cd_main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ env:
1313
ANSYS_VERSION: '241'
1414
ANSYS_DPF_ACCEPT_LA: 'Y'
1515
MAIN_PYTHON_VERSION: '3.11'
16-
DOCUMENTATION_CNAME: 'heart.docs.pyansys.com'
17-
LIBRARY_NAME: 'ansys-heart'
16+
DOCUMENTATION_CNAME: 'heart.health.docs.pyansys.com'
17+
LIBRARY_NAME: 'ansys-health-heart'
1818
ANSYSLMD_LICENSE_FILE: ${{ format('1055@{0}', secrets.LICENSE_SERVER) }}
1919
PYFLUENT_START_INSTANCE: 0
2020
PYFLUENT_LAUNCH_CONTAINER: 1

.github/workflows/ci_cd_night.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ env:
1212
ANSYS_VERSION: '241'
1313
ANSYS_DPF_ACCEPT_LA: 'Y'
1414
MAIN_PYTHON_VERSION: '3.11'
15-
DOCUMENTATION_CNAME: 'heart.docs.pyansys.com'
16-
LIBRARY_NAME: 'ansys-heart'
15+
DOCUMENTATION_CNAME: 'heart.health.docs.pyansys.com'
16+
LIBRARY_NAME: 'ansys-health-heart'
1717
ANSYSLMD_LICENSE_FILE: ${{ format('1055@{0}', secrets.LICENSE_SERVER) }}
1818
PYFLUENT_START_INSTANCE: 0
1919
PYFLUENT_LAUNCH_CONTAINER: 1

.github/workflows/ci_cd_pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ env:
1212
ANSYS_VERSION: '241'
1313
ANSYS_DPF_ACCEPT_LA: 'Y'
1414
MAIN_PYTHON_VERSION: '3.11'
15-
DOCUMENTATION_CNAME: 'heart.docs.pyansys.com'
16-
LIBRARY_NAME: 'ansys-heart'
15+
DOCUMENTATION_CNAME: 'heart.health.docs.pyansys.com'
16+
LIBRARY_NAME: 'ansys-health-heart'
1717
ANSYSLMD_LICENSE_FILE: ${{ format('1055@{0}', secrets.LICENSE_SERVER) }}
1818
PYFLUENT_START_INSTANCE: 0
1919
PYFLUENT_LAUNCH_CONTAINER: 1

.github/workflows/ci_cd_release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ env:
1414
ANSYS_VERSION: '241'
1515
ANSYS_DPF_ACCEPT_LA: 'Y'
1616
MAIN_PYTHON_VERSION: '3.11'
17-
DOCUMENTATION_CNAME: 'heart.docs.pyansys.com'
18-
LIBRARY_NAME: 'ansys-heart'
17+
DOCUMENTATION_CNAME: 'heart.health.docs.pyansys.com'
18+
LIBRARY_NAME: 'ansys-health-heart'
1919
ANSYSLMD_LICENSE_FILE: ${{ format('1055@{0}', secrets.LICENSE_SERVER) }}
2020
PYFLUENT_START_INSTANCE: 0
2121
PYFLUENT_LAUNCH_CONTAINER: 1

.pre-commit-config.yaml

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/astral-sh/ruff-pre-commit
3-
rev: v0.9.7
3+
rev: v0.11.4
44
hooks:
55
- id: ruff
66
- id: ruff-format
@@ -12,20 +12,6 @@ repos:
1212
exclude: ^(tests/heart/assets\/)
1313
args: [-L solf, "--ignore-words", "doc/styles/config/vocabularies/ANSYS/accept.txt", "-w"]
1414

15-
- repo: https://github.com/pycqa/pydocstyle
16-
rev: 6.3.0
17-
hooks:
18-
- id: pydocstyle
19-
additional_dependencies: [toml]
20-
args: ["--convention=numpy"]
21-
exclude: |
22-
(?x)^(
23-
tests/|
24-
examples/|
25-
src/ansys/heart/core/writer/custom_keywords/|
26-
.*__init__.py
27-
)
28-
2915
- repo: https://github.com/pre-commit/pre-commit-hooks
3016
rev: v5.0.0
3117
hooks:
@@ -36,12 +22,12 @@ repos:
3622
exclude: ^(tests/heart/assets\/)
3723

3824
- repo: https://github.com/python-jsonschema/check-jsonschema
39-
rev: 0.31.2
25+
rev: 0.32.1
4026
hooks:
4127
- id: check-github-workflows
4228

4329
- repo: https://github.com/ansys/pre-commit-hooks
44-
rev: v0.5.1
30+
rev: v0.5.2
4531
hooks:
4632
- id: add-license-headers
4733
files: '(ansys|examples|tests)/.*\.(py)'

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ PyAnsys Heart
1414
:target: https://pypi.org/project/pyansys-heart
1515
:alt: PyPI
1616

17-
.. |GH-CI| image:: https://github.com/ansys/pyansys-heart/actions/workflows/ci_cd.yml/badge.svg
18-
:target: https://github.com/ansys/pyansys-heart/actions/workflows/ci_cd.yml
17+
.. |GH-CI| image:: https://github.com/ansys/pyansys-heart/actions/workflows/ci_cd_night.yml/badge.svg
18+
:target: https://github.com/ansys/pyansys-heart/actions/workflows/ci_cd_night.yml
1919
:alt: GH-CI
2020

2121
.. |MIT| image:: https://img.shields.io/badge/license-MIT-yellow

doc/source/changelog/1036.fixed.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
follow ansys.health namespace

doc/source/conf.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77

88
from ansys_sphinx_theme import ansys_favicon, get_version_match
99

10-
from ansys.heart import __version__
10+
from ansys.health.heart import __version__
1111

1212
# Project information
13-
project = "ansys-heart"
13+
project = "ansys-health-heart"
1414
copyright = f"(c) {datetime.now().year} ANSYS, Inc. All rights reserved"
1515
author = "ANSYS, Inc."
1616
release = version = __version__
17-
cname = os.getenv("DOCUMENTATION_CNAME", "heart.docs.pyansys.com")
17+
cname = os.getenv("DOCUMENTATION_CNAME", "heart.health.docs.pyansys.com")
1818

1919
# use the default pyansys logo
2020
html_theme = "ansys_sphinx_theme"

doc/source/user-guide/preprocessor.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
Preprocessor
66
************
77

8-
This section provides an overview of the :attr:`HeartModel <ansys.heart.core.pre>` module.
8+
This section provides an overview of the :attr:`HeartModel <ansys.health.heart.pre>` module.

doc/source/user-guide/simulator.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Based on different applications, different simulators need to be created.
1818
A simple usage example is given in the following:
1919

2020
>>> # Get a heart model
21-
>>> import ansys.heart.core.models as models
21+
>>> import ansys.health.heart.models as models
2222
>>> model = models.HeartModel.load_model("path_to_model")
2323

2424
>>> # Set up a LS-DYNA executable

0 commit comments

Comments
 (0)