From 3cb979f4fbbb8d864385487c47fe97f65f4b1d12 Mon Sep 17 00:00:00 2001 From: Nayane Fernandes <143632290+ansnfernand@users.noreply.github.com> Date: Mon, 23 Oct 2023 16:54:34 +0200 Subject: [PATCH] Updating API documentation (#194) --- doc/source/user_guide/index.rst | 4 ++-- src/ansys/sherlock/core/lifecycle.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/source/user_guide/index.rst b/doc/source/user_guide/index.rst index 53b90b6cc..7e718335e 100644 --- a/doc/source/user_guide/index.rst +++ b/doc/source/user_guide/index.rst @@ -82,8 +82,8 @@ This code uses the Sherlock Part Library to update the parts list: "Tutorial", "Main Board", "Sherlock Part Library", - "Both", - "Error" + PartsListSearchMatchingMode.BOTH, + PartsListSearchDuplicationMode.ERROR, ) For information on the ``parts`` module and its methods, see :ref:`ref_parts_module`. diff --git a/src/ansys/sherlock/core/lifecycle.py b/src/ansys/sherlock/core/lifecycle.py index a8b6c9f0a..87b134056 100644 --- a/src/ansys/sherlock/core/lifecycle.py +++ b/src/ansys/sherlock/core/lifecycle.py @@ -1227,7 +1227,7 @@ def add_harmonic_vibe_profiles( "Uniaxial", "2,4,5", ) - >>> sherlock.lifecycle.add_harmonic_profiles( + >>> sherlock.lifecycle.add_harmonic_vibe_profiles( "Test", [( "Example",