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

Junction not being render in Ansys #995

Open
Risav25Pokhrel opened this issue Jul 21, 2024 · 0 comments
Open

Junction not being render in Ansys #995

Risav25Pokhrel opened this issue Jul 21, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Risav25Pokhrel
Copy link

Information

  • Qiskit Metal version: 0.1.5
  • Python version:3.9.19
  • Operating system:Windows 11

What is the current behavior?

Cell In[18], line 1
----> 1 eig_qb.sim.run_sim(name="Qbit")

File c:\Users\USER\anaconda3\envs\qmetal\lib\site-packages\qiskit_metal\analyses\simulation\eigenmode.py:130, in EigenmodeSim.run_sim(self, name, components, open_terminations, port_list, jj_to_port, ignored_jjs, box_plus_buffer)
127 self._initialize_renderer()
129 vars_to_initialize = self.setup.vars
--> 130 renderer_design_name = self._render(
131 name=name,
132 solution_type='eigenmode',
133 selection=components,
134 open_pins=open_terminations,
135 port_list=port_list,
136 jj_to_port=jj_to_port,
137 ignored_jjs=ignored_jjs,
138 box_plus_buffer=box_plus_buffer,
139 vars_to_initialize=vars_to_initialize)
141 self._analyze()
142 return renderer_design_name, self.sim_setup_name

File c:\Users\USER\anaconda3\envs\qmetal\lib\site-packages\qiskit_metal\analyses\core\simulation.py:167, in QSimulation.render(self, solution_type, vars_to_initialize, **design_selection)
165 del design_selection["name"]
166 design_name = base_name + "
" + self.renderer_name
--> 167 design_name = self.renderer.execute_design(
...
208 a callable, it's passed the Match object and must return
209 a replacement string to be used."""
--> 210 return _compile(pattern, flags).sub(repl, string, count)

TypeError: expected string or bytes-like object

Steps to reproduce the problem

I have made a custom Component and is working well in design but while doing epr analysis it throws this error
image

In hfss the junction is not being rendered
image

@Risav25Pokhrel Risav25Pokhrel added the bug Something isn't working label Jul 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant