Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft: Add lines in model.py #8

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions pkmodel/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#

class Model:

"""A Pharmokinetic (PK) model

Parameters
Expand All @@ -19,11 +18,11 @@ class Model:
"""
def __init__(self,
name,
Q_p1 = 1,
V_c = 1,
V_p1 = 1,
CL = 1,
X = 1):
Q_p1=1,
V_c=1,
V_p1=1,
CL=1,
X=1):
self.name = name
self.Q_p1 = Q_p1
self.V_c = V_c
Expand All @@ -32,4 +31,4 @@ def __init__(self,
self.X = X

def __str__(self):
return "model named " + self.name
return "model named " + self.name
2 changes: 1 addition & 1 deletion pkmodel/tests/test_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ def test_create(self):
"""
Tests Model creation.
"""
model = pk.Model()
model=pk.Model()
self.assertEqual(model.value, 42)

Loading