Skip to content

Commit

Permalink
Added export_aedb.
Browse files Browse the repository at this point in the history
  • Loading branch information
ansys-pwalters authored and ansnfernand committed Mar 13, 2024
1 parent 53cdbd4 commit 1b2f0a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
8 changes: 2 additions & 6 deletions src/ansys/sherlock/core/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down Expand Up @@ -302,7 +299,6 @@ def generate_trace_model(
LOG.error(str(e))
raise


def export_aedb(
self,
project_name,
Expand Down Expand Up @@ -372,4 +368,4 @@ def export_aedb(
return return_code.value
except Exception as e:
LOG.error(str(e))
raise
raise
5 changes: 1 addition & 4 deletions tests/test_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit 1b2f0a0

Please sign in to comment.