Skip to content

Commit

Permalink
Merge branch 'main' into feat/simple_example
Browse files Browse the repository at this point in the history
  • Loading branch information
agvarghe authored Nov 28, 2023
2 parents bb7c072 + 3e27a72 commit bfba61f
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 2 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/dependabot_automerge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Dependabot auto-merge
on: pull_request

permissions:
pull-requests: write

jobs:
dependabot:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- name: Dependabot metadata
id: metadata
uses: dependabot/fetch-metadata@v1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

- name: Approve a PR
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

- name: Enable auto-merge for Dependabot PRs
if: steps.metadata.outputs.update-type != 'version-update:semver-major'
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
4 changes: 2 additions & 2 deletions doc/source/user_guide/expressions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ can be used within a string as follows:
* ``abc\*`` collects all required entities with a name starting with abc.
* ``\*abc`` collects all required entities with a name ending with abc.
* ``\*abc*`` collects all required entities with a name containing abc.
* ``!abc\*`` collects all required entities with a name that is not starting with ab.
* ``\*abc,\*xyz`` ``\*abc \*xyz`` collects all required entities with a name ending with abc or xyz. A comma or a space represents ```OR``.
* ``!abc\*`` collects all required entities with a name that is not starting with abc.
* ``\*abc,\*xyz`` ``\*abc \*xyz`` collects all required entities with a name ending with abc or xyz. A comma or a space represents ``OR``.

The following example uses expressions in the :class:`ScopeDefinition <ansys.meshing.prime.ScopeDefinition>`
class. The :attr:`part_expression <ansys.meshing.prime.ScopeDefinition.part_expression>` parameter
Expand Down
1 change: 1 addition & 0 deletions src/ansys/meshing/prime/internals/error_handling.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,7 @@
ErrorCode.SOURCETARGETZONELETSNOTFIT: "Source and target zonelets do not fit to thin volume mesh.",
ErrorCode.AUTOQUADMESHER_INVALIDMINMAXSIZES: "Min size is more than max size.",
ErrorCode.AUTOQUADMESHER_NEGATIVEINPUTPARAMETER: "Input parameters contains negative value.",
ErrorCode.INVALIDFILEEXTENSIONFORFLUENTCASEEXPORT: "Provided file extension is invalid. If cff_format is set to False, then supported extensions are .cas and .cas.gz. If cff_format is set to True, then supported extension is .cas.h5 .",
}

prime_warning_messages = {
Expand Down

0 comments on commit bfba61f

Please sign in to comment.