-
Notifications
You must be signed in to change notification settings - Fork 6
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 si500nm pdk #32
add si500nm pdk #32
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @joamatab - I've reviewed your changes and they look great!
Here's what I looked at during the review
- 🟡 General issues: 2 issues found
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment to tell me if it was helpful.
@@ -0,0 +1,721 @@ | |||
from functools import partial |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggestion (code_refinement): Check usage of 'partial' for potential overuse or misuse.
The use of 'partial' from functools is noted. It's important to ensure that this is being used appropriately to avoid unnecessary complexity or potential errors in function handling.
return gf.components.grating_coupler_rectangular( | ||
n_periods=n_periods, | ||
fill_factor=fill_factor, | ||
length_taper=length_taper, | ||
fiber_angle=fiber_angle, | ||
layer_grating=layer_grating, | ||
layer_slab=layer_slab, | ||
slab_offset=slab_offset, | ||
period=period, | ||
width_grating=width_grating, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggestion (code_refinement): Review the necessity of flattening the grating coupler component.
The method call '.flatten()' at the end of the grating coupler component creation could potentially lead to issues with hierarchical designs. Ensure that this flattening is necessary and does not interfere with design modularity or reuse.
No description provided.