Skip to content

Commit

Permalink
chore: remove temporary code
Browse files Browse the repository at this point in the history
  • Loading branch information
VsevolodX committed Sep 29, 2023
1 parent 438215e commit 4b8458f
Showing 1 changed file with 2 additions and 19 deletions.
21 changes: 2 additions & 19 deletions other/two_dimensional_materials/layer_on_a_surface.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -24,32 +24,14 @@
"print(tkinter.Tcl().eval('info patchlevel'))\n"
]
},
{
"cell_type": "code",
"execution_count": 11,
"id": "c34ddf68-341f-4f81-89de-9a314dee52c6",
"metadata": {},
"outputs": [],
"source": [
"from ase.visualize import view\n",
"import ase.build\n",
"show = False\n",
"\n",
"crystal = ase.build.bulk(\"Ni\", cubic=True)\n",
"if show : view(crystal*[4,4,1])\n",
"\n",
"graphene = ase.build.graphene()\n",
"if show : view(graphene*[2,2,1])\n"
]
},
{
"cell_type": "code",
"execution_count": 129,
"id": "fad3fa15-8b61-409e-aedc-a13f8bf83bb5",
"metadata": {},
"outputs": [],
"source": [
"# data\n",
"# data that comes from JS, here are some examples\n",
"global data\n",
"substrate_poscars = [\"\"\"Ni4\n",
"1.0\n",
Expand Down Expand Up @@ -171,6 +153,7 @@
"from ase import Atoms\n",
"from ase.build import surface\n",
"from ase.io import read, write\n",
"from ase.visualize import view\n",
"import io\n",
"from operator import itemgetter\n",
"\n",
Expand Down

0 comments on commit 4b8458f

Please sign in to comment.