Skip to content

Commit dc8aacb

Browse files
authored
Merge pull request #154 from Exabyte-io/update/SOF-7478
Update/SOF-7478 update: use Standata for TiN
2 parents 942839a + 8940dd9 commit dc8aacb

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

other/materials_designer/specific_examples/defect_creation_island.ipynb

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,8 @@
9595
{
9696
"cell_type": "markdown",
9797
"source": [
98-
"### 1.3. Get input material"
98+
"### 1.3. Get input material\n",
99+
"In this notebook we will use materials from Standata."
99100
],
100101
"metadata": {
101102
"collapsed": false
@@ -106,9 +107,9 @@
106107
"cell_type": "code",
107108
"outputs": [],
108109
"source": [
109-
"from utils.jupyterlite import load_material_from_folder\n",
110-
"\n",
111-
"material = load_material_from_folder(\"uploads\", \"TiN\")"
110+
"from mat3ra.made.material import Material\n",
111+
"from mat3ra.standata.materials import Materials\n",
112+
"material = Material(Materials.get_by_name_first_match(\"TiN\"))"
112113
],
113114
"metadata": {
114115
"collapsed": false

other/materials_designer/specific_examples/uploads/TiN.json

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)