{ "cells": [ { "cell_type": "code", "execution_count": 1, "id": "e1a8d51a", "metadata": {}, "outputs": [], "source": [ "import py3Dmol" ] }, { "cell_type": "code", "execution_count": 3, "id": "65c56235", "metadata": {}, "outputs": [], "source": [ "benz='''\n", " RDKit 3D\n", "\n", " 6 6 0 0 0 0 0 0 0 0999 V2000\n", " -0.9517 0.7811 -0.6622 C 0 0 0 0 0 0 0 0 0 0 0 0\n", " 0.2847 1.3329 -0.3121 C 0 0 0 0 0 0 0 0 0 0 0 0\n", " 1.2365 0.5518 0.3512 C 0 0 0 0 0 0 0 0 0 0 0 0\n", " 0.9517 -0.7811 0.6644 C 0 0 0 0 0 0 0 0 0 0 0 0\n", " -0.2847 -1.3329 0.3144 C 0 0 0 0 0 0 0 0 0 0 0 0\n", " -1.2365 -0.5518 -0.3489 C 0 0 0 0 0 0 0 0 0 0 0 0\n", " 1 2 2 0\n", " 2 3 1 0\n", " 3 4 2 0\n", " 4 5 1 0\n", " 5 6 2 0\n", " 6 1 1 0\n", "M END\n", "$$$$'''" ] }, { "cell_type": "code", "execution_count": null, "id": "e8c69a5b", "metadata": {}, "outputs": [], "source": [] }, { "cell_type": "code", "execution_count": 4, "id": "e0e64ef1", "metadata": {}, "outputs": [ { "data": { "application/3dmoljs_load.v0": "
You appear to be running in JupyterLab (or JavaScript failed to load for some other reason). You need to install the 3dmol extension:
\n jupyter labextension install jupyterlab_3dmol
You appear to be running in JupyterLab (or JavaScript failed to load for some other reason). You need to install the 3dmol extension:
\n",
" jupyter labextension install jupyterlab_3dmol
You appear to be running in JupyterLab (or JavaScript failed to load for some other reason). You need to install the 3dmol extension:
\n jupyter labextension install jupyterlab_3dmol
You appear to be running in JupyterLab (or JavaScript failed to load for some other reason). You need to install the 3dmol extension:
\n",
" jupyter labextension install jupyterlab_3dmol
You appear to be running in JupyterLab (or JavaScript failed to load for some other reason). You need to install the 3dmol extension:
\n jupyter labextension install jupyterlab_3dmol
You appear to be running in JupyterLab (or JavaScript failed to load for some other reason). You need to install the 3dmol extension:
\n",
" jupyter labextension install jupyterlab_3dmol