Skip to content

Conversation

@VsevolodX
Copy link
Member

  • upsdate: add get_materials wrapper
  • update: add set_materials wrapper

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@VsevolodX VsevolodX marked this pull request as ready for review October 4, 2024 04:03
{
"cell_type": "code",
"outputs": [],
"source": [
Copy link
Member

@timurbazhirov timurbazhirov Oct 4, 2024

Choose a reason for hiding this comment

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

Line #4.    FILM_INDEX = 1

FILM_INDEX = 1 # Index in the list of materials, to access as materials[FILM_INDEX]


Reply via ReviewNB

Copy link
Member Author

Choose a reason for hiding this comment

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

ok

{
"cell_type": "code",
"outputs": [],
"source": [
Copy link
Member

@timurbazhirov timurbazhirov Oct 4, 2024

Choose a reason for hiding this comment

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

Line #8.        print("Please select a film material. Film is set to substrate.")

Film material not found. Re-using substrate material as film.


Reply via ReviewNB

Copy link
Member Author

Choose a reason for hiding this comment

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

ok

"cell_type": "code",
"outputs": [],
"source": [
"# Enable interactive selection of terminations via UI prompt\n",
Copy link
Member

@timurbazhirov timurbazhirov Oct 4, 2024

Choose a reason for hiding this comment

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

Line #21.    TERMINATION_PAIR_INDEX = 0

TERMINATION_PAIR_INDEX # Will be overriden in interactive selection is used


Reply via ReviewNB

Copy link
Member Author

Choose a reason for hiding this comment

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

ok

@@ -0,0 +1,1079 @@
{
Copy link
Member

@timurbazhirov timurbazhirov Oct 4, 2024

Choose a reason for hiding this comment

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

Line #6.    materials = list(map(Material, globals()["materials_in"]))

Let's clean up the outputs


Reply via ReviewNB

@VsevolodX VsevolodX merged commit 69a4068 into dev Oct 5, 2024
@VsevolodX VsevolodX deleted the update/SOF-7461 branch October 5, 2024 03:17
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.

3 participants