Created
April 12, 2018 08:03
-
-
Save jbarnoud/0a0ed4c16b52511e2c99579fe6ed499c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "cells": [ | |
| { | |
| "cell_type": "code", | |
| "execution_count": 1, | |
| "metadata": { | |
| "ExecuteTime": { | |
| "end_time": "2018-04-12T08:02:06.777839Z", | |
| "start_time": "2018-04-12T08:02:06.252413Z" | |
| } | |
| }, | |
| "outputs": [ | |
| { | |
| "name": "stdout", | |
| "output_type": "stream", | |
| "text": [ | |
| "Using redistributed KDTree\n" | |
| ] | |
| } | |
| ], | |
| "source": [ | |
| "import networkx as nx\n", | |
| "import martinize2\n", | |
| "import martinize2.forcefield\n", | |
| "import collections" | |
| ] | |
| }, | |
| { | |
| "cell_type": "code", | |
| "execution_count": 2, | |
| "metadata": { | |
| "ExecuteTime": { | |
| "end_time": "2018-04-12T08:02:06.785437Z", | |
| "start_time": "2018-04-12T08:02:06.779451Z" | |
| } | |
| }, | |
| "outputs": [], | |
| "source": [ | |
| "nter = nx.Graph(name='N-ter')\n", | |
| "nter.add_nodes_from((\n", | |
| " (0, {'atomname': 'CA', 'PTM_atom': False, 'element': 'C'}),\n", | |
| " (1, {'atomname': 'N', 'PTM_atom': False, 'element': 'N'}),\n", | |
| " (2, {'atomname': 'HN', 'PTM_atom': False, 'element': 'H'}),\n", | |
| " (3, {'atomname': 'H', 'PTM_atom': True, 'element': 'H'}),\n", | |
| "))\n", | |
| "nter.add_edges_from([[0, 1], [1, 2], [1, 3]])\n", | |
| "\n", | |
| "gluh = nx.Graph(name='GLU-H')\n", | |
| "gluh.add_nodes_from((\n", | |
| " (0, {'atomname': 'CD', 'PTM_atom': False, 'element': 'C'}),\n", | |
| " (1, {'atomname': 'OE1', 'PTM_atom': False, 'element': 'O'}),\n", | |
| " (2, {'atomname': 'OE2', 'PTM_atom': False, 'element': 'O'}),\n", | |
| " (3, {'atomname': 'HE1', 'PTM_atom': True, 'element': 'H'}),\n", | |
| "))\n", | |
| "gluh.add_edges_from([[0, 1], [0, 2], [1, 3]])\n", | |
| "martinize2.forcefield.FORCE_FIELDS['universal'].modifications = [nter, gluh]\n", | |
| "#martinize2.forcefield.FORCE_FIELDS['universal'].modifications = [gluh]" | |
| ] | |
| }, | |
| { | |
| "cell_type": "code", | |
| "execution_count": 3, | |
| "metadata": { | |
| "ExecuteTime": { | |
| "end_time": "2018-04-12T08:02:06.820847Z", | |
| "start_time": "2018-04-12T08:02:06.787645Z" | |
| } | |
| }, | |
| "outputs": [], | |
| "source": [ | |
| "molecule = martinize2.molecule.Molecule()\n", | |
| "molecule.add_nodes_from((\n", | |
| " (0, {'resid': 1, 'resname': 'GLU', 'atomname': 'N', 'chain': 'A', 'element': 'N'}),\n", | |
| " (1, {'resid': 1, 'resname': 'GLU', 'atomname': 'CA', 'chain': 'A', 'element': 'C'}),\n", | |
| " (2, {'resid': 1, 'resname': 'GLU', 'atomname': 'C', 'chain': 'A', 'element': 'C'}),\n", | |
| " (3, {'resid': 1, 'resname': 'GLU', 'atomname': 'O', 'chain': 'A', 'element': 'O'}),\n", | |
| " (4, {'resid': 1, 'resname': 'GLU', 'atomname': 'CB', 'chain': 'A', 'element': 'C'}),\n", | |
| " (5, {'resid': 1, 'resname': 'GLU', 'atomname': 'HB1', 'chain': 'A', 'element': 'H'}),\n", | |
| " (6, {'resid': 1, 'resname': 'GLU', 'atomname': 'HB2', 'chain': 'A', 'element': 'H'}),\n", | |
| " (7, {'resid': 1, 'resname': 'GLU', 'atomname': 'CG', 'chain': 'A', 'element': 'C'}),\n", | |
| " (8, {'resid': 1, 'resname': 'GLU', 'atomname': 'HG1', 'chain': 'A', 'element': 'H'}),\n", | |
| " (9, {'resid': 1, 'resname': 'GLU', 'atomname': 'HG2', 'chain': 'A', 'element': 'H'}),\n", | |
| " (10, {'resid': 1, 'resname': 'GLU', 'atomname': 'CD', 'chain': 'A', 'element': 'C'}),\n", | |
| " (11, {'resid': 1, 'resname': 'GLU', 'atomname': 'OE2', 'chain': 'A', 'element': 'O'}),\n", | |
| " (12, {'resid': 1, 'resname': 'GLU', 'atomname': 'OE1', 'chain': 'A', 'element': 'O'}),\n", | |
| " (13, {'resid': 1, 'resname': 'GLU', 'atomname': 'HE1', 'chain': 'A', 'element': 'H'}),\n", | |
| " (14, {'resid': 1, 'resname': 'GLU', 'atomname': 'H', 'chain': 'A', 'element': 'H'}),\n", | |
| " (15, {'resid': 1, 'resname': 'GLU', 'atomname': 'HA', 'chain': 'A', 'element': 'H'}),\n", | |
| " (16, {'resid': 1, 'resname': 'GLU', 'atomname': 'HN', 'chain': 'A', 'element': 'H'}),\n", | |
| "))\n", | |
| "molecule.add_edges_from([\n", | |
| " [0, 1], [1, 2], [2, 3], [1, 4], [4, 5], [4, 6], [4, 7], [7, 8],\n", | |
| " [7, 9], [7, 10], [10, 11], [10, 12], [12, 13], [14, 0], [15, 1], [16, 0],\n", | |
| "])\n", | |
| "system = martinize2.System()\n", | |
| "system.molecules = [molecule]\n", | |
| "system.force_field = martinize2.forcefield.FORCE_FIELDS['universal']" | |
| ] | |
| }, | |
| { | |
| "cell_type": "code", | |
| "execution_count": 4, | |
| "metadata": { | |
| "ExecuteTime": { | |
| "end_time": "2018-04-12T08:02:06.839295Z", | |
| "start_time": "2018-04-12T08:02:06.823197Z" | |
| } | |
| }, | |
| "outputs": [], | |
| "source": [ | |
| "name_count_before = collections.Counter(\n", | |
| " node['atomname']\n", | |
| " for molecule in system.molecules\n", | |
| " for node in molecule.nodes.values()\n", | |
| ")" | |
| ] | |
| }, | |
| { | |
| "cell_type": "code", | |
| "execution_count": 5, | |
| "metadata": { | |
| "ExecuteTime": { | |
| "end_time": "2018-04-12T08:02:06.856216Z", | |
| "start_time": "2018-04-12T08:02:06.841810Z" | |
| } | |
| }, | |
| "outputs": [ | |
| { | |
| "data": { | |
| "text/plain": [ | |
| "Counter({'N': 1,\n", | |
| " 'CA': 1,\n", | |
| " 'C': 1,\n", | |
| " 'O': 1,\n", | |
| " 'CB': 1,\n", | |
| " 'HB1': 1,\n", | |
| " 'HB2': 1,\n", | |
| " 'CG': 1,\n", | |
| " 'HG1': 1,\n", | |
| " 'HG2': 1,\n", | |
| " 'CD': 1,\n", | |
| " 'OE2': 1,\n", | |
| " 'OE1': 1,\n", | |
| " 'HE1': 1,\n", | |
| " 'H': 1,\n", | |
| " 'HA': 1,\n", | |
| " 'HN': 1})" | |
| ] | |
| }, | |
| "execution_count": 5, | |
| "metadata": {}, | |
| "output_type": "execute_result" | |
| } | |
| ], | |
| "source": [ | |
| "name_count_before" | |
| ] | |
| }, | |
| { | |
| "cell_type": "code", | |
| "execution_count": 6, | |
| "metadata": { | |
| "ExecuteTime": { | |
| "end_time": "2018-04-12T08:02:06.873305Z", | |
| "start_time": "2018-04-12T08:02:06.863645Z" | |
| } | |
| }, | |
| "outputs": [ | |
| { | |
| "data": { | |
| "text/plain": [ | |
| "17" | |
| ] | |
| }, | |
| "execution_count": 6, | |
| "metadata": {}, | |
| "output_type": "execute_result" | |
| } | |
| ], | |
| "source": [ | |
| "sum(name_count_before.values())" | |
| ] | |
| }, | |
| { | |
| "cell_type": "code", | |
| "execution_count": 7, | |
| "metadata": { | |
| "ExecuteTime": { | |
| "end_time": "2018-04-12T08:02:06.896564Z", | |
| "start_time": "2018-04-12T08:02:06.876945Z" | |
| } | |
| }, | |
| "outputs": [], | |
| "source": [ | |
| "martinize2.RepairGraph().run_system(system)" | |
| ] | |
| }, | |
| { | |
| "cell_type": "code", | |
| "execution_count": 8, | |
| "metadata": { | |
| "ExecuteTime": { | |
| "end_time": "2018-04-12T08:02:06.909526Z", | |
| "start_time": "2018-04-12T08:02:06.904239Z" | |
| } | |
| }, | |
| "outputs": [], | |
| "source": [ | |
| "name_count_after = collections.Counter(\n", | |
| " node['atomname']\n", | |
| " for molecule in system.molecules\n", | |
| " for node in molecule.nodes.values()\n", | |
| ")" | |
| ] | |
| }, | |
| { | |
| "cell_type": "code", | |
| "execution_count": 9, | |
| "metadata": { | |
| "ExecuteTime": { | |
| "end_time": "2018-04-12T08:02:06.921872Z", | |
| "start_time": "2018-04-12T08:02:06.911819Z" | |
| } | |
| }, | |
| "outputs": [ | |
| { | |
| "data": { | |
| "text/plain": [ | |
| "Counter({'N': 1,\n", | |
| " 'CA': 1,\n", | |
| " 'C': 1,\n", | |
| " 'O': 1,\n", | |
| " 'CB': 1,\n", | |
| " 'HB1': 1,\n", | |
| " 'HB2': 1,\n", | |
| " 'CG': 1,\n", | |
| " 'HG1': 1,\n", | |
| " 'HG2': 1,\n", | |
| " 'CD': 1,\n", | |
| " 'OE2': 1,\n", | |
| " 'OE1': 1,\n", | |
| " 'HE1': 1,\n", | |
| " 'H': 1,\n", | |
| " 'HA': 1,\n", | |
| " 'HN': 1})" | |
| ] | |
| }, | |
| "execution_count": 9, | |
| "metadata": {}, | |
| "output_type": "execute_result" | |
| } | |
| ], | |
| "source": [ | |
| "name_count_after" | |
| ] | |
| }, | |
| { | |
| "cell_type": "code", | |
| "execution_count": 10, | |
| "metadata": { | |
| "ExecuteTime": { | |
| "end_time": "2018-04-12T08:02:06.936640Z", | |
| "start_time": "2018-04-12T08:02:06.926889Z" | |
| } | |
| }, | |
| "outputs": [ | |
| { | |
| "data": { | |
| "text/plain": [ | |
| "17" | |
| ] | |
| }, | |
| "execution_count": 10, | |
| "metadata": {}, | |
| "output_type": "execute_result" | |
| } | |
| ], | |
| "source": [ | |
| "sum(name_count_after.values())" | |
| ] | |
| }, | |
| { | |
| "cell_type": "code", | |
| "execution_count": 11, | |
| "metadata": { | |
| "ExecuteTime": { | |
| "end_time": "2018-04-12T08:02:06.947151Z", | |
| "start_time": "2018-04-12T08:02:06.939373Z" | |
| } | |
| }, | |
| "outputs": [], | |
| "source": [ | |
| "name_count_block = collections.Counter(\n", | |
| " martinize2.forcefield.FORCE_FIELDS['universal'].blocks['GLU'].nodes.keys()\n", | |
| ")" | |
| ] | |
| }, | |
| { | |
| "cell_type": "code", | |
| "execution_count": 12, | |
| "metadata": { | |
| "ExecuteTime": { | |
| "end_time": "2018-04-12T08:02:06.958335Z", | |
| "start_time": "2018-04-12T08:02:06.949340Z" | |
| } | |
| }, | |
| "outputs": [ | |
| { | |
| "data": { | |
| "text/plain": [ | |
| "Counter({'N': 1,\n", | |
| " 'HN': 1,\n", | |
| " 'CA': 1,\n", | |
| " 'HA': 1,\n", | |
| " 'CB': 1,\n", | |
| " 'HB1': 1,\n", | |
| " 'HB2': 1,\n", | |
| " 'CG': 1,\n", | |
| " 'HG1': 1,\n", | |
| " 'HG2': 1,\n", | |
| " 'CD': 1,\n", | |
| " 'OE1': 1,\n", | |
| " 'OE2': 1,\n", | |
| " 'C': 1,\n", | |
| " 'O': 1})" | |
| ] | |
| }, | |
| "execution_count": 12, | |
| "metadata": {}, | |
| "output_type": "execute_result" | |
| } | |
| ], | |
| "source": [ | |
| "name_count_block" | |
| ] | |
| }, | |
| { | |
| "cell_type": "code", | |
| "execution_count": 13, | |
| "metadata": { | |
| "ExecuteTime": { | |
| "end_time": "2018-04-12T08:02:06.968587Z", | |
| "start_time": "2018-04-12T08:02:06.960324Z" | |
| } | |
| }, | |
| "outputs": [ | |
| { | |
| "data": { | |
| "text/plain": [ | |
| "15" | |
| ] | |
| }, | |
| "execution_count": 13, | |
| "metadata": {}, | |
| "output_type": "execute_result" | |
| } | |
| ], | |
| "source": [ | |
| "sum(name_count_block.values())" | |
| ] | |
| }, | |
| { | |
| "cell_type": "code", | |
| "execution_count": 14, | |
| "metadata": { | |
| "ExecuteTime": { | |
| "end_time": "2018-04-12T08:02:06.981207Z", | |
| "start_time": "2018-04-12T08:02:06.970391Z" | |
| }, | |
| "scrolled": false | |
| }, | |
| "outputs": [ | |
| { | |
| "data": { | |
| "text/plain": [ | |
| "[{'resid': 1,\n", | |
| " 'resname': 'GLU',\n", | |
| " 'atomname': 'N',\n", | |
| " 'chain': 'A',\n", | |
| " 'element': 'N',\n", | |
| " 'graph': <martinize2.molecule.Molecule at 0x7f0a2695cb70>,\n", | |
| " 'atype': 'NH1',\n", | |
| " 'charge': -0.47,\n", | |
| " 'charge_group': 0},\n", | |
| " {'resid': 1,\n", | |
| " 'resname': 'GLU',\n", | |
| " 'atomname': 'CA',\n", | |
| " 'chain': 'A',\n", | |
| " 'element': 'C',\n", | |
| " 'graph': <martinize2.molecule.Molecule at 0x7f0a2695c978>,\n", | |
| " 'atype': 'CT1',\n", | |
| " 'charge': 0.07,\n", | |
| " 'charge_group': 2},\n", | |
| " {'resid': 1,\n", | |
| " 'resname': 'GLU',\n", | |
| " 'atomname': 'C',\n", | |
| " 'chain': 'A',\n", | |
| " 'element': 'C',\n", | |
| " 'graph': <martinize2.molecule.Molecule at 0x7f0a2695c3c8>,\n", | |
| " 'atype': 'C',\n", | |
| " 'charge': 0.51,\n", | |
| " 'charge_group': 13},\n", | |
| " {'resid': 1,\n", | |
| " 'resname': 'GLU',\n", | |
| " 'atomname': 'O',\n", | |
| " 'chain': 'A',\n", | |
| " 'element': 'O',\n", | |
| " 'graph': <martinize2.molecule.Molecule at 0x7f0a26908518>,\n", | |
| " 'atype': 'O',\n", | |
| " 'charge': -0.51,\n", | |
| " 'charge_group': 14},\n", | |
| " {'resid': 1,\n", | |
| " 'resname': 'GLU',\n", | |
| " 'atomname': 'CB',\n", | |
| " 'chain': 'A',\n", | |
| " 'element': 'C',\n", | |
| " 'graph': <martinize2.molecule.Molecule at 0x7f0a2695c588>,\n", | |
| " 'atype': 'CT2',\n", | |
| " 'charge': -0.18,\n", | |
| " 'charge_group': 4},\n", | |
| " {'resid': 1,\n", | |
| " 'resname': 'GLU',\n", | |
| " 'atomname': 'HB1',\n", | |
| " 'chain': 'A',\n", | |
| " 'element': 'H',\n", | |
| " 'graph': <martinize2.molecule.Molecule at 0x7f0a2695c5c0>,\n", | |
| " 'atype': 'HA',\n", | |
| " 'charge': 0.09,\n", | |
| " 'charge_group': 5},\n", | |
| " {'resid': 1,\n", | |
| " 'resname': 'GLU',\n", | |
| " 'atomname': 'HB2',\n", | |
| " 'chain': 'A',\n", | |
| " 'element': 'H',\n", | |
| " 'graph': <martinize2.molecule.Molecule at 0x7f0a2695c6a0>,\n", | |
| " 'atype': 'HA',\n", | |
| " 'charge': 0.09,\n", | |
| " 'charge_group': 6},\n", | |
| " {'resid': 1,\n", | |
| " 'resname': 'GLU',\n", | |
| " 'atomname': 'CG',\n", | |
| " 'chain': 'A',\n", | |
| " 'element': 'C',\n", | |
| " 'graph': <martinize2.molecule.Molecule at 0x7f0a2695c780>,\n", | |
| " 'atype': 'CT2',\n", | |
| " 'charge': -0.28,\n", | |
| " 'charge_group': 7},\n", | |
| " {'resid': 1,\n", | |
| " 'resname': 'GLU',\n", | |
| " 'atomname': 'HG1',\n", | |
| " 'chain': 'A',\n", | |
| " 'element': 'H',\n", | |
| " 'graph': <martinize2.molecule.Molecule at 0x7f0a2695cb38>,\n", | |
| " 'atype': 'HA',\n", | |
| " 'charge': 0.09,\n", | |
| " 'charge_group': 8},\n", | |
| " {'resid': 1,\n", | |
| " 'resname': 'GLU',\n", | |
| " 'atomname': 'HG2',\n", | |
| " 'chain': 'A',\n", | |
| " 'element': 'H',\n", | |
| " 'graph': <martinize2.molecule.Molecule at 0x7f0a2695ce48>,\n", | |
| " 'atype': 'HA',\n", | |
| " 'charge': 0.09,\n", | |
| " 'charge_group': 9},\n", | |
| " {'resid': 1,\n", | |
| " 'resname': 'GLU',\n", | |
| " 'atomname': 'CD',\n", | |
| " 'chain': 'A',\n", | |
| " 'element': 'C',\n", | |
| " 'graph': <martinize2.molecule.Molecule at 0x7f0a2695ce80>,\n", | |
| " 'atype': 'CC',\n", | |
| " 'charge': 0.62,\n", | |
| " 'charge_group': 10},\n", | |
| " {'resid': 1,\n", | |
| " 'resname': 'GLU',\n", | |
| " 'atomname': 'OE2',\n", | |
| " 'chain': 'A',\n", | |
| " 'element': 'O',\n", | |
| " 'graph': <martinize2.molecule.Molecule at 0x7f0a2695cf60>,\n", | |
| " 'atype': 'OC',\n", | |
| " 'charge': -0.76,\n", | |
| " 'charge_group': 12},\n", | |
| " {'resid': 1,\n", | |
| " 'resname': 'GLU',\n", | |
| " 'atomname': 'OE1',\n", | |
| " 'chain': 'A',\n", | |
| " 'element': 'O',\n", | |
| " 'graph': <martinize2.molecule.Molecule at 0x7f0a2695cf28>,\n", | |
| " 'atype': 'OC',\n", | |
| " 'charge': -0.76,\n", | |
| " 'charge_group': 11},\n", | |
| " {'resid': 1,\n", | |
| " 'resname': 'GLU',\n", | |
| " 'atomname': 'HE1',\n", | |
| " 'chain': 'A',\n", | |
| " 'element': 'H',\n", | |
| " 'PTM_atom': True},\n", | |
| " {'resid': 1,\n", | |
| " 'resname': 'GLU',\n", | |
| " 'atomname': 'H',\n", | |
| " 'chain': 'A',\n", | |
| " 'element': 'H',\n", | |
| " 'PTM_atom': True},\n", | |
| " {'resid': 1,\n", | |
| " 'resname': 'GLU',\n", | |
| " 'atomname': 'HA',\n", | |
| " 'chain': 'A',\n", | |
| " 'element': 'H',\n", | |
| " 'graph': <martinize2.molecule.Molecule at 0x7f0a2695c390>,\n", | |
| " 'atype': 'HB',\n", | |
| " 'charge': 0.09,\n", | |
| " 'charge_group': 3},\n", | |
| " {'resid': 1,\n", | |
| " 'resname': 'GLU',\n", | |
| " 'atomname': 'HN',\n", | |
| " 'chain': 'A',\n", | |
| " 'element': 'H',\n", | |
| " 'graph': <martinize2.molecule.Molecule at 0x7f0a2695c240>,\n", | |
| " 'atype': 'H',\n", | |
| " 'charge': 0.31,\n", | |
| " 'charge_group': 1}]" | |
| ] | |
| }, | |
| "execution_count": 14, | |
| "metadata": {}, | |
| "output_type": "execute_result" | |
| } | |
| ], | |
| "source": [ | |
| "list(system.molecules[0].nodes.values())" | |
| ] | |
| }, | |
| { | |
| "cell_type": "code", | |
| "execution_count": 15, | |
| "metadata": { | |
| "ExecuteTime": { | |
| "end_time": "2018-04-12T08:02:06.999545Z", | |
| "start_time": "2018-04-12T08:02:06.983345Z" | |
| } | |
| }, | |
| "outputs": [ | |
| { | |
| "name": "stdout", | |
| "output_type": "stream", | |
| "text": [ | |
| "Today your answer is: ['N-ter', 'GLU-H']!\n" | |
| ] | |
| } | |
| ], | |
| "source": [ | |
| "martinize2.CanonicalizeModifications().run_system(system)" | |
| ] | |
| }, | |
| { | |
| "cell_type": "code", | |
| "execution_count": 16, | |
| "metadata": { | |
| "ExecuteTime": { | |
| "end_time": "2018-04-12T08:02:07.006536Z", | |
| "start_time": "2018-04-12T08:02:07.002384Z" | |
| } | |
| }, | |
| "outputs": [], | |
| "source": [ | |
| "name_count_after = collections.Counter(\n", | |
| " node['atomname']\n", | |
| " for molecule in system.molecules\n", | |
| " for node in molecule.nodes.values()\n", | |
| ")" | |
| ] | |
| }, | |
| { | |
| "cell_type": "code", | |
| "execution_count": 17, | |
| "metadata": { | |
| "ExecuteTime": { | |
| "end_time": "2018-04-12T08:02:07.024738Z", | |
| "start_time": "2018-04-12T08:02:07.009593Z" | |
| } | |
| }, | |
| "outputs": [ | |
| { | |
| "data": { | |
| "text/plain": [ | |
| "Counter({'N': 1,\n", | |
| " 'CA': 1,\n", | |
| " 'C': 1,\n", | |
| " 'O': 1,\n", | |
| " 'CB': 1,\n", | |
| " 'HB1': 1,\n", | |
| " 'HB2': 1,\n", | |
| " 'CG': 1,\n", | |
| " 'HG1': 1,\n", | |
| " 'HG2': 1,\n", | |
| " 'CD': 1,\n", | |
| " 'OE2': 1,\n", | |
| " 'OE1': 1,\n", | |
| " 'HE1': 1,\n", | |
| " 'H': 1,\n", | |
| " 'HA': 1,\n", | |
| " 'HN': 1})" | |
| ] | |
| }, | |
| "execution_count": 17, | |
| "metadata": {}, | |
| "output_type": "execute_result" | |
| } | |
| ], | |
| "source": [ | |
| "name_count_after" | |
| ] | |
| }, | |
| { | |
| "cell_type": "code", | |
| "execution_count": null, | |
| "metadata": {}, | |
| "outputs": [], | |
| "source": [] | |
| } | |
| ], | |
| "metadata": { | |
| "hide_input": false, | |
| "kernelspec": { | |
| "display_name": "Python 3 (oldm2)", | |
| "language": "python", | |
| "name": "oldm2" | |
| }, | |
| "language_info": { | |
| "codemirror_mode": { | |
| "name": "ipython", | |
| "version": 3 | |
| }, | |
| "file_extension": ".py", | |
| "mimetype": "text/x-python", | |
| "name": "python", | |
| "nbconvert_exporter": "python", | |
| "pygments_lexer": "ipython3", | |
| "version": "3.6.5" | |
| }, | |
| "toc": { | |
| "nav_menu": {}, | |
| "number_sections": true, | |
| "sideBar": true, | |
| "skip_h1_title": false, | |
| "toc_cell": false, | |
| "toc_position": {}, | |
| "toc_section_display": "block", | |
| "toc_window_display": false | |
| } | |
| }, | |
| "nbformat": 4, | |
| "nbformat_minor": 2 | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment