From 36db1bea62bd7ec310d11d555df927102033b3c4 Mon Sep 17 00:00:00 2001 From: Charlotte Reed Date: Wed, 23 Oct 2024 12:18:12 +0100 Subject: [PATCH] Fix some files so it passes flake8 --- prototype.py | 3 +++ setup.py | 9 +++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/prototype.py b/prototype.py index 96b0083..baca5ad 100644 --- a/prototype.py +++ b/prototype.py @@ -2,9 +2,11 @@ import numpy as np import scipy.integrate + def dose(t, X): return X + def rhs(t, y, Q_p1, V_c, V_p1, CL, X): q_c, q_p1 = y transition = Q_p1 * (q_c / V_c - q_p1 / V_p1) @@ -12,6 +14,7 @@ def rhs(t, y, Q_p1, V_c, V_p1, CL, X): dqp1_dt = transition return [dqc_dt, dqp1_dt] + model1_args = { 'name': 'model1', 'Q_p1': 1.0, diff --git a/setup.py b/setup.py index e35b8c8..52b07d7 100644 --- a/setup.py +++ b/setup.py @@ -8,10 +8,11 @@ def get_version(): """ Get version number from the pkmodel module. - The easiest way would be to just ``import pkmodel ``, but note that this may - fail if the dependencies have not been installed yet. Instead, we've put - the version number in a simple version_info module, that we'll import here - by temporarily adding the oxrse directory to the pythonpath using sys.path. + The easiest way would be to just ``import pkmodel ``, but note that this + may fail if the dependencies have not been installed yet. Instead, we've + put the version number in a simple version_info module, that we'll import + here by temporarily adding the oxrse directory to the pythonpath using + sys.path. """ import os import sys