Skip to content

Commit

Permalink
Merge branch 'main' into release/0.64
Browse files Browse the repository at this point in the history
  • Loading branch information
germa89 committed Jan 19, 2023
2 parents 2a5fc46 + be8ff4a commit 1fefb56
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 13 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -558,13 +558,6 @@ jobs:

- uses: actions/download-artifact@v3

- name: 'Download the HTML as a zip'
uses: dawidd6/action-download-artifact@v2
with:
name: documentation-html
skip_unpack: true
github_token: ${{secrets.GITHUB_TOKEN}}

- name: Display structure of downloaded files
run: ls -R

Expand All @@ -576,7 +569,6 @@ jobs:
./**/*.tar.gz
./**/*pymapdl-Documentation-*.pdf
./**/*.zip
./**/*documentation-html*.zip
- name: Upload to Public PyPi
env:
Expand Down
8 changes: 4 additions & 4 deletions src/ansys/mapdl/core/launcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def _version_from_path(path):
"""Extract ansys version from a path. Generally, the version of
ANSYS is contained in the path:
C:/Program Files/ANSYS Inc/v202/ansys/bin/win64/ANSYS202.exe
C:/Program Files/ANSYS Inc/v202/ansys/bin/winx64/ANSYS202.exe
/usr/ansys_inc/v211/ansys/bin/mapdl
Expand Down Expand Up @@ -395,7 +395,7 @@ def launch_grpc(
Run MAPDL with shared memory parallel and specify the location of
the ansys binary.
>>> exec_file = 'C:/Program Files/ANSYS Inc/v202/ansys/bin/win64/ANSYS202.exe'
>>> exec_file = 'C:/Program Files/ANSYS Inc/v202/ansys/bin/winx64/ANSYS202.exe'
>>> mapdl = launch_mapdl(exec_file, additional_switches='-smp')
"""
Expand Down Expand Up @@ -968,7 +968,7 @@ def change_default_ansys_path(exe_loc):
Change default Ansys location on Windows
>>> ans_pth = 'C:/Program Files/ANSYS Inc/v193/ansys/bin/win64/ANSYS193.exe'
>>> ans_pth = 'C:/Program Files/ANSYS Inc/v193/ansys/bin/winx64/ANSYS193.exe'
>>> launcher.change_default_ansys_path(ans_pth)
>>> launcher.check_valid_ansys()
True
Expand Down Expand Up @@ -1580,7 +1580,7 @@ def launch_mapdl(
Run MAPDL with shared memory parallel and specify the location of
the Ansys binary.
>>> exec_file = 'C:/Program Files/ANSYS Inc/v201/ansys/bin/win64/ANSYS201.exe'
>>> exec_file = 'C:/Program Files/ANSYS Inc/v231/ansys/bin/winx64/ANSYS231.exe'
>>> mapdl = launch_mapdl(exec_file, additional_switches='-smp')
Connect to an existing instance of MAPDL at IP 192.168.1.30 and
Expand Down
2 changes: 1 addition & 1 deletion src/ansys/mapdl/core/pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class LocalMapdlPool:
Create a pool while specifying the MAPDL executable in Windows.
>>> exec_file = 'C:/Program Files/ANSYS Inc/v212/ansys/bin/win64/ANSYS212.exe'
>>> exec_file = 'C:/Program Files/ANSYS Inc/v212/ansys/bin/winx64/ANSYS212.exe'
>>> pool = LocalMapdlPool(10, exec_file=exec_file)
Creating Pool: 100%|########| 10/10 [00:01<00:00, 1.43it/s]
Expand Down

0 comments on commit 1fefb56

Please sign in to comment.