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 si500nm pdk #32

Merged
merged 2 commits into from
May 4, 2024
Merged

add si500nm pdk #32

merged 2 commits into from
May 4, 2024

Conversation

joamatab
Copy link
Contributor

@joamatab joamatab commented May 4, 2024

No description provided.

@github-actions github-actions bot added the enhancement New feature or request label May 4, 2024
Copy link

@sourcery-ai sourcery-ai bot left a 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

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
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
Copy link

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.

Comment on lines +367 to +376
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,
Copy link

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.

@github-actions github-actions bot added the documentation Improvements or additions to documentation label May 4, 2024
@joamatab joamatab merged commit c034504 into main May 4, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant