Skip to content

Commit

Permalink
Fix some files so it passes flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
creed130 committed Oct 23, 2024
1 parent ce01375 commit 36db1be
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
3 changes: 3 additions & 0 deletions prototype.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,19 @@
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)
dqc_dt = dose(t, X) - q_c / V_c * CL - transition
dqp1_dt = transition
return [dqc_dt, dqp1_dt]


model1_args = {
'name': 'model1',
'Q_p1': 1.0,
Expand Down
9 changes: 5 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 36db1be

Please sign in to comment.