From 1b2f0a08c4c1dcb080b1b62643546cadb33b3a61 Mon Sep 17 00:00:00 2001 From: Paul Walters Date: Mon, 11 Mar 2024 09:41:41 -0400 Subject: [PATCH] Added export_aedb. --- src/ansys/sherlock/core/model.py | 8 ++------ tests/test_model.py | 5 +---- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/src/ansys/sherlock/core/model.py b/src/ansys/sherlock/core/model.py index 7aea0a74..5c5c43c6 100644 --- a/src/ansys/sherlock/core/model.py +++ b/src/ansys/sherlock/core/model.py @@ -11,10 +11,7 @@ from ansys.api.sherlock.v0 import SherlockModelService_pb2_grpc from ansys.sherlock.core import LOG -from ansys.sherlock.core.errors import ( - SherlockExportAEDBError, - SherlockModelServiceError, -) +from ansys.sherlock.core.errors import SherlockExportAEDBError, SherlockModelServiceError from ansys.sherlock.core.grpc_stub import GrpcStub @@ -302,7 +299,6 @@ def generate_trace_model( LOG.error(str(e)) raise - def export_aedb( self, project_name, @@ -372,4 +368,4 @@ def export_aedb( return return_code.value except Exception as e: LOG.error(str(e)) - raise \ No newline at end of file + raise diff --git a/tests/test_model.py b/tests/test_model.py index 196d29eb..ffdbe002 100644 --- a/tests/test_model.py +++ b/tests/test_model.py @@ -7,10 +7,7 @@ import grpc import pytest -from ansys.sherlock.core.errors import ( - SherlockExportAEDBError, - SherlockModelServiceError, -) +from ansys.sherlock.core.errors import SherlockExportAEDBError, SherlockModelServiceError from ansys.sherlock.core.model import Model