-
Notifications
You must be signed in to change notification settings - Fork 30
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
Fail to run Palace test files #325
Comments
Thank you for reporting the issue, it would be great if someone could help fixing this |
I get the same error of @ankagrwl (AttributeError: 'NoneType' object has no attribute 'group') when I try to run Palace Full-wave driven simulation example |
Unfortunately I don't have any experience with the gdsfactory plugin for Palace, so can't be of much help here. This looks to be an error independent of Palace however, and points to a potential bug in the plugin Python code used to construct the JSON configuration file for Palace. |
Yes @sebastiangrimberg , I think this is related to the plugin for the construction of the JSON configuration file too. By the way, do you know an alternative to construct the JSON file? |
Yes absolutely, my recommendation would be to write it by hand before generating it or modifying programmatically from a scripting language. You can base off of the examples here: https://awslabs.github.io/palace/dev/examples/examples/. The only information you'll need from the gdsfactory plugin is the mesh (Palace reads the Gmsh format so that's fine) and the integer group numbers (these are referred to as |
Describe the bug
It seems that the Palace config generator is running into an error while assigning Ports for the Interdigitated capacitor simulation
I installed Palace using Spack and it is added to the ./lib dir. There was another error in
get_scattering.py
line 365, addedstr
to fix itfilename=str(simulation_folder / filename),
The error is:
To Reproduce
What's the code to reproduce the behavior? What commands or code did you write to get the error?
You can add screenshots to help explain your problem.
Make sure you include the all code for others to reproduce your issue.
Expected behavior
What would you like to happen?
Suggested fix
How could we fix the bug?
Versions
What version of gplugins and each gplugin are you using? Notice that we only may be able help you if you are using the latest version.
You can find the version by running:
And update to the latest version of all plugins by running:
pip install "gdsfactory[full]" --upgrade
Or only the specific plugin you are reporting:
pip install "gplugins[tidy3d]" --upgrade
Then copy paste the table so that we know which version of python and plugins you are using.
The text was updated successfully, but these errors were encountered: