Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add component name #3781

Merged
merged 1 commit into from
Oct 23, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion pyaedt/modeler/circuits/PrimitivesMaxwellCircuit.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
)

id.set_property("R", value)

id.set_property("Name", compname)

Check warning on line 98 in pyaedt/modeler/circuits/PrimitivesMaxwellCircuit.py

View check run for this annotation

Codecov / codecov/patch

pyaedt/modeler/circuits/PrimitivesMaxwellCircuit.py#L98

Added line #L98 was not covered by tests
return id

@pyaedt_function_handler()
Expand Down Expand Up @@ -138,6 +138,7 @@
)

id.set_property("L", value)
id.set_property("Name", compname)

Check warning on line 141 in pyaedt/modeler/circuits/PrimitivesMaxwellCircuit.py

View check run for this annotation

Codecov / codecov/patch

pyaedt/modeler/circuits/PrimitivesMaxwellCircuit.py#L141

Added line #L141 was not covered by tests
return id

@pyaedt_function_handler()
Expand Down Expand Up @@ -177,6 +178,7 @@
)

id.set_property("C", value)
id.set_property("Name", compname)

Check warning on line 181 in pyaedt/modeler/circuits/PrimitivesMaxwellCircuit.py

View check run for this annotation

Codecov / codecov/patch

pyaedt/modeler/circuits/PrimitivesMaxwellCircuit.py#L181

Added line #L181 was not covered by tests
return id

@pyaedt_function_handler()
Expand Down Expand Up @@ -215,6 +217,8 @@
angle=angle,
use_instance_id_netlist=use_instance_id_netlist,
)

id.set_property("Name", compname)

Check warning on line 221 in pyaedt/modeler/circuits/PrimitivesMaxwellCircuit.py

View check run for this annotation

Codecov / codecov/patch

pyaedt/modeler/circuits/PrimitivesMaxwellCircuit.py#L221

Added line #L221 was not covered by tests
return id

@pyaedt_function_handler()
Expand Down Expand Up @@ -250,4 +254,5 @@
angle=angle,
use_instance_id_netlist=use_instance_id_netlist,
)
id.set_property("Name", compname)

Check warning on line 257 in pyaedt/modeler/circuits/PrimitivesMaxwellCircuit.py

View check run for this annotation

Codecov / codecov/patch

pyaedt/modeler/circuits/PrimitivesMaxwellCircuit.py#L257

Added line #L257 was not covered by tests
return id
Loading