File tree Expand file tree Collapse file tree 6 files changed +6
-5
lines changed Expand file tree Collapse file tree 6 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 1+ fix example repo URL; add server release requirement in doc
Original file line number Diff line number Diff line change 135135linkcheck_ignore = [
136136 "https://github.com/ansys/pyworkbench-examples" ,
137137 "https://github.com/ansys/pyworkbench/issues" ,
138- "https://github.com/ansys/example-data/tree /master/pyworkbench" ,
138+ "https://github.com/ansys/example-data/raw /master/pyworkbench" ,
139139 "https://workbench.docs.pyansys.com" ,
140140 "workbench.docs.pyansys.com" ,
141141 "https://www.ansys.com/*" ,
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ Getting started
22###############
33
44To run PyWorkbench, you must have a licensed copy of `Workbench
5- <https://www.ansys.com/products/ansys-workbench> `_.
5+ <https://www.ansys.com/products/ansys-workbench> `_ of release 24.2 or above .
66
77.. grid :: 2
88
Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ This client script downloads all files with ``.out`` extensions from the server'
151151 wb.download_file(" *.out" )
152152
153153 There is a special client method to upload a data file from the Ansys
154- `example-data <https://github.com/ansys/example-data/tree /master/pyworkbench >`_ repository
154+ `example-data <https://github.com/ansys/example-data/raw /master/pyworkbench >`_ repository
155155directly to the Workbench server. You should specify the file path relative to the
156156``pyworkbench `` folder in the ``example-data `` repository:
157157
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ def _get_file_url(relative_file_path): # noqa: N805
4646 str
4747 URL of the file in the ``example-data`` repository.
4848 """
49- return f"https://github.com/ansys/example-data/tree /master/pyworkbench/{ relative_file_path } "
49+ return f"https://github.com/ansys/example-data/raw /master/pyworkbench/{ relative_file_path } "
5050
5151 def __retrieve_file (url , local_file_path ): # noqa: N805
5252 """Download the file from the URL.
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ def test_get_file_url(example_data):
4343 """Test get_file_url."""
4444 relative_path , asset_file = example_data
4545 url = ExampleData ._get_file_url (relative_file_path = relative_path )
46- assert url == f"https://github.com/ansys/example-data/tree /master/pyworkbench/{ relative_path } "
46+ assert url == f"https://github.com/ansys/example-data/raw /master/pyworkbench/{ relative_path } "
4747
4848
4949def test_download (example_data ):
You can’t perform that action at this time.
0 commit comments