Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
},
{
"cell_type": "code",
"outputs": [],
"source": [
"# Material selection\n",
"MATERIAL_NAME = \"Boron_Nitride\" # Name of the material to import from Standata\n",
Expand Down Expand Up @@ -73,6 +72,7 @@
"collapsed": false
},
"id": "338ee3c51155e086",
"outputs": [],
"execution_count": null
},
{
Expand All @@ -88,7 +88,6 @@
},
{
"cell_type": "code",
"outputs": [],
"source": [
"import sys\n",
"\n",
Expand All @@ -104,6 +103,7 @@
"collapsed": false
},
"id": "7e22d1f4da825575",
"outputs": [],
"execution_count": null
},
{
Expand All @@ -118,7 +118,6 @@
},
{
"cell_type": "code",
"outputs": [],
"source": [
"from mat3ra.standata.materials import Materials\n",
"from mat3ra.made.material import Material\n",
Expand All @@ -129,6 +128,7 @@
"collapsed": false
},
"id": "a1635c31132962f6",
"outputs": [],
"execution_count": null
},
{
Expand All @@ -144,7 +144,6 @@
},
{
"cell_type": "code",
"outputs": [],
"source": [
"from utils.visualize import visualize_materials\n",
"\n",
Expand All @@ -155,6 +154,7 @@
"collapsed": false
},
"id": "61f0870d8104cd21",
"outputs": [],
"execution_count": null
},
{
Expand All @@ -170,7 +170,6 @@
},
{
"cell_type": "code",
"outputs": [],
"source": [
"from mat3ra.made.tools.build.grain_boundary import (\n",
" SurfaceGrainBoundaryConfiguration,\n",
Expand Down Expand Up @@ -200,6 +199,7 @@
"collapsed": false
},
"id": "33a2c8a9be436745",
"outputs": [],
"execution_count": null
},
{
Expand All @@ -214,7 +214,6 @@
},
{
"cell_type": "code",
"outputs": [],
"source": [
"from utils.plot import plot_twisted_interface_solutions\n",
"\n",
Expand All @@ -234,6 +233,7 @@
"collapsed": false
},
"id": "d7007fe825463e5a",
"outputs": [],
"execution_count": null
},
{
Expand All @@ -249,7 +249,6 @@
},
{
"cell_type": "code",
"outputs": [],
"source": [
"selected_structure = grain_boundaries[0]\n",
"\n",
Expand All @@ -265,6 +264,7 @@
"collapsed": false
},
"id": "7f558a8e9d417cef",
"outputs": [],
"execution_count": null
},
{
Expand All @@ -279,16 +279,17 @@
},
{
"cell_type": "code",
"outputs": [],
"source": [
"from utils.jupyterlite import download_content_to_file\n",
"from utils.jupyterlite import download_content_to_file, set_materials\n",
"\n",
"set_materials(selected_structure)\n",
"download_content_to_file(selected_structure, \"grain_boundary_2d_boron_nitride.json\")"
],
"metadata": {
"collapsed": false
},
"id": "20e46167358d63",
"outputs": [],
"execution_count": null
}
],
Expand Down
Loading
Loading