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 @@ -222,7 +222,10 @@
"id": "16",
"metadata": {},
"source": [
"## 4. Write resulting material to the folder"
"## 4. Write resulting materials to the folder\n",
"\n",
"Both materials are saved to `uploads` under the names the simulation notebook loads by exact name:\n",
"`graphene 4x4` is the reference cell, `graphene 4x4 N3V pyridinic (C28N3)` is the defective one."
]
},
{
Expand All @@ -235,9 +238,10 @@
"from mat3ra.notebooks_utils.io import download_content_to_file\n",
"from mat3ra.notebooks_utils.material import set_materials\n",
"\n",
"material_with_defect.name = \"N-doped Graphene\"\n",
"set_materials(material_with_defect)\n",
"download_content_to_file(material_with_defect.to_json(), \"N-doped_Graphene.json\")"
"supercell.name = \"graphene 4x4\"\n",
"material_with_defect.name = \"graphene 4x4 N3V pyridinic (C28N3)\"\n",
"set_materials([supercell, material_with_defect])\n",
"download_content_to_file(material_with_defect.to_json(), \"graphene_4x4_N3V_pyridinic.json\")"
]
}
],
Expand Down
Loading
Loading