From 5ac19df046dff16bffc54b3ffb0214a16118ebd7 Mon Sep 17 00:00:00 2001 From: bwmac Date: Wed, 17 Jul 2024 11:19:31 -0600 Subject: [PATCH] clear notebook outputs --- gx_suite_definitions/network.ipynb | 937 +---------------------------- 1 file changed, 20 insertions(+), 917 deletions(-) diff --git a/gx_suite_definitions/network.ipynb b/gx_suite_definitions/network.ipynb index d2a769e6..ed04e37d 100644 --- a/gx_suite_definitions/network.ipynb +++ b/gx_suite_definitions/network.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "code", - "execution_count": 15, + "execution_count": null, "metadata": {}, "outputs": [], "source": [ @@ -32,42 +32,9 @@ }, { "cell_type": "code", - "execution_count": 16, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Welcome, Brad Macdonald!\n", - "\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "\n", - "UPGRADE AVAILABLE\n", - "\n", - "A more recent version of the Synapse Client (4.3.0) is available. Your version (4.0.0) can be upgraded by typing:\n", - " pip install --upgrade synapseclient\n", - "\n", - "Python Synapse Client version 4.3.0 release notes\n", - "\n", - "https://python-docs.synapse.org/news/\n", - "\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "INFO: 2024-07-17 10:49:02 | synapseclient_default | Welcome, Brad Macdonald!\n", - "\n" - ] - } - ], + "outputs": [], "source": [ "syn = synapseclient.Synapse()\n", "syn.login()\n" @@ -75,7 +42,7 @@ }, { "cell_type": "code", - "execution_count": 17, + "execution_count": null, "metadata": {}, "outputs": [], "source": [ @@ -91,7 +58,7 @@ }, { "cell_type": "code", - "execution_count": 18, + "execution_count": null, "metadata": {}, "outputs": [], "source": [ @@ -102,69 +69,6 @@ "validator.expectation_suite_name = \"network\"" ] }, - { - "cell_type": "code", - "execution_count": 28, - "metadata": {}, - "outputs": [], - "source": [ - "# get df rows where geneA_ensembl_gene_id is missing\n", - "df_missing = df[df['geneA_ensembl_gene_id'].isnull()]" - ] - }, - { - "cell_type": "code", - "execution_count": 29, - "metadata": {}, - "outputs": [ - { - "data": { - "text/html": [ - "
\n", - "\n", - "\n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - " \n", - "
geneA_ensembl_gene_idgeneB_ensembl_gene_idgeneA_external_gene_namegeneB_external_gene_namebrainRegion
\n", - "
" - ], - "text/plain": [ - "Empty DataFrame\n", - "Columns: [geneA_ensembl_gene_id, geneB_ensembl_gene_id, geneA_external_gene_name, geneB_external_gene_name, brainRegion]\n", - "Index: []" - ] - }, - "execution_count": 29, - "metadata": {}, - "output_type": "execute_result" - } - ], - "source": [ - "df_missing.head()" - ] - }, { "cell_type": "markdown", "metadata": {}, @@ -174,184 +78,9 @@ }, { "cell_type": "code", - "execution_count": 19, + "execution_count": null, "metadata": {}, - "outputs": [ - { - "name": "stderr", - "output_type": "stream", - "text": [ - "[WARNING] <>:4: DeprecationWarning: invalid escape sequence \\d\n", - "\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "WARNING: 2024-07-17 10:49:04 | py.warnings | <>:4: DeprecationWarning: invalid escape sequence \\d\n", - "\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "[WARNING] <>:4: DeprecationWarning: invalid escape sequence \\d\n", - "\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "WARNING: 2024-07-17 10:49:04 | py.warnings | <>:4: DeprecationWarning: invalid escape sequence \\d\n", - "\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "[WARNING] /var/folders/sr/3g4hnkfd4ld306tty7kqf1rr0000gr/T/ipykernel_84349/88841134.py:4: DeprecationWarning: invalid escape sequence \\d\n", - " validator.expect_column_values_to_match_regex(\"geneA_ensembl_gene_id\", \"^ENSG\\d{11}$\")\n", - "\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "WARNING: 2024-07-17 10:49:04 | py.warnings | /var/folders/sr/3g4hnkfd4ld306tty7kqf1rr0000gr/T/ipykernel_84349/88841134.py:4: DeprecationWarning: invalid escape sequence \\d\n", - " validator.expect_column_values_to_match_regex(\"geneA_ensembl_gene_id\", \"^ENSG\\d{11}$\")\n", - "\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "[WARNING] /Users/bmacdonald/.local/share/virtualenvs/agora-data-tools-CK0oUlHB/lib/python3.9/site-packages/great_expectations/expectations/expectation.py:1481: UserWarning: `result_format` configured at the Validator-level will not be persisted. Please add the configuration to your Checkpoint config or checkpoint_run() method instead.\n", - " warnings.warn(\n", - "\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "WARNING: 2024-07-17 10:49:04 | py.warnings | /Users/bmacdonald/.local/share/virtualenvs/agora-data-tools-CK0oUlHB/lib/python3.9/site-packages/great_expectations/expectations/expectation.py:1481: UserWarning: `result_format` configured at the Validator-level will not be persisted. Please add the configuration to your Checkpoint config or checkpoint_run() method instead.\n", - " warnings.warn(\n", - "\n" - ] - }, - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "36d18115390a470288ba47b4e713e512", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "Calculating Metrics: 0%| | 0/8 [00:00:4: DeprecationWarning: invalid escape sequence \\d\n", - "\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "WARNING: 2024-07-17 10:49:04 | py.warnings | <>:4: DeprecationWarning: invalid escape sequence \\d\n", - "\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "[WARNING] <>:4: DeprecationWarning: invalid escape sequence \\d\n", - "\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "WARNING: 2024-07-17 10:49:04 | py.warnings | <>:4: DeprecationWarning: invalid escape sequence \\d\n", - "\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "[WARNING] /var/folders/sr/3g4hnkfd4ld306tty7kqf1rr0000gr/T/ipykernel_84349/4059227102.py:4: DeprecationWarning: invalid escape sequence \\d\n", - " validator.expect_column_values_to_match_regex(\"geneB_ensembl_gene_id\", \"^ENSG\\d{11}$\")\n", - "\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "WARNING: 2024-07-17 10:49:04 | py.warnings | /var/folders/sr/3g4hnkfd4ld306tty7kqf1rr0000gr/T/ipykernel_84349/4059227102.py:4: DeprecationWarning: invalid escape sequence \\d\n", - " validator.expect_column_values_to_match_regex(\"geneB_ensembl_gene_id\", \"^ENSG\\d{11}$\")\n", - "\n" - ] - }, - { - "name": "stderr", - "output_type": "stream", - "text": [ - "[WARNING] /Users/bmacdonald/.local/share/virtualenvs/agora-data-tools-CK0oUlHB/lib/python3.9/site-packages/great_expectations/expectations/expectation.py:1481: UserWarning: `result_format` configured at the Validator-level will not be persisted. Please add the configuration to your Checkpoint config or checkpoint_run() method instead.\n", - " warnings.warn(\n", - "\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "WARNING: 2024-07-17 10:49:04 | py.warnings | /Users/bmacdonald/.local/share/virtualenvs/agora-data-tools-CK0oUlHB/lib/python3.9/site-packages/great_expectations/expectations/expectation.py:1481: UserWarning: `result_format` configured at the Validator-level will not be persisted. Please add the configuration to your Checkpoint config or checkpoint_run() method instead.\n", - " warnings.warn(\n", - "\n" - ] - }, - { - "data": { - "application/vnd.jupyter.widget-view+json": { - "model_id": "90af31de771f4ac0bb3ccf2f5dab23c0", - "version_major": 2, - "version_minor": 0 - }, - "text/plain": [ - "Calculating Metrics: 0%| | 0/8 [00:00