From fb6af3aa1c8d76442f04a2c4c189fdc92182e4a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20W=C3=BCrger?= <44372393+koerper@users.noreply.github.com> Date: Wed, 27 Mar 2024 14:53:54 +0000 Subject: [PATCH 1/4] Clean up repository --- hello.py | 2 -- hello_test.py | 5 ----- 2 files changed, 7 deletions(-) delete mode 100644 hello.py delete mode 100644 hello_test.py diff --git a/hello.py b/hello.py deleted file mode 100644 index a025bbf..0000000 --- a/hello.py +++ /dev/null @@ -1,2 +0,0 @@ -def hello_world(): - return "Hello!" diff --git a/hello_test.py b/hello_test.py deleted file mode 100644 index 708a061..0000000 --- a/hello_test.py +++ /dev/null @@ -1,5 +0,0 @@ -import hello - - -def test_hello(): - assert hello.hello_world() == "Hello World!" From 3e0907d139fc5f92d9c4ac55cfceb81c15c0e49b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20W=C3=BCrger?= <44372393+koerper@users.noreply.github.com> Date: Wed, 27 Mar 2024 15:21:10 +0000 Subject: [PATCH 2/4] Add jupyter notebook file --- baybe-inhibitor.ipynb | 63 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 baybe-inhibitor.ipynb diff --git a/baybe-inhibitor.ipynb b/baybe-inhibitor.ipynb new file mode 100644 index 0000000..6dec21a --- /dev/null +++ b/baybe-inhibitor.ipynb @@ -0,0 +1,63 @@ +{ + "cells": [ + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "# This is a test" + ] + }, + { + "cell_type": "code", + "execution_count": 1, + "metadata": {}, + "outputs": [ + { + "name": "stderr", + "output_type": "stream", + "text": [ + "/home/vscode/.local/lib/python3.10/site-packages/baybe/telemetry.py:222: UserWarning: WARNING: BayBE Telemetry endpoint https://public.telemetry.baybe.p.uptimize.merckgroup.com:4317 cannot be reached. Disabling telemetry. The exception encountered was: ConnectionError, HTTPConnectionPool(host='verkehrsnachrichten.merck.de', port=80): Max retries exceeded with url: / (Caused by NameResolutionError(\": Failed to resolve 'verkehrsnachrichten.merck.de' ([Errno -2] Name or service not known)\"))\n", + " warnings.warn(\n", + "/home/vscode/.local/lib/python3.10/site-packages/tqdm/auto.py:21: TqdmWarning: IProgress not found. Please update jupyter and ipywidgets. See https://ipywidgets.readthedocs.io/en/stable/user_install.html\n", + " from .autonotebook import tqdm as notebook_tqdm\n" + ] + } + ], + "source": [ + "import pandas as pd\n", + "import numpy as np\n", + "from baybe import Campaign" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 3", + "language": "python", + "name": "python3" + }, + "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.10.12" + } + }, + "nbformat": 4, + "nbformat_minor": 2 +} From 5cbfc663f56c195515abe4adb0e5e912ba5f6e94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20W=C3=BCrger?= <44372393+koerper@users.noreply.github.com> Date: Wed, 27 Mar 2024 15:26:52 +0000 Subject: [PATCH 3/4] Test merging of notebooks --- baybe-inhibitor.ipynb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/baybe-inhibitor.ipynb b/baybe-inhibitor.ipynb index 6dec21a..23329e4 100644 --- a/baybe-inhibitor.ipynb +++ b/baybe-inhibitor.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "code", - "execution_count": null, + "execution_count": 2, "metadata": {}, "outputs": [], "source": [ @@ -36,7 +36,9 @@ "execution_count": null, "metadata": {}, "outputs": [], - "source": [] + "source": [ + "# This is another test" + ] } ], "metadata": { From 89a03bf603ee0c1ce0625bc0ec47be760416abed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20W=C3=BCrger?= <44372393+koerper@users.noreply.github.com> Date: Wed, 27 Mar 2024 15:34:01 +0000 Subject: [PATCH 4/4] Clean up repository --- src/mock1/__init__.py | 2 -- src/mock1/_mock1.py | 6 ------ src/mock2/__init__.py | 2 -- src/mock2/_mock2.py | 6 ------ 4 files changed, 16 deletions(-) delete mode 100644 src/mock1/__init__.py delete mode 100644 src/mock1/_mock1.py delete mode 100644 src/mock2/__init__.py delete mode 100644 src/mock2/_mock2.py diff --git a/src/mock1/__init__.py b/src/mock1/__init__.py deleted file mode 100644 index d98cc4b..0000000 --- a/src/mock1/__init__.py +++ /dev/null @@ -1,2 +0,0 @@ -"""Mock function that gets installed by requirements.txt""" -from mock1._mock1 import Mock1 diff --git a/src/mock1/_mock1.py b/src/mock1/_mock1.py deleted file mode 100644 index 43f32d9..0000000 --- a/src/mock1/_mock1.py +++ /dev/null @@ -1,6 +0,0 @@ -class Mock1: - def __init__(self): - pass - - def mock(self): - print("this is a mock function") diff --git a/src/mock2/__init__.py b/src/mock2/__init__.py deleted file mode 100644 index 9d29bf3..0000000 --- a/src/mock2/__init__.py +++ /dev/null @@ -1,2 +0,0 @@ -"""Mock function that gets installed by requirements.txt""" -from mock2._mock2 import Mock2 diff --git a/src/mock2/_mock2.py b/src/mock2/_mock2.py deleted file mode 100644 index f5b7725..0000000 --- a/src/mock2/_mock2.py +++ /dev/null @@ -1,6 +0,0 @@ -class Mock2: - def __init__(self): - pass - - def mock(self): - print("this is a mock function")