diff --git a/other/two_dimensional_materials/layer_on_a_surface.ipynb b/other/two_dimensional_materials/layer_on_a_surface.ipynb index 59942117..0d05d495 100644 --- a/other/two_dimensional_materials/layer_on_a_surface.ipynb +++ b/other/two_dimensional_materials/layer_on_a_surface.ipynb @@ -24,24 +24,6 @@ "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, @@ -49,7 +31,7 @@ "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", @@ -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",