Skip to content
Snippets Groups Projects
Commit 02431938 authored by Hervé  MENAGER's avatar Hervé MENAGER
Browse files

rename cmax to c_max in ippidb model

cmax is a reserved iPPI-DB word


Former-commit-id: 5aeb97dd481dc50c2816216dff1b281cde676843
parent 8fcb18d0
No related branches found
No related tags found
No related merge requests found
...@@ -503,7 +503,7 @@ select distinct protein.NumUniprot, domain.PfamNumAccession , complexe.NbCopy, ...@@ -503,7 +503,7 @@ select distinct protein.NumUniprot, domain.PfamNumAccession , complexe.NbCopy,
cpr.tolerated = row[2] == 'Y' cpr.tolerated = row[2] == 'Y'
cpr.auc = row[3] cpr.auc = row[3]
cpr.clearance = row[4] cpr.clearance = row[4]
cpr.cmax = row[5] cpr.c_max = row[5]
cpr.oral_bioavailability = row[6] cpr.oral_bioavailability = row[6]
cpr.t_demi = row[7] cpr.t_demi = row[7]
cpr.t_max = row[8] cpr.t_max = row[8]
......
# -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2018-07-25 13:47
from __future__ import unicode_literals
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('ippidb', '0034_auto_20180503_2110'),
]
operations = [
migrations.RenameField(
model_name='compoundpkresult',
old_name='cmax',
new_name='c_max',
),
]
...@@ -708,7 +708,7 @@ class CompoundPKResult(models.Model): ...@@ -708,7 +708,7 @@ class CompoundPKResult(models.Model):
'Area under curve (ng.mL-1.hr)', blank=True, null=True) 'Area under curve (ng.mL-1.hr)', blank=True, null=True)
clearance = models.DecimalField( clearance = models.DecimalField(
'Clearance (mL/hr)', max_digits=7, decimal_places=3, blank=True, null=True) 'Clearance (mL/hr)', max_digits=7, decimal_places=3, blank=True, null=True)
cmax = models.DecimalField( c_max = models.DecimalField(
'Maximal concentration (ng/mL)', max_digits=7, decimal_places=3, blank=True, null=True) 'Maximal concentration (ng/mL)', max_digits=7, decimal_places=3, blank=True, null=True)
oral_bioavailability = models.IntegerField( oral_bioavailability = models.IntegerField(
'Oral Bioavailability (%F)', blank=True, null=True) 'Oral Bioavailability (%F)', blank=True, null=True)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment