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

update: add make slab if not #177

Merged
merged 3 commits into from
Nov 26, 2024
Merged

update: add make slab if not #177

merged 3 commits into from
Nov 26, 2024

Conversation

VsevolodX
Copy link
Member

No description provided.

@@ -14,3 +14,11 @@ def create_slab(configuration: SlabConfiguration, termination: Optional[Terminat
builder = SlabBuilder()
termination = termination or builder.get_terminations(configuration)[0]
return builder.get_material(configuration, selector_parameters=SlabSelectorParameters(termination=termination))


def create_slab_if_not(material: Material, default_slab_configuration: SlabConfiguration):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Docstring

@VsevolodX VsevolodX merged commit 666a941 into main Nov 26, 2024
9 checks passed
@VsevolodX VsevolodX deleted the feature/SOF-7494 branch November 26, 2024 03:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants