You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For Elmer Rendering, rendering, meshing, gui launching is done without error while elmer_renderer.add_solution_setup('capacitance') tells
(1) Capacitance body is not defined,
(2) No attribute "nets".
`
AttributeError Traceback (most recent call last)
Cell In[16], line 2
1 # Add a solution to solve for Capacitance matrix
----> 2 elmerRenderer.add_solution_setup('capacitance')
File ~/WORK/QC/qiskit-metal/qiskit_metal/renderers/renderer_elmer/elmer_renderer.py:537, in QElmerRenderer.add_solution_setup(self, sim_name, solver_names, equation_name)
534 bodies = self.define_bodies(setup, eqn, materials)
536 # Add boundary conditions
--> 537 boundaries, cap_body = self.define_boundaries()
539 if cap_body == 1:
540 self.logger.warning(
541 "WARNING: No capacitance bodies added to the model other "
542 "than those connected to ground. ElmerFEM cannot run a "
543 "capacitance extraction analysis without any bodies. ")
File ~/WORK/QC/qiskit-metal/qiskit_metal/renderers/renderer_elmer/elmer_renderer.py:619, in QElmerRenderer.define_boundaries(self)
615 continue
617 phys_grps_dict.update(ph_geoms)
--> 619 for net, geom_names in self.nets.items():
620 geom_id_list = [
621 phys_grps_dict[f"{name}_sfs"] for name in geom_names
622 ]
624 if net == "gnd":
AttributeError: 'QElmerRenderer' object has no attribute 'nets'
`
However, elmer_renderer.py has assign_nets().
I also wish to mention that Analyze_a_transmon_using_ElmerFEM.py works smoothly without any error.
Steps to reproduce the problem
What is the expected behavior?
It is expected to run that line without error.
Suggested solutions
The text was updated successfully, but these errors were encountered:
Thanks. @zlatko-minev and @shanto268, I installed pyside6 and tested. I am still getting those errors. The issue creeps in here
`AttributeError Traceback (most recent call last)
Cell In[20], line 2
1 # Add a solution to solve for Capacitance matrix
----> 2 elmerRenderer.add_solution_setup('capacitance')
File ~/WORK/QC/qiskit-metal/qiskit_metal/renderers/renderer_elmer/elmer_renderer.py:537, in QElmerRenderer.add_solution_setup(self, sim_name, solver_names, equation_name)
534 bodies = self.define_bodies(setup, eqn, materials)
536 # Add boundary conditions
--> 537 boundaries, cap_body = self.define_boundaries()
539 if cap_body == 1:
540 self.logger.warning(
541 "WARNING: No capacitance bodies added to the model other "
542 "than those connected to ground. ElmerFEM cannot run a "
543 "capacitance extraction analysis without any bodies. ")
File ~/WORK/QC/qiskit-metal/qiskit_metal/renderers/renderer_elmer/elmer_renderer.py:619, in QElmerRenderer.define_boundaries(self)
615 continue
617 phys_grps_dict.update(ph_geoms)
--> 619 for net, geom_names in self.nets.items():
620 geom_id_list = [
621 phys_grps_dict[f"{name}_sfs"] for name in geom_names
622 ]
624 if net == "gnd":
AttributeError: 'QElmerRenderer' object has no attribute 'nets' `
Information
What is the current behavior?
For Elmer Rendering, rendering, meshing, gui launching is done without error while
elmer_renderer.add_solution_setup('capacitance')
tells(1) Capacitance body is not defined,
(2) No attribute "nets".
`
AttributeError Traceback (most recent call last)
Cell In[16], line 2
1 # Add a solution to solve for Capacitance matrix
----> 2 elmerRenderer.add_solution_setup('capacitance')
File ~/WORK/QC/qiskit-metal/qiskit_metal/renderers/renderer_elmer/elmer_renderer.py:537, in QElmerRenderer.add_solution_setup(self, sim_name, solver_names, equation_name)
534 bodies = self.define_bodies(setup, eqn, materials)
536 # Add boundary conditions
--> 537 boundaries, cap_body = self.define_boundaries()
539 if cap_body == 1:
540 self.logger.warning(
541 "WARNING: No capacitance bodies added to the model other "
542 "than those connected to ground. ElmerFEM cannot run a "
543 "capacitance extraction analysis without any bodies. ")
File ~/WORK/QC/qiskit-metal/qiskit_metal/renderers/renderer_elmer/elmer_renderer.py:619, in QElmerRenderer.define_boundaries(self)
615 continue
617 phys_grps_dict.update(ph_geoms)
--> 619 for net, geom_names in self.nets.items():
620 geom_id_list = [
621 phys_grps_dict[f"{name}_sfs"] for name in geom_names
622 ]
624 if net == "gnd":
AttributeError: 'QElmerRenderer' object has no attribute 'nets'
`
However,
elmer_renderer.py
hasassign_nets()
.I also wish to mention that
Analyze_a_transmon_using_ElmerFEM.py
works smoothly without any error.Steps to reproduce the problem
What is the expected behavior?
It is expected to run that line without error.
Suggested solutions
The text was updated successfully, but these errors were encountered: