Skip to content

Commit a3ef4be

Browse files
authored
Merge pull request #204 from Exabyte-io/fix/import-2
fix/import 2
2 parents 95574b4 + 7b692d6 commit a3ef4be

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

other/materials_designer/specific_examples/interface_bilayer_twisted_nanoribbons_boron_nitride.ipynb

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,16 +42,15 @@
4242
},
4343
{
4444
"cell_type": "code",
45-
"outputs": [],
4645
"source": [
4746
"# Material and structure parameters\n",
4847
"TWIST_ANGLE_A = 2.64 # Twist angle in degrees for A material\n",
4948
"TWIST_ANGLE_B = 60 + 2.64 # Twist angle in degrees for B material\n",
5049
"\n",
5150
"# Nanoribbons parameters\n",
5251
"\n",
53-
"RIBBON_WIDTH = 100 # Width of the nanoribbon in Angstroms\n",
54-
"RIBBON_LENGTH = 100 # Length of the nanoribbon in Angstrom\n",
52+
"RIBBON_WIDTH = 40 # Width of the nanoribbon in unit cells\n",
53+
"RIBBON_LENGTH = 40 # Length of the nanoribbon in unit cells\n",
5554
"\n",
5655
"# Interface parameters\n",
5756
"INTERFACE_DISTANCE = 3.23 # Distance between layers in Angstroms\n",
@@ -65,6 +64,7 @@
6564
"collapsed": false
6665
},
6766
"id": "47af0a587ce80b91",
67+
"outputs": [],
6868
"execution_count": null
6969
},
7070
{
@@ -79,7 +79,6 @@
7979
},
8080
{
8181
"cell_type": "code",
82-
"outputs": [],
8382
"source": [
8483
"import sys\n",
8584
"\n",
@@ -95,6 +94,7 @@
9594
"collapsed": false
9695
},
9796
"id": "f67b53c0f60f257c",
97+
"outputs": [],
9898
"execution_count": null
9999
},
100100
{
@@ -110,7 +110,6 @@
110110
},
111111
{
112112
"cell_type": "code",
113-
"outputs": [],
114113
"source": [
115114
"from mat3ra.made.material import Material\n",
116115
"from mat3ra.standata.materials import Materials\n",
@@ -130,6 +129,7 @@
130129
"collapsed": false
131130
},
132131
"id": "f1c2ac4b7553961b",
132+
"outputs": [],
133133
"execution_count": null
134134
},
135135
{
@@ -145,7 +145,6 @@
145145
},
146146
{
147147
"cell_type": "code",
148-
"outputs": [],
149148
"source": [
150149
"from mat3ra.made.tools.build.interface.builders import NanoRibbonTwistedInterfaceBuilder\n",
151150
"from mat3ra.made.tools.build.interface.configuration import NanoRibbonTwistedInterfaceConfiguration\n",
@@ -174,6 +173,7 @@
174173
"collapsed": false
175174
},
176175
"id": "80ac5dd96d8622b7",
176+
"outputs": [],
177177
"execution_count": null
178178
},
179179
{
@@ -188,7 +188,6 @@
188188
},
189189
{
190190
"cell_type": "code",
191-
"outputs": [],
192191
"source": [
193192
"interface_a = builder.get_material(config_a)\n",
194193
"interface_b = builder.get_material(config_b)\n",
@@ -203,6 +202,7 @@
203202
"collapsed": false
204203
},
205204
"id": "10f0a8aac5fec58f",
205+
"outputs": [],
206206
"execution_count": null
207207
},
208208
{
@@ -217,7 +217,6 @@
217217
},
218218
{
219219
"cell_type": "code",
220-
"outputs": [],
221220
"source": [
222221
"visualize_materials([interface_a, interface_b], repetitions=VISUALIZE_REPETITIONS)\n",
223222
"visualize_materials([interface_a, interface_b], repetitions=VISUALIZE_REPETITIONS, rotation=\"-90x\")"
@@ -226,6 +225,7 @@
226225
"collapsed": false
227226
},
228227
"id": "c4049a69b2dcbaa1",
228+
"outputs": [],
229229
"execution_count": null
230230
},
231231
{
@@ -240,7 +240,6 @@
240240
},
241241
{
242242
"cell_type": "code",
243-
"outputs": [],
244243
"source": [
245244
"from utils.jupyterlite import download_content_to_file, set_materials\n",
246245
"\n",
@@ -252,6 +251,7 @@
252251
"collapsed": false
253252
},
254253
"id": "a64a81bb1ab4d47d",
254+
"outputs": [],
255255
"execution_count": null
256256
}
257257
],

other/materials_designer/specific_examples/perturbation_ripple_graphene.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
" await micropip.install('mat3ra-api-examples', deps=False)\n",
5858
" from utils.jupyterlite import install_packages\n",
5959
"\n",
60-
" await install_packages(\"specific-examples\")"
60+
" await install_packages(\"specific_examples\")"
6161
],
6262
"metadata": {
6363
"collapsed": false

0 commit comments

Comments
 (0)