Skip to content

Commit

Permalink
Merge branch 'main' into release/0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ansjmoody committed Aug 25, 2023
2 parents 7149f7c + e7346be commit eb3f941
Show file tree
Hide file tree
Showing 35 changed files with 2,686 additions and 753 deletions.
1 change: 1 addition & 0 deletions AUTHORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
## Contributors

* [Alexander Kaszynski](https://github.com/akaszynski)
* [Ethan Ermovick](https://github.com/ansys-eermovic)
* [Jeff Moody](https://github.com/ansys-jmoody)
* [Paul Walters](https://github.com/ansys-pwalters)
* [Roberto Pastor](https://github.com/RobPasMue)
Expand Down
13 changes: 13 additions & 0 deletions PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Checklist:
- [] Run unit tests and make sure they all pass
- [] Check and fix style errors
- pre-commit command line check
- Problems tab in PyCharm
- [] Bench test new/modified APIs by using and modifying the code in the example for the API method
- [] Add new methods to rst file for updated API script(<pysherlock>\doc\source\api)
- [] Generate documentation
- [] Verify the HTML. It gets generated at: <pysherlock>\doc\build\html.
- Open index.html
- Click on "API Reference" at the top.
- Verify HTML for API changes.
- [] Check that test code coverage is at least 80% when Sherlock is running and can be connected to using gRPC
7 changes: 6 additions & 1 deletion doc/source/api/analysis.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,15 @@ The ``analysis`` module contains all analysis capabilities.
:toctree: _autosummary

ansys.sherlock.core.analysis.Analysis.get_harmonic_vibe_input_fields
ansys.sherlock.core.analysis.Analysis.get_mechanical_shock_input_fields
ansys.sherlock.core.analysis.Analysis.get_random_vibe_input_fields
ansys.sherlock.core.analysis.Analysis.get_solder_fatigue_input_fields
ansys.sherlock.core.analysis.Analysis.run_analysis
ansys.sherlock.core.analysis.Analysis.run_strain_map_analysis
ansys.sherlock.core.analysis.Analysis.update_harmonic_vibe_props
ansys.sherlock.core.analysis.Analysis.update_mechanical_shock_props
ansys.sherlock.core.analysis.Analysis.update_natural_frequency_props
ansys.sherlock.core.analysis.Analysis.update_part_modeling_props
ansys.sherlock.core.analysis.Analysis.update_pcb_modeling_props
ansys.sherlock.core.analysis.Analysis.update_random_vibe_props
ansys.sherlock.core.analysis.Analysis.update_random_vibe_props
ansys.sherlock.core.analysis.Analysis.update_solder_fatigue_props
1 change: 1 addition & 0 deletions doc/source/api/common.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ The ``common`` module contains all common capabilities.
ansys.sherlock.core.common.Common.check
ansys.sherlock.core.common.Common.exit
ansys.sherlock.core.common.Common.is_sherlock_client_loading
ansys.sherlock.core.common.Common.list_solder_materials
ansys.sherlock.core.common.Common.list_units
4 changes: 4 additions & 0 deletions doc/source/api/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ Use the search feature or click links to view API documentation.
lifecycle
model
parts
layer_types
parts_types
project
stackup

Expand All @@ -29,5 +31,7 @@ Use the search feature or click links to view API documentation.
ansys.sherlock.core.lifecycle
ansys.sherlock.core.model
ansys.sherlock.core.parts
ansys.sherlock.core.types.layer_types
ansys.sherlock.core.types.parts_types
ansys.sherlock.core.project
ansys.sherlock.core.stackup
2 changes: 2 additions & 0 deletions doc/source/api/launcher.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,5 @@ The ``launcher`` module launches the Sherlock gRPC server and a Sherlock client.
:toctree: _autosummary

ansys.sherlock.core.launcher.launch_sherlock
ansys.sherlock.core.launcher.connect_grpc_channel

1 change: 1 addition & 0 deletions doc/source/api/layer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ The ``layer`` module contains all layer management capabilities.
:toctree: _autosummary

ansys.sherlock.core.layer.Layer.update_mount_points_by_file
ansys.sherlock.core.layer.Layer.add_potting_region
17 changes: 17 additions & 0 deletions doc/source/api/layer_types.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.. _ref_layer_types:

Layer Types
===========

Classes used for the Layer API.

.. currentmodule:: ansys.sherlock.core.types.layer_types

.. autosummary::
:toctree: _autosummary

PolygonalShape
RectangularShape
SlotShape
CircularShape
PCBShape
13 changes: 13 additions & 0 deletions doc/source/api/parts_types.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
.. _ref_parts_types:

Parts Types
===========

Constants and classes used for the Parts API.

.. currentmodule:: ansys.sherlock.core.types.parts_types

.. autosummary::
:toctree: _autosummary

PartLocation
4 changes: 3 additions & 1 deletion doc/source/api/project.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@ The ``project`` module contains all project management capabilities.
.. autosummary::
:toctree: _autosummary

ansys.sherlock.core.project.Project.add_cca
ansys.sherlock.core.project.Project.add_strain_maps
ansys.sherlock.core.project.Project.delete_project
ansys.sherlock.core.project.Project.generate_project_report
ansys.sherlock.core.project.Project.import_odb_archive
ansys.sherlock.core.project.Project.import_ipc2581_archive
ansys.sherlock.core.project.Project.list_ccas
ansys.sherlock.core.project.Project.list_strain_maps
ansys.sherlock.core.project.Project.list_strain_maps
ansys.sherlock.core.project.Project.add_project
2 changes: 1 addition & 1 deletion doc/source/getting_started/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Install packages
================

The ``ansys-sherlock-core`` package supports Python 3.7 through Python 3.10 on Windows.
The ``ansys-sherlock-core`` package supports Python 3.8 through Python 3.11 on Windows.

To use PySherlock, you must download and install both the ``ansys-api-sherlock``
and ``ansys-sherlock-core`` packages. By using ``pip``, ``ansys-api-sherlock`` is
Expand Down
12 changes: 6 additions & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,26 +24,26 @@ classifiers = [
]

dependencies = [
"ansys-api-sherlock==0.1.14",
"ansys-api-sherlock==0.1.20",
"grpcio>=1.17",
"importlib-metadata>=4.0,<5; python_version<='3.8'",
"protobuf~=3.20",
]

[project.optional-dependencies]
tests = [
"grpcio==1.55.0",
"grpcio==1.57.0",
"protobuf==3.20.3",
"pytest==7.3.2",
"pytest==7.4.0",
"pytest-cov==4.1.0",
]
doc = [
"ansys-sphinx-theme==0.9.9",
"ansys-sphinx-theme==0.10.4",
"numpydoc==1.5.0",
"Sphinx==6.2.1", # BLOCKED BY sphinx-design - Cannot upgrade to Sphinx 7 for now
"sphinx-copybutton==0.5.2",
"sphinx_design==0.4.1",
"sphinx-gallery==0.13.0",
"sphinx_design==0.5.0",
"sphinx-gallery==0.14.0",
]

[project.urls]
Expand Down
Loading

0 comments on commit eb3f941

Please sign in to comment.